/external/deqp/modules/gles2/functional/ |
D | es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) in getSimpleShaderSource() 176 virtual std::string next (const glu::ShaderType shaderType) = 0; 177 virtual bool finished (const glu::ShaderType shaderType) const = 0; 186 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; } in finished() 188 std::string next (const glu::ShaderType shaderType); 194 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) in next() 217 bool hasShader (const glu::ShaderType shaderType); 219 void setSource (const glu::ShaderType shaderType); 221 glu::Shader& createShader (const glu::ShaderType shaderType); 222 void deleteShader (const glu::ShaderType shaderType); [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinition.hpp | 66 glu::ShaderType getType (void) const { return m_shaderType; } in getType() 74 Shader (glu::ShaderType type, glu::GLSLVersion version); 80 const glu::ShaderType m_shaderType; 93 Shader* addShader (glu::ShaderType type, glu::GLSLVersion version); 99 glu::ShaderType getFirstStage (void) const; 100 glu::ShaderType getLastStage (void) const; 101 bool hasStage (glu::ShaderType stage) const;
|
D | es31fShaderUniformIntegerFunctionTests.cpp | 45 …xt, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType); 60 glu::ShaderType m_shaderType; 66 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType); 68 …ext, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType) in UniformIntegerFunctionCase() 159 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() 174 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType) in getCaseName() 191 …FindMSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shader… in FindMSBEdgeCase() 218 …FindLSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shader… in FindLSBEdgeCase() 243 …group->addChild(new TestClass(parent->getContext(), input, glu::Precision(prec), glu::ShaderType(s… in addFunctionCases()
|
D | es31fLayoutBindingTests.cpp | 71 enum ShaderType enum 88 std::string generateVertexShader (ShaderType shaderType, const std::string& shaderUniformDeclaratio… in generateVertexShader() 130 std::string generateFragmentShader (ShaderType shaderType, const std::string& shaderUniformDeclarat… in generateFragmentShader() 188 std::string generateTessControlShader (ShaderType shaderType, const std::string& shaderUniformDecla… in generateTessControlShader() 232 std::string generateTessEvaluationShader (ShaderType shaderType, const std::string& shaderUniformDe… in generateTessEvaluationShader() 309 ShaderType shaderType, 331 const ShaderType m_shaderType; 356 ShaderType shaderType, in LayoutBindingRenderCase() 684 ShaderType shaderType, 704 const ShaderType m_shaderType; [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount() 137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dat… in generateRandomInputData() 165 …ionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 179 glu::ShaderType m_shaderType; 189 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in IntegerFunctionCase() 335 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() 350 …tIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() 358 …UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType… in UaddCarryCase() 454 …se (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UsubBorrowCase() 548 …se (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UmulExtendedCase() [all …]
|
D | es31fProgramInterfaceDefinition.cpp | 45 static const glu::ShaderType s_shaderStageOrder[] = 90 static int getShaderStageIndex (glu::ShaderType stage) in getShaderStageIndex() 92 …const glu::ShaderType* const it = std::find(DE_ARRAY_BEGIN(s_shaderStageOrder), DE_ARRAY_END(s_sha… in getShaderStageIndex() 105 Shader::Shader (glu::ShaderType type, glu::GLSLVersion version) in Shader() 455 Shader* Program::addShader (glu::ShaderType type, glu::GLSLVersion version) in addShader() 485 glu::ShaderType Program::getFirstStage (void) const in getFirstStage() 503 glu::ShaderType Program::getLastStage (void) const in getLastStage() 521 bool Program::hasStage (glu::ShaderType stage) const in hasStage()
|
/external/deqp/framework/opengl/ |
D | gluShaderProgram.hpp | 51 ShaderType type; //!< Shader type. 87 Shader (const glw::Functions& gl, ShaderType shaderType); 88 Shader (const RenderContext& renderCtx, ShaderType shaderType); 99 glu::ShaderType getType (void) const { return getInfo().type; } in getType() 201 …bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].emp… in hasShader() 202 …Shader* getShader (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders… in getShader() 203 …int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderTy… in getNumShaders() 204 …const ShaderInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return… in getShaderInfo() 220 deUint32 getGLShaderType (ShaderType shaderType); 221 deUint32 getGLShaderTypeBit (ShaderType shaderType); [all …]
|
D | gluShaderProgram.cpp | 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) in Shader() 50 Shader::Shader (const glw::Functions& gl, ShaderType shaderType) in Shader() 407 m_shaders[shaderType].push_back(new Shader(gl, ShaderType(shaderType))); in init() 468 ShaderType shaderType = shaderBinary.shaderTypes[shaderTypeNdx]; in init() 470 Shader* shader = new Shader(gl, ShaderType(shaderType)); in init() 537 deUint32 getGLShaderType (ShaderType shaderType) in getGLShaderType() 553 deUint32 getGLShaderTypeBit (ShaderType shaderType) in getGLShaderTypeBit() 569 qpShaderType getLogShaderType (ShaderType shaderType) in getLogShaderType() 663 …for (int shaderNdx = 0; shaderNdx < shaderProgram.getNumShaders((ShaderType)shaderType); shaderNdx… in operator <<() 664 shaderPtrs.push_back(&shaderProgram.getShaderInfo((ShaderType)shaderType, shaderNdx)); in operator <<() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType shaderType) in getSimpleShaderSource() 221 virtual std::string next (const glu::ShaderType shaderType) = 0; 222 virtual bool finished (const glu::ShaderType shaderType) const = 0; 231 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; } in finished() 233 std::string next (const glu::ShaderType shaderType); 239 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) in next() 270 bool hasShader (const glu::ShaderType shaderType); 272 void setSource (const glu::ShaderType shaderType); 274 glu::Shader& createShader (const glu::ShaderType shaderType); 275 void deleteShader (const glu::ShaderType shaderType); [all …]
|
D | es3fShaderCommonFunctionTests.cpp | 167 …ionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 181 glu::ShaderType m_shaderType; 191 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase() 403 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() 414 …etCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() 422 …AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shade… in AbsCase() 504 …SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in SignCase() 610 …RoundEvenCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType… in RoundEvenCase() 721 …ModfCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in ModfCase() 787 …IsnanCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType sha… in IsnanCase() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessBufferAccessTests.cpp | 48 enum ShaderType enum 80 ShaderType shaderType, 86 static void genBufferShaderAccess (ShaderType shaderType, 100 ShaderType shaderType, 105 const ShaderType m_shaderType; 116 ShaderType shaderType, 140 ShaderType shaderType, 160 ShaderType shaderType, 182 const ShaderType m_shaderType; 226 ShaderType shaderType, [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderMacroTests.cpp | 39 …ExecutorTestCase(deqp::Context& context, const char* name, glu::ShaderType shaderType, const Shade… 45 glu::ShaderType m_shaderType; 50 ExecutorTestCase::ExecutorTestCase(deqp::Context& context, const char* name, glu::ShaderType shader… in ExecutorTestCase() 116 std::vector<glu::ShaderType> shaderTypes; in init() 146 glu::ShaderType shaderType = shaderTypes[typeIndex]; in init()
|
D | glcShaderIndexingTests.cpp | 1107 static const ShaderType s_shaderTypes[] = { SHADERTYPE_VERTEX, SHADERTYPE_FRAGMENT }; in init() 1151 ShaderType shaderType = s_shaderTypes[shaderTypeNdx]; in init() 1152 const char* shaderTypeName = getShaderTypeName((ShaderType)shaderType); in init() 1156 bool isVertexCase = ((ShaderType)shaderType == SHADERTYPE_VERTEX); in init() 1184 ShaderType shaderType = s_shaderTypes[shaderTypeNdx]; in init() 1185 const char* shaderTypeName = getShaderTypeName((ShaderType)shaderType); in init() 1190 bool isVertexCase = ((ShaderType)shaderType == SHADERTYPE_VERTEX); in init() 1222 ShaderType shaderType = s_shaderTypes[shaderTypeNdx]; in init() 1223 const char* shaderTypeName = getShaderTypeName((ShaderType)shaderType); in init() 1228 bool isVertexCase = ((ShaderType)shaderType == SHADERTYPE_VERTEX); in init() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount() 139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dat… in generateRandomInputData() 209 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() 224 …tIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() 305 …), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx))); in addFunctionCases() 319 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 333 const glu::ShaderType m_shaderType; 340 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in IntegerFunctionCase() 356 …IntegerFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec… in IntegerFunctionTestInstance() 371 const glu::ShaderType m_shaderType; [all …]
|
D | vktShaderCommonFunctionTests.cpp | 354 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() 369 …etCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() 434 …), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx))); in addFunctionCases() 446 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 459 const glu::ShaderType m_shaderType; 464 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase() 480 …CommonFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, … in CommonFunctionTestInstance() 495 const glu::ShaderType m_shaderType; 578 …AbsCaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValu… in AbsCaseInstance() 657 …TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in AbsCase() [all …]
|
D | vktShaderPackingFunctionTests.cpp | 80 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() 102 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 111 const glu::ShaderType m_shaderType; 119 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in ShaderPackingFunctionCase() 134 …ShaderPackingFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec&… in ShaderPackingFunctionTestInstance() 146 const glu::ShaderType m_shaderType; 157 …PackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, g… in PackSnorm2x16CaseInstance() 257 PackSnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case() 279 …UnpackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec,… in UnpackSnorm2x16CaseInstance() 362 UnpackSnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType) in UnpackSnorm2x16Case() [all …]
|
D | vktOpaqueTypeIndexingTests.cpp | 178 const glu::ShaderType shaderType, 189 const glu::ShaderType m_shaderType; 197 const glu::ShaderType shaderType, in OpaqueTypeIndexingCase() 214 const glu::ShaderType shaderType, 227 const glu::ShaderType m_shaderType; 234 const glu::ShaderType shaderType, in OpaqueTypeIndexingTestInstance() 614 const glu::ShaderType shaderType, 630 const glu::ShaderType shaderType, in SamplerIndexingCaseInstance() 990 const glu::ShaderType shaderType, 1012 const glu::ShaderType shaderType, in SamplerIndexingCase() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrConversionTests.cpp | 136 TestConfig (glu::ShaderType shaderType_, in TestConfig() 175 glu::ShaderType shaderType; 439 glu::ShaderType shaderType, in evalShader() 1146 const glu::ShaderType shaderTypes[] = in initTests() 1196 …const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_… in initTests() 1235 …const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_A… in initTests() 1291 …const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_A… in initTests() 1320 …const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_AR… in initTests() 1365 …const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_A… in initTests() 1375 …const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_A… in initTests() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderBallotTests.cpp | 40 ShaderBallotBaseTestCase::ShaderPipeline::ShaderPipeline(glu::ShaderType testedShader, in ShaderPipeline() 194 const char* const* ShaderBallotBaseTestCase::ShaderPipeline::getShaderParts(glu::ShaderType shaderT… in getShaderParts() 199 unsigned int ShaderBallotBaseTestCase::ShaderPipeline::getShaderPartsCount(glu::ShaderType shaderTy… in getShaderPartsCount() 332 glu::ShaderType shaderType = (glu::ShaderType)i; in createShaderPrograms() 477 m_shaderPipelines.push_back(new ShaderPipeline((glu::ShaderType)i, colorShaderSnippet)); in ShaderBallotAvailabilityTestCase() 552 m_shaderPipelines.push_back(new ShaderPipeline((glu::ShaderType)i, colorShaderSnippet, specMap)); in ShaderBallotBitmasksTestCase() 627 m_shaderPipelines.push_back(new ShaderPipeline((glu::ShaderType)i, ballotFalseSnippet)); in ShaderBallotFunctionBallotTestCase() 628 m_shaderPipelines.push_back(new ShaderPipeline((glu::ShaderType)i, ballotTrueSnippet)); in ShaderBallotFunctionBallotTestCase() 629 m_shaderPipelines.push_back(new ShaderPipeline((glu::ShaderType)i, ballotMixedSnippet)); in ShaderBallotFunctionBallotTestCase() 701 m_shaderPipelines.push_back(new ShaderPipeline((glu::ShaderType)i, readFirstInvSnippet)); in ShaderBallotFunctionReadTestCase() [all …]
|
D | gl4cShaderBallotTests.hpp | 43 glu::ShaderType m_testedShader; 54 ShaderPipeline(glu::ShaderType testedShader, const std::string& contentSnippet, 58 const char* const* getShaderParts(glu::ShaderType shaderType) const; 59 unsigned int getShaderPartsCount(glu::ShaderType shaderType) const;
|
/external/swiftshader/src/Shader/ |
D | Shader.hpp | 28 enum ShaderType enum in sw::Shader 440 std::string string(ShaderType shaderType, unsigned short version) const; 441 std::string typeString(ShaderType shaderType, unsigned short version) const; 482 std::string string(ShaderType shaderType, unsigned short version) const; 504 std::string string(ShaderType shaderType, unsigned short version) const; 563 ShaderType getShaderType() const; 634 ShaderType shaderType;
|
/external/swiftshader/src/Pipeline/ |
D | Shader.hpp | 28 enum ShaderType enum in sw::Shader 439 std::string string(ShaderType shaderType, unsigned short version) const; 440 std::string typeString(ShaderType shaderType, unsigned short version) const; 481 std::string string(ShaderType shaderType, unsigned short version) const; 503 std::string string(ShaderType shaderType, unsigned short version) const; 562 ShaderType getShaderType() const; 633 ShaderType shaderType;
|
/external/deqp/modules/gles3/stress/ |
D | es3sLongShaderTests.cpp | 82 const char* getConstShaderSource (const glu::ShaderType shaderType) in getConstShaderSource() 162 glu::ShaderType shaderType; 168 LongShaderSpec (const glu::ShaderType shaderTypeInit, const deUint32 opsTotalInit) in LongShaderSpec() 361 const glu::ShaderType m_shaderType; 389 …const glu::ShaderType otherShader = (m_shaderType == glu::SHADERTYPE_VERTEX) ? glu::SHADERTYPE_FR… in iterate() 456 …const glu::ShaderType shaderType = (shaderTypeInt == 0) ? glu::SHADERTYPE_VERTEX : glu::SHADERTYP… in init()
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemStorageBufferTests.cpp | 99 const char* getShaderTypeString (const glu::ShaderType shaderType) in getShaderTypeString() 188 const glu::ShaderType shaderType, 198 const glu::ShaderType m_shaderType; 210 const glu::ShaderType shaderType, in StorageBufferTestCase() 233 const glu::ShaderType m_shaderType; 242 const glu::ShaderType shaderType, in StorageBufferTestInstance() 673 const glu::ShaderType shaderType, in createSpecifiedStorageBufferTests() 690 …ferTests (tcu::TestContext& testCtx, SSBOTestType testType, const glu::ShaderType shaderType, size… in createRandomizedBufferTests() 711 glu::ShaderType shaderTypes[] = { in createRWStorageBufferTests() 718 const glu::ShaderType shaderType = shaderTypes[shaderNdx]; in createRWStorageBufferTests() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkShaderToSpirV.cpp | 53 EShLanguage getGlslangStage (glu::ShaderType type) in getGlslangStage() 216 …d::vector<std::string>* sources, const ShaderBuildOptions buildOptions, glu::ShaderType shaderType) in getShaderStageSource() 272 …const std::string& srcText = getShaderStageSource(sources, buildOptions, (glu::ShaderType)shad… in compileShaderToSpirV() 275 const EShLanguage shaderStage = getGlslangStage(glu::ShaderType(shaderType)); in compileShaderToSpirV() 310 shaderBuildInfo.type = (glu::ShaderType)shaderType; in compileShaderToSpirV()
|