Home
last modified time | relevance | path

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

12

/external/deqp/modules/gles31/functional/
Des31fBuiltinPrecisionTests.cpp42 std::vector<glu::ShaderType> shaderTypes; in createBuiltinPrecisionTests() local
46 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); in createBuiltinPrecisionTests()
48 …ecisionTests(context.getTestContext(), context.getRenderContext(), *es3Cases, shaderTypes, *group); in createBuiltinPrecisionTests()
50 shaderTypes.clear(); in createBuiltinPrecisionTests()
51 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); in createBuiltinPrecisionTests()
52 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createBuiltinPrecisionTests()
53 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); in createBuiltinPrecisionTests()
55 …uiltinPrecisionTests(context.getTestContext(), context.getRenderContext(), *es31Cases, shaderTypes, in createBuiltinPrecisionTests()
Des31fShaderStateQueryTests.cpp495 } shaderTypes[] = { in init() local
504 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ++ndx) in init()
505 … addChild(new ShaderLogCase(m_context, shaderTypes[ndx].caseName, "", shaderTypes[ndx].caseType)); in init()
Des31fOpaqueTypeIndexingTests.cpp1311 } shaderTypes[] = {{SHADERTYPE_VERTEX, "vertex"}, in init() local
1344 … for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init()
1346 const ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init()
1348 new tcu::TestCaseGroup(m_testCtx, shaderTypes[shaderTypeNdx].name, ""); in init()
1382 … for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init()
1384 const ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init()
1385 … const string name = string(indexExprName) + "_" + shaderTypes[shaderTypeNdx].name; in init()
Des31fProgramStateQueryTests.cpp897 } shaderTypes[] = { in init() local
904 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ++ndx) in init()
905 … addChild(new ProgramLogCase(m_context, shaderTypes[ndx].caseName, "", shaderTypes[ndx].caseType)); in init()
/external/deqp/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.cpp193 std::vector<glu::ShaderType> shaderTypes; in createTestCasesForAllShaderTypes() local
197 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); in createTestCasesForAllShaderTypes()
198 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createTestCasesForAllShaderTypes()
199 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); in createTestCasesForAllShaderTypes()
200 shaderTypes.push_back(glu::SHADERTYPE_GEOMETRY); in createTestCasesForAllShaderTypes()
201 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_CONTROL); in createTestCasesForAllShaderTypes()
202 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_EVALUATION); in createTestCasesForAllShaderTypes()
207 shaderTypes.push_back(glu::SHADERTYPE_GEOMETRY); in createTestCasesForAllShaderTypes()
208 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_CONTROL); in createTestCasesForAllShaderTypes()
209 shaderTypes.push_back(glu::SHADERTYPE_TESSELLATION_EVALUATION); in createTestCasesForAllShaderTypes()
[all …]
/external/deqp/modules/gles3/functional/
Des3fBuiltinPrecisionTests.cpp42 std::vector<glu::ShaderType> shaderTypes; in createBuiltinPrecisionTests() local
45 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); in createBuiltinPrecisionTests()
46 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createBuiltinPrecisionTests()
48 …ecisionTests(context.getTestContext(), context.getRenderContext(), *es3Cases, shaderTypes, *group); in createBuiltinPrecisionTests()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrConversionTests.cpp1370 …const std::vector<glu::ShaderType> shaderTypes = {glu::SHADERTYPE_VERTEX, glu::SHADERTYPE_FRAGM… member
1426 rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1482 … rng.choose<glu::ShaderType>(shaderTypes.begin(), shaderTypes.end())); in buildTests()
1557 … rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1603 … rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1673 … rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1695 … rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1720 … rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1742 … rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
1773 … rng.choose<glu::ShaderType>(begin(shaderTypes), end(shaderTypes))); in buildTests()
[all …]
DvktYCbCrFormatTests.cpp510 const glu::ShaderType shaderTypes[] = {glu::SHADERTYPE_VERTEX, in populatePerFormatGroup() local
522 for (glu::ShaderType shaderType : shaderTypes) in populatePerFormatGroup()
/external/angle/src/libANGLE/
DProgramPipeline.cpp102 const ShaderBitSet &shaderTypes, in useProgramStages() argument
107 for (ShaderType shaderType : shaderTypes) in useProgramStages()
231 ShaderBitSet shaderTypes; in useProgramStages() local
240 shaderTypes.set(shaderType); in useProgramStages()
245 shaderTypes.set(); in useProgramStages()
247 ASSERT(shaderTypes.any()); in useProgramStages()
250 for (ShaderType shaderType : shaderTypes) in useProgramStages()
266 mState.useProgramStages(context, shaderTypes, shaderProgram, &mProgramObserverBindings, in useProgramStages()
DProgramPipeline.h55 const gl::ShaderBitSet &shaderTypes,
/external/angle/src/libANGLE/renderer/vulkan/
DShaderInterfaceVariableInfoMap.cpp211 void ShaderInterfaceVariableInfoMap::addResource(gl::ShaderBitSet shaderTypes, in addResource() argument
222 info->activeStages = shaderTypes; in addResource()
224 for (const gl::ShaderType shaderType : shaderTypes) in addResource()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderDerivativesTests.cpp3686 ShaderType shaderTypes[] = {ShaderType::COMPUTE, ShaderType::MESH, ShaderType::TASK}; in createComputeShaderDerivativesTests() local
3690 for (uint32_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ++ndx) in createComputeShaderDerivativesTests()
3692 …vePtr<tcu::TestCaseGroup> shaderGroup(new tcu::TestCaseGroup(testCtx, toString(shaderTypes[ndx]))); in createComputeShaderDerivativesTests()
3714 params.shaderType = shaderTypes[ndx]; in createComputeShaderDerivativesTests()
3726 params.shaderType = shaderTypes[ndx]; in createComputeShaderDerivativesTests()
3743 params.shaderType = shaderTypes[ndx]; in createComputeShaderDerivativesTests()
3773 params.shaderType = shaderTypes[ndx]; in createComputeShaderDerivativesTests()
3783 params.shaderType = shaderTypes[ndx]; in createComputeShaderDerivativesTests()
3798 params.shaderType = shaderTypes[ndx]; in createComputeShaderDerivativesTests()
3834 params.shaderType = shaderTypes[ndx]; in createComputeShaderDerivativesTests()
[all …]
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.hpp56 … const std::vector<glu::ShaderType> &shaderTypes, tcu::TestCaseGroup &dstGroup);
/external/angle/src/common/
Dutilities.cpp1237 ShaderType GetLastPreFragmentStage(ShaderBitSet shaderTypes) in GetLastPreFragmentStage() argument
1239 shaderTypes.reset(ShaderType::Fragment); in GetLastPreFragmentStage()
1240 shaderTypes.reset(ShaderType::Compute); in GetLastPreFragmentStage()
1241 return shaderTypes.any() ? shaderTypes.last() : ShaderType::InvalidEnum; in GetLastPreFragmentStage()
Dutilities.h291 ShaderType GetLastPreFragmentStage(ShaderBitSet shaderTypes);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp1476 } shaderTypes[] = { in addAtomicOperationTests() local
1541 … for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in addAtomicOperationTests()
1563 shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_COMPUTE && in addAtomicOperationTests()
1564 shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_TASK && in addAtomicOperationTests()
1565 shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_MESH) in addAtomicOperationTests()
1570 shaderTypes[shaderTypeNdx].type != glu::SHADERTYPE_TASK) in addAtomicOperationTests()
1575 … std::string(shaderTypes[shaderTypeNdx].name) + kMemoryTypes[memoryTypeNdx].suffix; in addAtomicOperationTests()
1579 … AtomicShaderType(shaderTypes[shaderTypeNdx].type, kMemoryTypes[memoryTypeNdx].type), in addAtomicOperationTests()
DvktOpaqueTypeIndexingTests.cpp1910 } shaderTypes[] = {{glu::SHADERTYPE_VERTEX, "vertex"}, in init() local
1955 … for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init()
1957 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init()
1959 new tcu::TestCaseGroup(m_testCtx, shaderTypes[shaderTypeNdx].name); in init()
1998 … for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderTypeNdx++) in init()
2000 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in init()
2001 …const std::string name = std::string(indexExprName) + "_" + shaderTypes[shaderTypeNdx].n… in init()
/external/deqp/framework/opengl/
DgluShaderProgram.hpp521 std::vector<ShaderType> shaderTypes; member
536 shaderTypes.push_back(shaderType_); in ShaderBinary()
542 shaderTypes.push_back(shaderType); in operator <<()
DgluShaderProgram.cpp449 DE_ASSERT(shaderBinary.shaderEntryPoints.size() == shaderBinary.shaderTypes.size()); in init()
452 … for (uint32_t shaderTypeNdx = 0; shaderTypeNdx < shaderBinary.shaderTypes.size(); ++shaderTypeNdx) in init()
454 ShaderType shaderType = shaderBinary.shaderTypes[shaderTypeNdx]; in init()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp755 glu::ShaderType shaderTypes[] = {glu::SHADERTYPE_FRAGMENT, glu::SHADERTYPE_COMPUTE}; in createRWStorageBufferTests() local
767 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createRWStorageBufferTests()
769 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createRWStorageBufferTests()
898 glu::ShaderType shaderTypes[] = {glu::SHADERTYPE_FRAGMENT, glu::SHADERTYPE_COMPUTE}; in createAtomicStorageBufferTests() local
904 for (int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderNdx) in createAtomicStorageBufferTests()
906 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createAtomicStorageBufferTests()
DvktProtectedMemShaderImageAccessTests.cpp1258 } shaderTypes[] = { in createShaderImageAccessTests() local
1314 for (int shaderTypeNdx = 0; shaderTypeNdx < DE_LENGTH_OF_ARRAY(shaderTypes); ++shaderTypeNdx) in createShaderImageAccessTests()
1316 const glu::ShaderType shaderType = shaderTypes[shaderTypeNdx].type; in createShaderImageAccessTests()
1317 …de::MovePtr<tcu::TestCaseGroup> shaderGroup(new tcu::TestCaseGroup(testCtx, shaderTypes[shaderType… in createShaderImageAccessTests()
DvktProtectedMemYCbCrConversionTests.cpp1239 … } shaderTypes[] = {{"fragment", glu::SHADERTYPE_FRAGMENT}, {"compute", glu::SHADERTYPE_COMPUTE}}; in createYCbCrConversionTests() local
1353 for (size_t shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(shaderTypes); shaderNdx++) in createYCbCrConversionTests()
1355 const char *shaderTypeName = shaderTypes[shaderNdx].name; in createYCbCrConversionTests()
1395 … const TestConfig config(shaderTypes[shaderNdx].type, format, tiling, vk::VK_FILTER_NEAREST, in createYCbCrConversionTests()
/external/deqp/external/openglcts/modules/gl/
Dgl4cGlSpirvTests.cpp60 uint8_t count = (uint8_t)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((uint8_t *)&binary.shaderTypes[i], sizeof(ShaderType)); in readSpirV()
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp427 const GLenum shaderTypes[] = {GL_VERTEX_SHADER, GL_FRAGMENT_SHADER}; in test() local
428 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(shaderTypes); ++ndx) in test()
430 const GLuint shader = glCreateShader(shaderTypes[ndx]); in test()
431 verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_TYPE, shaderTypes[ndx]); in test()

12