Lines Matching defs:format

135 // format.
172 VkFormat format;
178 format = caseDef.imageFormat;
180 format = caseDef.viewFormat;
182 tcuFormat = mapVkFormat(format);
317 std::string getShaderSamplerType (const tcu::TextureFormat& format, VkImageViewType type)
321 if (tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER)
323 else if (tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER)
515 const VkFormat format,
525 format,
543 format, // VkFormat format;
615 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
621 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format;
662 colorFormat, // VkFormat format;
1613 // For verification purposes, we use the format of the upload to generate the expected image
1614 const VkFormat format = caseDef.upload == UPLOAD_CLEAR || caseDef.upload == UPLOAD_COPY ? caseDef.imageFormat : caseDef.viewFormat;
1615 const tcu::TextureFormat tcuFormat = mapVkFormat(format);
1616 const bool isIntegerFormat = isUintFormat(format) || isIntFormat(format);
1640 // Check required features on the format for the required upload/download methods
1668 // For the texture case we write the samples read to a separate output image with the same view format
1669 // so we need to check that we can also use the view format for storage
1684 TCU_THROW(NotSupportedError, "View format doesn't support upload/download method");
1691 // is not supported by the main format. With VK_KHR_maintenance2, we
1696 TCU_THROW(NotSupportedError, "Image format doesn't support upload/download method");
1699 // If no format feature flags are supported, the format itself is not supported,
1700 // and images of that format cannot be created.
1703 TCU_THROW(NotSupportedError, "Base image format is not supported");
2012 surfaceFormat.format,
2034 surfaceFormat.format, // VkFormat imageFormat;
2077 TCU_THROW(NotSupportedError, "Image format is not supported for required usage");
2084 TCU_THROW(NotSupportedError, "Image view format is not supported for required usage");
2105 if (surfaceFormats[i].format == caseDef.imageFormat)
2108 if (surfaceFormats[i].format == caseDef.viewFormat)
2109 viewFormat = &surfaceFormats[i].format;
2113 TCU_THROW(NotSupportedError, "Image format is not supported by swapchain.");
2116 TCU_THROW(NotSupportedError, "Image view format is not supported by swapchain.");
2157 // For verification purposes, we use the format of the upload to generate the expected image
2158 const VkFormat format = caseDef.upload == UPLOAD_CLEAR || caseDef.upload == UPLOAD_COPY ? caseDef.imageFormat : caseDef.viewFormat;
2159 const tcu::TextureFormat tcuFormat = mapVkFormat(format);
2160 const bool isIntegerFormat = isUintFormat(format) || isIntFormat(format);