Lines Matching refs:TextureFormat
85 std::string getShaderImageLayoutQualifier (const tcu::TextureFormat& format)
91 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break;
92 case tcu::TextureFormat::R: qualifier << "r"; break;
100 case tcu::TextureFormat::FLOAT: qualifier << "32f"; break;
101 case tcu::TextureFormat::HALF_FLOAT: qualifier << "16f"; break;
102 case tcu::TextureFormat::UNORM_INT8: qualifier << "8"; break;
103 case tcu::TextureFormat::SNORM_INT8: qualifier << "8_snorm"; break;
104 case tcu::TextureFormat::SIGNED_INT32: qualifier << "32i"; break;
105 case tcu::TextureFormat::SIGNED_INT16: qualifier << "16i"; break;
106 case tcu::TextureFormat::SIGNED_INT8: qualifier << "8i"; break;
107 case tcu::TextureFormat::UNSIGNED_INT32: qualifier << "32ui"; break;
108 case tcu::TextureFormat::UNSIGNED_INT16: qualifier << "16ui"; break;
109 case tcu::TextureFormat::UNSIGNED_INT8: qualifier << "8ui"; break;
118 std::string getShaderImageTypeDeclaration (const tcu::TextureFormat& format, glu::TextureTestUtil::TextureType imageType)
124 case tcu::TextureFormat::FLOAT:
125 case tcu::TextureFormat::HALF_FLOAT:
126 case tcu::TextureFormat::UNORM_INT8:
127 case tcu::TextureFormat::SNORM_INT8: declaration << ""; break;
129 case tcu::TextureFormat::SIGNED_INT32:
130 case tcu::TextureFormat::SIGNED_INT16:
131 case tcu::TextureFormat::SIGNED_INT8: declaration << "i"; break;
133 case tcu::TextureFormat::UNSIGNED_INT32:
134 case tcu::TextureFormat::UNSIGNED_INT16:
135 case tcu::TextureFormat::UNSIGNED_INT8: declaration << "u"; break;
211 std::string getOtherFunctionArguments (const tcu::TextureFormat& format, ImageOperation function)
220 case tcu::TextureFormat::FLOAT:
221 case tcu::TextureFormat::HALF_FLOAT:
222 case tcu::TextureFormat::UNORM_INT8:
223 case tcu::TextureFormat::SNORM_INT8:
228 case tcu::TextureFormat::SIGNED_INT32:
229 case tcu::TextureFormat::SIGNED_INT16:
230 case tcu::TextureFormat::SIGNED_INT8:
234 case tcu::TextureFormat::UNSIGNED_INT32:
235 case tcu::TextureFormat::UNSIGNED_INT16:
236 case tcu::TextureFormat::UNSIGNED_INT8:
342 std::string generateShaderSource (ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, const tcu::TextureFormat& format, glu::ShaderType shaderType)
370 void testShader (NegativeTestContext& ctx, ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, const tcu::TextureFormat& format)
395 const tcu::TextureFormat formats[] =
397 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT),
398 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT),
399 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::FLOAT),
400 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8),
401 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SNORM_INT8),
403 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32),
404 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16),
405 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8),
406 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32),
408 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32),
409 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16),
410 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT8),
411 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32)
433 const tcu::TextureFormat formats[] =
435 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT),
436 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT),
437 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::FLOAT),
438 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8),
439 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SNORM_INT8),
441 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32),
442 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16),
443 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8),
444 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32),
446 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32),
447 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16),
448 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT8),
449 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32)
471 const tcu::TextureFormat formats[] =
473 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32),
474 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16),
475 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8),
476 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32),
478 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32),
479 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16),
480 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT8),
481 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32)
518 const tcu::TextureFormat formats[] =
520 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT),
521 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT),
522 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::FLOAT),
523 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8),
524 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SNORM_INT8),
526 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32),
527 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16),
528 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8),
529 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32),
531 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32),
532 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16),
533 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT8),
534 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32)