Lines Matching refs:format

87 										  VkFormat								format,
107 format,
121 TCU_THROW(NotSupportedError, "The image format does not support sparse operations");
124 allocateAndBindSparseImage(vk, device, physicalDevice, instance, imageCreateInfo, bindSemaphore, sparseQueue, allocator, allocations, mapVkFormat(format), *destImage);
134 VkFormat format,
145 format,
156 VkFormat format,
168 return createImageView(vkd, device, 0u, image, VK_IMAGE_VIEW_TYPE_2D, format, makeComponentMappingRGBA(), range);
173 VkFormat format,
178 const VkDeviceSize pixelSize = mapVkFormat(format).getPixelSize();
214 dstFormat, // VkFormat format; || VkFormat format;
327 VkFormat format,
359 &format,
424 : format (format_)
429 VkFormat format;
479 , m_format (testConfig.format)
488 , m_renderPipeline (createRenderPipeline(context.getDeviceInterface(), context.getDevice(), *m_renderPass, testConfig.format, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height))
640 const tcu::TextureFormat format (mapVkFormat(m_format));
642 const tcu::ConstPixelBufferAccess access (format, m_width, m_height, 1, ptr);
643 tcu::TextureLevel reference (format, m_width, m_height);
644 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type));
650 const UVec4 bits(tcu::getTextureFormatBitDepth(format).cast<deUint32>());
664 const UVec4 bits(tcu::getTextureFormatBitDepth(format).cast<deUint32>());
679 const tcu::TextureFormatInfo info(tcu::getTextureFormatInfo(format));
686 if (tcu::isSRGB(format))
694 const Vec4 threshold(4.0f * 1.0f / ((UVec4(1u) << tcu::getTextureFormatMantissaBitDepth(format).cast<deUint32>()) - 1u).cast<float>());
709 if (tcu::isSRGB(format))
716 // Convert target format ulps to float ulps and allow 64ulp differences
717 const UVec4 threshold(64u * (UVec4(1u) << (UVec4(23) - tcu::getTextureFormatMantissaBitDepth(format).cast<deUint32>())));
737 const VkFormat format (testConfig.format);
738 const tcu::TextureFormat texFormat (mapVkFormat(format));
797 std::string formatToName (VkFormat format)
799 const std::string formatStr = de::toString(format);
811 if (config.format == VK_FORMAT_A8_UNORM_KHR)
824 const auto result = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, config.format, VK_IMAGE_TYPE_2D, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 0u, &formatProperties);
826 TCU_THROW(NotSupportedError, "Image format not supported");
892 const VkFormat format (formats[formatNdx]);
893 const TestConfig testConfig (format, groupParams);
894 string testName (formatToName(format));