Lines Matching refs:format
72 bool isSupportedDepthStencilFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format)
76 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps);
81 tcu::TestStatus testSupportsDepthStencilFormat (Context& context, VkFormat format)
83 DE_ASSERT(vk::isDepthStencilFormat(format));
85 if (isSupportedDepthStencilFormat(context.getInstanceInterface(), context.getPhysicalDevice(), format))
88 return tcu::TestStatus::fail("Unsupported depth/stencil attachment format");
100 const VkFormat format = formats[formatNdx];
102 DE_ASSERT(vk::isDepthStencilFormat(format));
104 if (isSupportedDepthStencilFormat(context.getInstanceInterface(), context.getPhysicalDevice(), format))
107 supportedFormatsMsg << vk::getFormatName(format);
309 throw tcu::NotSupportedError(std::string("Unsupported depth/stencil format: ") + getFormatName(m_depthFormat));
432 m_colorFormat, // VkFormat format;
460 m_depthFormat, // VkFormat format;
496 m_colorFormat, // VkFormat format;
513 m_depthFormat, // VkFormat format;
594 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
600 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
1138 TCU_FAIL("unrecognized format type class");
1156 std::string getFormatCaseName (const VkFormat format)
1158 const std::string fullName = getFormatName(format);
1293 // Tests for format features
1325 // Tests for format and compare operators
1328 de::MovePtr<tcu::TestCaseGroup> formatTests (new tcu::TestCaseGroup(testCtx, "format"));
1342 (std::string("Uses format ") + getFormatName(depthFormats[formatNdx]) + ((useSeparateDepthStencilLayouts) ? " with separate depth/stencil layouts" : "")).c_str()));
1470 for (const auto& format : depthFormats)
1473 std::string testName = getFormatCaseName(format) + "_" + de::toLower(std::string(getCompareOpName(compareOp)).substr(14)) + viewportCase.suffix;
1476 depthClipControlTests->addChild(new DepthTest(testCtx, testName, pipelineConstructionType, format, ops,