Home
last modified time | relevance | path

Searched refs:shaderTypes (Results 1 - 25 of 31) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles31/functional/
H A 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()
H A 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()
H A 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()
H A 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[shaderTypeNdx].name, ""); 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()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A 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 in init()
[all...]
H A 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 in createTestCasesForAllShaderTypes()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrConversionTests.cpp1367 const std::vector<glu::ShaderType> shaderTypes = member
1433 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1477 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(shaderTypes.begin(), shaderTypes.end())); in buildTests()
1541 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1575 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1629 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), en in buildTests()
[all...]
H A DvktYCbCrFormatTests.cpp578 const glu::ShaderType shaderTypes[] = in populatePerFormatGroup() local
597 for (glu::ShaderType shaderType : shaderTypes) in populatePerFormatGroup()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrConversionTests.cpp1294 const std::vector<glu::ShaderType> shaderTypes = member
1360 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1404 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(shaderTypes.begin(), shaderTypes.end())); in buildTests()
1468 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1502 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1556 const glu::ShaderType shaderType(rng.choose<glu::ShaderType>(begin(shaderTypes), en in buildTests()
[all...]
H A DvktYCbCrFormatTests.cpp578 const glu::ShaderType shaderTypes[] = in populatePerFormatGroup() local
597 for (glu::ShaderType shaderType : shaderTypes) in populatePerFormatGroup()
/third_party/skia/third_party/externals/angle2/src/common/
H A 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()
H A Dutilities.h264 ShaderType GetLastPreFragmentStage(ShaderBitSet shaderTypes);
/third_party/vk-gl-cts/modules/glshared/
H A DglsBuiltinPrecisionTests.hpp57 const std::vector<glu::ShaderType>& shaderTypes,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktAtomicOperationTests.cpp1470 } shaderTypes[] = in addAtomicOperationTests() local
1538 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in addAtomicOperationTests()
1558 && shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_COMPUTE in addAtomicOperationTests()
1559 && shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_TASK in addAtomicOperationTests()
1560 && shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_MESH) in addAtomicOperationTests()
1564 if (kMemoryTypes[memoryTypeNdx].type == AtomicMemoryType::PAYLOAD && shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_TASK) in addAtomicOperationTests()
1567 const std::string name = std::string(atomicOp[opNdx].name) + "_" + std::string(dataSign[signNdx].name) + "_" + std::string(shaderTypes[shaderTypeNdx].name) + kMemoryTypes[memoryTypeNdx].suffix; in addAtomicOperationTests()
1569 atomicOperationTestsGroup->addChild(new AtomicOperationCase(testCtx, name.c_str(), AtomicShaderType(shaderTypes[shaderTypeNdx].type, kMemoryTypes[memoryTypeNdx].type), dataSign[signNdx].dataType, atomicOp[opNdx].value)); in addAtomicOperationTests()
H A DvktOpaqueTypeIndexingTests.cpp1990 } shaderTypes[] = in init() local
2039 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init()
2041 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init()
2042 tcu::TestCaseGroup* const shaderGroup = new tcu::TestCaseGroup(m_testCtx, shaderTypes[shaderTypeNdx].name); in init()
2079 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init()
2081 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init()
2082 const std::string name = std::string(indexExprName) + "_" + shaderTypes[shaderTypeNdx].name; in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktAtomicOperationTests.cpp1472 } shaderTypes[] = in addAtomicOperationTests() local
1534 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in addAtomicOperationTests()
1554 && shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_COMPUTE in addAtomicOperationTests()
1555 && shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_TASK in addAtomicOperationTests()
1556 && shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_MESH) in addAtomicOperationTests()
1560 if (kMemoryTypes[memoryTypeNdx].type == AtomicMemoryType::PAYLOAD && shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_TASK) in addAtomicOperationTests()
1564 const std::string name = std::string(atomicOp[opNdx].name) + "_" + std::string(dataSign[signNdx].name) + "_" + std::string(shaderTypes[shaderTypeNdx].name) + kMemoryTypes[memoryTypeNdx].suffix; in addAtomicOperationTests()
1566 atomicOperationTestsGroup->addChild(new AtomicOperationCase(testCtx, name.c_str(), description.c_str(), AtomicShaderType(shaderTypes[shaderTypeNdx].type, kMemoryTypes[memoryTypeNdx].type), dataSign[signNdx].dataType, atomicOp[opNdx].value)); in addAtomicOperationTests()
H A DvktOpaqueTypeIndexingTests.cpp1995 } shaderTypes[] = in init() local
2043 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init()
2045 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init()
2046 tcu::TestCaseGroup* const shaderGroup = new tcu::TestCaseGroup(m_testCtx, shaderTypes[shaderTypeNdx].name, ""); in init()
2084 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init()
2086 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init()
2087 const std::string name = std::string(indexExprName) + "_" + shaderTypes[shaderTypeNdx].name; in init()
/third_party/vk-gl-cts/framework/opengl/
H A DgluShaderProgram.hpp383 std::vector<ShaderType> shaderTypes; member
396 shaderTypes.push_back(shaderType_); in ShaderBinary()
402 shaderTypes.push_back(shaderType); in operator <<()
H A 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/protected_memory/
H A DvktProtectedMemStorageBufferTests.cpp763 glu::ShaderType shaderTypes[] = { in createRWStorageBufferTests() local
774 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createRWStorageBufferTests()
776 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createRWStorageBufferTests()
909 glu::ShaderType shaderTypes[] = { in createAtomicStorageBufferTests() local
918 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createAtomicStorageBufferTests()
920 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createAtomicStorageBufferTests()
H A DvktProtectedMemShaderImageAccessTests.cpp1213 } shaderTypes[] = in createShaderImageAccessTests() local
1274 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderTypeNdx) in createShaderImageAccessTests()
1276 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in createShaderImageAccessTests()
1277 de::MovePtr<tcu::TestCaseGroup> shaderGroup(new tcu::TestCaseGroup(testCtx, shaderTypes[shaderTypeNdx].name)); in createShaderImageAccessTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemStorageBufferTests.cpp775 glu::ShaderType shaderTypes[] = { in createRWStorageBufferTests() local
786 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createRWStorageBufferTests()
788 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createRWStorageBufferTests()
919 glu::ShaderType shaderTypes[] = { in createAtomicStorageBufferTests() local
927 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createAtomicStorageBufferTests()
929 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createAtomicStorageBufferTests()
H A DvktProtectedMemShaderImageAccessTests.cpp1178 } shaderTypes[] = in createShaderImageAccessTests() local
1233 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderTypeNdx) in createShaderImageAccessTests()
1235 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in createShaderImageAccessTests()
1236 de::MovePtr<tcu::TestCaseGroup> shaderGroup(new tcu::TestCaseGroup(testCtx, shaderTypes[shaderTypeNdx].name, shaderTypes[shaderTypeNdx].desc)); in createShaderImageAccessTests()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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()

Completed in 50 milliseconds

12