Lines Matching refs:format
85 std::string getShaderImageLayoutQualifier (const tcu::TextureFormat& format)
89 switch (format.order)
98 switch (format.type)
118 std::string getShaderImageTypeDeclaration (const tcu::TextureFormat& format, glu::TextureTestUtil::TextureType imageType)
122 switch (format.type)
211 std::string getOtherFunctionArguments (const tcu::TextureFormat& format, ImageOperation function)
218 switch(format.type)
342 std::string generateShaderSource (ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, const tcu::TextureFormat& format, glu::ShaderType shaderType)
360 params["LAYOUT_FORMAT"] = getShaderImageLayoutQualifier(format);
362 params["IMAGE_TYPE"] = getShaderImageTypeDeclaration(format, imageType);
365 params["FUNCTION_ARGUMENTS"] = getOtherFunctionArguments(format, function);
370 void testShader (NegativeTestContext& ctx, ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, const tcu::TextureFormat& format)
373 ctx.beginSection(getFunctionName(function) + " " + getMemoryQualifier(memory) + " " + getShaderImageLayoutQualifier(format));
379 std::string shaderSource(generateShaderSource(function, memory, imageType, format, s_shaders[ndx]));