Home
last modified time | relevance | path

Searched refs:shaderTypes (Results 1 – 24 of 24) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fBuiltinPrecisionTests.cpp43 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()
Des31fShaderStateQueryTests.cpp475 } 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()
Des31fOpaqueTypeIndexingTests.cpp1277 } 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()
Des31fProgramStateQueryTests.cpp864 } 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()
Des31fNegativeShaderApiTests.cpp2288 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/
DglcShaderMacroTests.cpp116 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 …]
DglcShaderConstExprTests.cpp191 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/
Des3fBuiltinPrecisionTests.cpp43 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()
Des3fShaderStateQueryTests.cpp671 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/
DvktYCbCrConversionTests.cpp1287 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 …]
DvktYCbCrFormatTests.cpp578 const glu::ShaderType shaderTypes[] = in populatePerFormatGroup() local
597 for (glu::ShaderType shaderType : shaderTypes) in populatePerFormatGroup()
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.hpp57 const std::vector<glu::ShaderType>& shaderTypes,
DglsBuiltinPrecisionTests.cpp5502 , 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/
Dutilities.cpp1208 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()
Dutilities.h264 ShaderType GetLastPreFragmentStage(ShaderBitSet shaderTypes);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp710 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()
DvktProtectedMemShaderImageAccessTests.cpp1156 } 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()
DvktProtectedMemYCbCrConversionTests.cpp1302 } 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/
DgluShaderProgram.hpp383 std::vector<ShaderType> shaderTypes; member
396 shaderTypes.push_back(shaderType_); in ShaderBinary()
402 shaderTypes.push_back(shaderType); in operator <<()
DgluShaderProgram.cpp463 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/
DvktAtomicOperationTests.cpp1463 } 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()
DvktOpaqueTypeIndexingTests.cpp1994 } 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/
Dgl4cGlSpirvTests.cpp60 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/
Des2fShaderStateQueryTests.cpp503 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()