/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fBuiltinPrecisionTests.cpp | 43 std::vector<glu::ShaderType> shaderTypes; in createBuiltinPrecisionTests() local 47 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); in createBuiltinPrecisionTests() 52 shaderTypes, in createBuiltinPrecisionTests() 55 shaderTypes.clear(); in createBuiltinPrecisionTests() 56 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); in createBuiltinPrecisionTests() 57 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createBuiltinPrecisionTests() 58 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); in createBuiltinPrecisionTests() 63 shaderTypes, in createBuiltinPrecisionTests()
|
D | es31fShaderStateQueryTests.cpp | 475 } shaderTypes[] = in init() local 485 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ++ndx) in init() 486 addChild(new ShaderLogCase(m_context, shaderTypes[ndx].caseName, "", shaderTypes[ndx].caseType)); in init()
|
D | es31fOpaqueTypeIndexingTests.cpp | 1277 } shaderTypes[] = in init() local 1326 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init() 1328 const ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init() 1329 …tcu::TestCaseGroup* const shaderGroup = new tcu::TestCaseGroup(m_testCtx, shaderTypes[shaderTypeN… in init() 1359 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init() 1361 const ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init() 1362 const string name = string(indexExprName) + "_" + shaderTypes[shaderTypeNdx].name; in init()
|
D | es31fProgramStateQueryTests.cpp | 864 } shaderTypes[] = in init() local 872 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ++ndx) in init() 873 … addChild(new ProgramLogCase(m_context, shaderTypes[ndx].caseName, "", shaderTypes[ndx].caseType)); in init()
|
D | es31fNegativeShaderApiTests.cpp | 2288 const GLenum shaderTypes[] = { in link_compute_shader() local 2297 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ndx++) in link_compute_shader() 2302 GLuint otherShader = ctx.glCreateShader(shaderTypes[ndx]); in link_compute_shader() 2303 const char* otherShaderSource = (shaderTypes[ndx] != GL_GEOMETRY_SHADER) ? in link_compute_shader()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderMacroTests.cpp | 116 std::vector<glu::ShaderType> shaderTypes; in init() local 117 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); in init() 118 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in init() 123 shaderTypes.push_back(glu::SHADERTYPE_GEOMETRY); in init() 124 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_CONTROL); in init() 125 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_EVALUATION); in init() 130 shaderTypes.push_back(glu::SHADERTYPE_GEOMETRY); in init() 131 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_CONTROL); in init() 132 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_EVALUATION); in init() 135 for (std::size_t typeIndex = 0; typeIndex < shaderTypes.size(); ++typeIndex) in init() [all …]
|
D | glcShaderConstExprTests.cpp | 191 std::vector<glu::ShaderType> shaderTypes; in createTestCasesForAllShaderTypes() local 195 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); in createTestCasesForAllShaderTypes() 196 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createTestCasesForAllShaderTypes() 197 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); in createTestCasesForAllShaderTypes() 198 shaderTypes.push_back(glu::SHADERTYPE_GEOMETRY); in createTestCasesForAllShaderTypes() 199 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_CONTROL); in createTestCasesForAllShaderTypes() 200 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_EVALUATION); in createTestCasesForAllShaderTypes() 205 shaderTypes.push_back(glu::SHADERTYPE_GEOMETRY); in createTestCasesForAllShaderTypes() 206 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_CONTROL); in createTestCasesForAllShaderTypes() 207 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_EVALUATION); in createTestCasesForAllShaderTypes() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fBuiltinPrecisionTests.cpp | 43 std::vector<glu::ShaderType> shaderTypes; in createBuiltinPrecisionTests() local 46 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); in createBuiltinPrecisionTests() 47 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createBuiltinPrecisionTests() 52 shaderTypes, in createBuiltinPrecisionTests()
|
D | es3fShaderStateQueryTests.cpp | 671 const GLenum shaderTypes[] = {GL_VERTEX_SHADER, GL_FRAGMENT_SHADER}; in test() local 672 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ++ndx) in test() 674 const GLuint shader = glCreateShader(shaderTypes[ndx]); in test() 675 verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_TYPE, shaderTypes[ndx]); in test()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrConversionTests.cpp | 1287 const std::vector<glu::ShaderType> shaderTypes = member 1353 …st glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests() 1397 …nst glu::ShaderType shaderType(rng.choose<glu::ShaderType>(shaderTypes.begin(), shaderTypes.end()… in buildTests() 1461 …st glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests() 1495 …nst glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests() 1549 …st glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests() 1559 …st glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests() 1571 …st glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests() 1581 …st glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests() 1600 …st glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests() [all …]
|
D | vktYCbCrFormatTests.cpp | 578 const glu::ShaderType shaderTypes[] = in populatePerFormatGroup() local 597 for (glu::ShaderType shaderType : shaderTypes) in populatePerFormatGroup()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsBuiltinPrecisionTests.hpp | 57 const std::vector<glu::ShaderType>& shaderTypes,
|
D | glsBuiltinPrecisionTests.cpp | 5502 , shaderTypes (shaderTypes_) in PrecisionTestContext() 5513 vector<ShaderType> shaderTypes; member 5532 for (size_t shaderNdx = 0; shaderNdx < ctx.shaderTypes.size(); ++shaderNdx) in createFuncGroup() 5534 const ShaderType shaderType = ctx.shaderTypes[shaderNdx]; in createFuncGroup() 5550 const vector<ShaderType>& shaderTypes, in addBuiltinPrecisionTests() argument 5566 shaderTypes, numRandoms); in addBuiltinPrecisionTests()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | utilities.cpp | 1208 ShaderType GetLastPreFragmentStage(ShaderBitSet shaderTypes) in GetLastPreFragmentStage() argument 1210 shaderTypes.reset(ShaderType::Fragment); in GetLastPreFragmentStage() 1211 shaderTypes.reset(ShaderType::Compute); in GetLastPreFragmentStage() 1212 return shaderTypes.any() ? shaderTypes.last() : ShaderType::InvalidEnum; in GetLastPreFragmentStage()
|
D | utilities.h | 264 ShaderType GetLastPreFragmentStage(ShaderBitSet shaderTypes);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemStorageBufferTests.cpp | 710 glu::ShaderType shaderTypes[] = { in createRWStorageBufferTests() local 715 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createRWStorageBufferTests() 717 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createRWStorageBufferTests() 844 glu::ShaderType shaderTypes[] = { in createAtomicStorageBufferTests() local 852 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createAtomicStorageBufferTests() 854 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createAtomicStorageBufferTests()
|
D | vktProtectedMemShaderImageAccessTests.cpp | 1156 } shaderTypes[] = in createShaderImageAccessTests() local 1187 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderTypeNdx) in createShaderImageAccessTests() 1189 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in createShaderImageAccessTests() 1190 …Group> shaderGroup (new tcu::TestCaseGroup(testCtx, shaderTypes[shaderTypeNdx].name, shaderTypes… in createShaderImageAccessTests()
|
D | vktProtectedMemYCbCrConversionTests.cpp | 1302 } shaderTypes[] = in createYCbCrConversionTests() local 1438 for (size_t shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderNdx++) in createYCbCrConversionTests() 1440 const char* shaderTypeName = shaderTypes[shaderNdx].name; in createYCbCrConversionTests() 1477 const TestConfig config (shaderTypes[shaderNdx].type, in createYCbCrConversionTests()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluShaderProgram.hpp | 383 std::vector<ShaderType> shaderTypes; member 396 shaderTypes.push_back(shaderType_); in ShaderBinary() 402 shaderTypes.push_back(shaderType); in operator <<()
|
D | gluShaderProgram.cpp | 463 DE_ASSERT(shaderBinary.shaderEntryPoints.size() == shaderBinary.shaderTypes.size()); in init() 466 … for (deUint32 shaderTypeNdx = 0; shaderTypeNdx < shaderBinary.shaderTypes.size(); ++shaderTypeNdx) in init() 468 ShaderType shaderType = shaderBinary.shaderTypes[shaderTypeNdx]; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktAtomicOperationTests.cpp | 1463 } shaderTypes[] = in addAtomicOperationTests() local 1520 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in addAtomicOperationTests() 1537 …if (kMemoryTypes[memoryTypeNdx].type == AtomicMemoryType::SHARED && shaderTypes[shaderTypeNdx].typ… in addAtomicOperationTests() 1541 ….name) + "_" + std::string(dataSign[signNdx].name) + "_" + std::string(shaderTypes[shaderTypeNdx].… in addAtomicOperationTests() 1543 …ationCase(testCtx, name.c_str(), description.c_str(), AtomicShaderType(shaderTypes[shaderTypeNdx].… in addAtomicOperationTests()
|
D | vktOpaqueTypeIndexingTests.cpp | 1994 } shaderTypes[] = in init() local 2042 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init() 2044 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init() 2045 …tcu::TestCaseGroup* const shaderGroup = new tcu::TestCaseGroup(m_testCtx, shaderTypes[shaderTypeN… in init() 2083 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init() 2085 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init() 2086 const std::string name = std::string(indexExprName) + "_" + shaderTypes[shaderTypeNdx].name; in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cGlSpirvTests.cpp | 60 deUint8 count = (deUint8)binary.shaderTypes.size(); in writeSpirV() 62 for (int i = 0; i < (signed)binary.shaderTypes.size(); ++i) in writeSpirV() 64 fwrite((void*)&binary.shaderTypes[i], 1, sizeof(ShaderType), file); in writeSpirV() 88 binary.shaderTypes.resize(count); in readSpirV() 90 for (int i = 0; i < (signed)binary.shaderTypes.size(); ++i) in readSpirV() 92 resource->read((deUint8*)&binary.shaderTypes[i], sizeof(ShaderType)); in readSpirV()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 503 const GLenum shaderTypes[] = {GL_VERTEX_SHADER, GL_FRAGMENT_SHADER}; in test() local 504 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ++ndx) in test() 506 const GLuint shader = glCreateShader(shaderTypes[ndx]); in test() 507 verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_TYPE, shaderTypes[ndx]); in test()
|