Lines Matching refs:format
76 static std::string getGlslSamplerType (const tcu::TextureFormat& format,
186 const tcu::TextureFormat format = (isCompressedFormat(m_imageFormat)) ? tcu::getUncompressedFormat(mapVkCompressedFormat(m_imageFormat))
233 << "layout(set = 0, binding = 0) uniform highp " << getGlslSamplerType(format, m_imageViewType) << " texSampler;\n"
257 std::string ImageViewTest::getGlslSamplerType (const tcu::TextureFormat& format, VkImageViewType type)
261 if (tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER)
263 else if (tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER)
355 static std::string getFormatCaseName (const VkFormat format)
357 const std::string fullName = getFormatName(format);
861 de::MovePtr<tcu::TestCaseGroup> formatTests (new tcu::TestCaseGroup(testCtx, "format"));
865 const VkFormat format = formats[formatNdx];
867 if (isCompressedFormat(format))
875 getFormatCaseName(format).c_str(),
876 (std::string("Samples a texture of format ") + getFormatName(format)).c_str()));
878 de::MovePtr<tcu::TestCaseGroup> subresourceRangeTests = createSubresourceRangeTests(testCtx, pipelineConstructionType, viewType, format);
879 de::MovePtr<tcu::TestCaseGroup> componentSwizzleTests = createComponentSwizzleTests(testCtx, pipelineConstructionType, viewType, format);