Lines Matching refs:format

70 bool isSupportedBlendFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format)
74 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps);
445 throw tcu::NotSupportedError(std::string("Unsupported color blending format: ") + getFormatName(m_colorFormat));
559 throw tcu::NotSupportedError(std::string("Unsupported color blending format: ") + getFormatName(m_colorFormat));
630 m_colorFormat, // VkFormat format;
660 m_colorFormat, // VkFormat format;
722 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
728 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
883 float getNormChannelThreshold (const tcu::TextureFormat& format, int numBits)
885 switch (tcu::getTextureChannelClass(format.type))
897 tcu::Vec4 getFormatThreshold (const tcu::TextureFormat& format)
904 switch (format.type)
907 threshold = Vec4(getNormChannelThreshold(format, 4), getNormChannelThreshold(format, 4), 1.0f, 1.0f);
911 threshold = Vec4(getNormChannelThreshold(format, 5), getNormChannelThreshold(format, 6), getNormChannelThreshold(format, 5), 1.0f);
915 threshold = Vec4(getNormChannelThreshold(format, 5), getNormChannelThreshold(format, 5), getNormChannelThreshold(format, 5), 1.0f);
919 threshold = Vec4(getNormChannelThreshold(format, 4));
923 threshold = Vec4(getNormChannelThreshold(format, 5), getNormChannelThreshold(format, 5), getNormChannelThreshold(format, 5), 0.1f);
927 threshold = Vec4(getNormChannelThreshold(format, 10));
932 threshold = Vec4(getNormChannelThreshold(format, 10), getNormChannelThreshold(format, 10), getNormChannelThreshold(format, 10), 0.34f);
937 threshold = Vec4(getNormChannelThreshold(format, 8));
942 threshold = Vec4(getNormChannelThreshold(format, 16));
947 threshold = Vec4(getNormChannelThreshold(format, 32));
967 threshold = Vec4(0.1f, getNormChannelThreshold(format, 5), getNormChannelThreshold(format, 5), getNormChannelThreshold(format, 5));
974 // Return value matching the channel order specified by the format
975 if (format.order == tcu::TextureFormat::BGR || format.order == tcu::TextureFormat::BGRA)
1031 DE_FATAL("Unknown texture format");
1073 DE_FATAL("Unknown texture format");
1084 const tcu::TextureFormat tcuDepthFormat = tcu::TextureFormat(); // Undefined depth/stencil format
1157 // Convert to target format
1162 "Image comparison, 8 bit intermediate format",
1171 // Convert to target format
1176 "Image comparison, 64 bit intermediate format",
1224 m_colorFormat, // VkFormat format;
1254 m_colorFormat, // VkFormat format;
1316 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
1322 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
1328 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
1491 const tcu::TextureFormat tcuDepthFormat = tcu::TextureFormat(); // Undefined depth/stencil format
1610 // Convert to target format
1615 "Image comparison, 8 bit intermediate format",
1624 // Convert to target format
1629 "Image comparison, 64 bit intermediate format",
1733 throw tcu::NotSupportedError(std::string("Unsupported color blending format: ") + getFormatName(m_params.colorFormat));
1760 m_params.colorFormat, // VkFormat format;
1783 m_params.colorFormat, // VkFormat format;
1845 vk::VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
1851 vk::VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
2067 std::string getFormatCaseName (VkFormat format)
2069 const std::string fullName = getFormatName(format);
2129 de::MovePtr<tcu::TestCaseGroup> formatTests (new tcu::TestCaseGroup(testCtx, "format", "Uses different blend formats"));
2132 de::MovePtr<tcu::TestCaseGroup> dualSourceFormatTests (new tcu::TestCaseGroup(testCtx, "format", "Uses different blend formats"));
2140 const VkFormat format = blendFormats[formatNdx];
2145 getFormatCaseName(format).c_str(),
2146 (std::string("Uses format ") + getFormatName(format)).c_str()));
2169 format,
2179 getFormatCaseName(format).c_str(),
2180 (std::string("Uses format ") + getFormatName(format)).c_str()));
2213 format,
2234 const auto& format = clampFormats[formatIdx];
2238 testParams.colorFormat = format;
2240 if (isUnormFormat(format))
2265 clampTests->addChild(new ClampTest(testCtx, getFormatCaseName(format), testParams));