/external/deqp/modules/gles2/performance/ |
D | es2pShaderControlStatementTests.cpp | 167 bool isVertexCase = m_caseType == CASETYPE_VERTEX; in init() local 187 isVertexCase ? "a_compareValue" : in init() 192 std::ostringstream& op = isVertexCase ? vtx : frag; in init() 205 if (isVertexCase) in init() 237 if (isConditionMixed && !isVertexCase) in init() 247 …writeConditionalWorkload(op, "res", isVertexCase ? "a_value0" : "v_value0"); // Workload calculati… in init() 249 op << "res = " << (isVertexCase ? "a_value0" : "v_value0") << ";"; in init() 258 …writeConditionalWorkload(op, "res", isVertexCase ? "a_value1" : "v_value1"); // Workload calculati… in init() 260 op << "res = " << (isVertexCase ? "a_value1" : "v_value1") << ";"; in init() 265 if (isVertexCase) in init() [all …]
|
D | es2pShaderOptimizationTests.cpp | 128 const bool isVertexCase = shaderType == CASESHADERTYPE_VERTEX; in defaultProgramData() local 136 + (isVertexCase ? funcDefs : "") + in defaultProgramData() 141 + (isVertexCase ? mainStatements : "") + in defaultProgramData() 449 const bool isVertexCase = m_caseShaderType == CASESHADERTYPE_VERTEX; in generateProgramData() local 451 …? builtinFunctionsCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) in generateProgramData() 452 … : m_caseType == CASETYPE_ARRAY ? arrayCaseStatements (optimized, precision, isVertexCase) in generateProgramData() 453 …CT ? structCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) in generateProgramData() 549 const bool isVertexCase = m_caseShaderType == CASESHADERTYPE_VERTEX; in generateProgramData() local 551 …== CASETYPE_SINGLE_STATEMENT ? singleStatementCaseStatements (optimized, precision, isVertexCase) in generateProgramData() 552 …ASETYPE_MULTIPLE_STATEMENTS ? multipleStatementsCaseStatements (optimized, precision, isVertexCase) in generateProgramData() [all …]
|
D | es2pShaderCompilationCases.cpp | 502 …ion, int caseID, bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, int numLights,… 540 …ion, int caseID, bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, LoopType type,… 556 …ion, int caseID, bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, const char* op… 668 …st char* description, int caseID, InvalidityType invalidityType, bool isVertexCase, int numLights,… 714 …st char* description, int caseID, InvalidityType invalidityType, bool isVertexCase, const char* op… 757 static string lightVertexTemplate (int numLights, bool isVertexCase, LightType lightType) in lightVertexTemplate() argument 795 if (!isVertexCase) in lightVertexTemplate() 850 if (!isVertexCase) in lightVertexTemplate() 868 if (isVertexCase) in lightVertexTemplate() 881 if (isVertexCase) in lightVertexTemplate() [all …]
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderControlStatementTests.cpp | 167 bool isVertexCase = m_caseType == CASETYPE_VERTEX; in init() local 187 isVertexCase ? "a_compareValue" : in init() 192 std::ostringstream& op = isVertexCase ? vtx : frag; in init() 209 if (isVertexCase) in init() 241 if (isConditionMixed && !isVertexCase) in init() 251 …writeConditionalWorkload(op, "res", isVertexCase ? "a_value0" : "v_value0"); // Workload calculati… in init() 253 op << "res = " << (isVertexCase ? "a_value0" : "v_value0") << ";"; in init() 262 …writeConditionalWorkload(op, "res", isVertexCase ? "a_value1" : "v_value1"); // Workload calculati… in init() 264 op << "res = " << (isVertexCase ? "a_value1" : "v_value1") << ";"; in init() 269 if (isVertexCase) in init() [all …]
|
D | es3pShaderOptimizationTests.cpp | 128 const bool isVertexCase = shaderType == CASESHADERTYPE_VERTEX; in defaultProgramData() local 137 + (isVertexCase ? funcDefs : "") + in defaultProgramData() 142 + (isVertexCase ? mainStatements : "") + in defaultProgramData() 451 const bool isVertexCase = m_caseShaderType == CASESHADERTYPE_VERTEX; in generateProgramData() local 453 …? builtinFunctionsCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) in generateProgramData() 454 …RAY ? arrayCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) in generateProgramData() 455 …CT ? structCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) in generateProgramData() 560 const bool isVertexCase = m_caseShaderType == CASESHADERTYPE_VERTEX; in generateProgramData() local 562 …== CASETYPE_SINGLE_STATEMENT ? singleStatementCaseStatements (optimized, precision, isVertexCase) in generateProgramData() 563 …ASETYPE_MULTIPLE_STATEMENTS ? multipleStatementsCaseStatements (optimized, precision, isVertexCase) in generateProgramData() [all …]
|
D | es3pShaderCompilationCases.cpp | 502 …ion, int caseID, bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, int numLights,… 540 …ion, int caseID, bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, LoopType type,… 556 …ion, int caseID, bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, const char* op… 668 …st char* description, int caseID, InvalidityType invalidityType, bool isVertexCase, int numLights,… 714 …st char* description, int caseID, InvalidityType invalidityType, bool isVertexCase, const char* op… 757 static string lightVertexTemplate (int numLights, bool isVertexCase, LightType lightType) in lightVertexTemplate() argument 796 if (!isVertexCase) in lightVertexTemplate() 851 if (!isVertexCase) in lightVertexTemplate() 869 if (isVertexCase) in lightVertexTemplate() 882 if (isVertexCase) in lightVertexTemplate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderIndexingTests.cpp | 145 …e (Context& context, const char* name, const char* description, bool isVertexCase, DataType varTy… 161 …se (Context& context, const char* name, const char* description, bool isVertexCase, DataType varTy… in ShaderIndexingCase() argument 162 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderIndexingCase() 374 …Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varTy… in createUniformArrayCase() argument 378 std::ostringstream& op = isVertexCase ? vtx : frag; in createUniformArrayCase() 383 if (isVertexCase) in createUniformArrayCase() 438 if (isVertexCase) in createUniformArrayCase() 479 …requirements |= (isVertexCase ? REQUIREMENT_VERTEX_UNIFORM_LOOPS : REQUIREMENT_FRAGMENT_UNIFORM_LO… in createUniformArrayCase() 481 …return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, req… in createUniformArrayCase() 484 …Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varTy… in createTmpArrayCase() argument [all …]
|
D | es2fShaderAlgorithmTests.cpp | 52 … (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc… 60 …se (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc… in ShaderAlgorithmCase() argument 61 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderAlgorithmCase() 73 …Context& context, const char* caseName, const char* description, bool isVertexCase, ShaderEvalFunc… in createExpressionCase() argument 77 std::ostringstream& op = isVertexCase ? vtx : frag; in createExpressionCase() 82 if (isVertexCase) in createExpressionCase() 105 if (isVertexCase) in createExpressionCase() 113 if (isVertexCase) in createExpressionCase() 136 …return new ShaderAlgorithmCase(context, caseName, description, isVertexCase, evalFunc, vertexShade… in createExpressionCase()
|
D | es2fShaderLoopTests.cpp | 212 … (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc… 227 …se (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc… in ShaderLoopCase() argument 228 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderLoopCase() 276 …Context& context, const char* caseName, const char* description, bool isVertexCase, LoopType loopT… in createGenericLoopCase() argument 280 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 288 if (isVertexCase) in createGenericLoopCase() 332 if (isVertexCase) in createGenericLoopCase() 341 if (isVertexCase) in createGenericLoopCase() 348 if (isVertexCase) in createGenericLoopCase() 436 if (isVertexCase) in createGenericLoopCase() [all …]
|
D | es2fShaderReturnTests.cpp | 83 … (Context& context, const char* name, const char* description, bool isVertexCase, const char* sh… 92 …se (Context& context, const char* name, const char* description, bool isVertexCase, const char* sh… in ShaderReturnCase() argument 93 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderReturnCase() 96 if (isVertexCase) in ShaderReturnCase()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderIndexingTests.cpp | 139 …e (Context& context, const char* name, const char* description, bool isVertexCase, DataType varTy… 152 …se (Context& context, const char* name, const char* description, bool isVertexCase, DataType varTy… in ShaderIndexingCase() argument 153 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderIndexingCase() 337 …Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varTy… in createUniformArrayCase() argument 341 std::ostringstream& op = isVertexCase ? vtx : frag; in createUniformArrayCase() 350 if (isVertexCase) in createUniformArrayCase() 405 if (isVertexCase) in createUniformArrayCase() 440 …return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, ver… in createUniformArrayCase() 443 …Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varTy… in createTmpArrayCase() argument 447 std::ostringstream& op = isVertexCase ? vtx : frag; in createTmpArrayCase() [all …]
|
D | es3fShaderLoopTests.cpp | 209 … (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc… 220 …se (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc… in ShaderLoopCase() argument 221 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderLoopCase() 244 …Context& context, const char* caseName, const char* description, bool isVertexCase, LoopType loopT… in createGenericLoopCase() argument 248 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 260 if (isVertexCase) in createGenericLoopCase() 304 if (isVertexCase) in createGenericLoopCase() 313 if (isVertexCase) in createGenericLoopCase() 320 if (isVertexCase) in createGenericLoopCase() 408 if (isVertexCase) in createGenericLoopCase() [all …]
|
D | es3fShaderPrecisionTests.cpp | 64 …const glu::RenderContext& context, glu::Precision precision, const char* evalOp, bool isVertexCase) in createFloatPrecisionEvalProgram() argument 73 ostringstream& op = isVertexCase ? vtx : frag; in createFloatPrecisionEvalProgram() 82 if (isVertexCase) in createFloatPrecisionEvalProgram() 99 op << "\t" << precName << " " << typeName << " in0 = " << (isVertexCase ? "a_" : "v_") << "in0;\n" in createFloatPrecisionEvalProgram() 100 << "\t" << precName << " " << typeName << " in1 = " << (isVertexCase ? "a_" : "v_") << "in1;\n"; in createFloatPrecisionEvalProgram() 102 if (!isVertexCase) in createFloatPrecisionEvalProgram() 105 op << "\t" << (isVertexCase ? "v_out" : "res") << " = " << evalOp << ";\n"; in createFloatPrecisionEvalProgram() 107 if (isVertexCase) in createFloatPrecisionEvalProgram() 124 …text& context, glu::DataType type, glu::Precision precision, const char* evalOp, bool isVertexCase) in createIntUintPrecisionEvalProgram() argument 130 ostringstream& op = isVertexCase ? vtx : frag; in createIntUintPrecisionEvalProgram() [all …]
|
D | es3fShaderReturnTests.cpp | 78 … (Context& context, const char* name, const char* description, bool isVertexCase, const char* sh… 82 …se (Context& context, const char* name, const char* description, bool isVertexCase, const char* sh… in ShaderReturnCase() argument 83 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderReturnCase() 85 if (isVertexCase) in ShaderReturnCase()
|
D | es3fShaderSwitchTests.cpp | 51 … (Context& context, const char* name, const char* description, bool isVertexCase, const char* vt… 55 …se (Context& context, const char* name, const char* description, bool isVertexCase, const char* vt… in ShaderSwitchCase() argument 56 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderSwitchCase()
|
D | es3fShaderStructTests.cpp | 59 …e (Context& context, const char* name, const char* description, bool isVertexCase, bool usesTextu… 77 …se (Context& context, const char* name, const char* description, bool isVertexCase, bool usesTextu… in ShaderStructCase() argument 78 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderStructCase() 118 …se (Context& context, const char* name, const char* description, bool isVertexCase, bool usesTextu… in createStructCase() argument 141 if (isVertexCase) in createStructCase() 165 if (isVertexCase) in createStructCase() 166 …return new ShaderStructCase(context, name, description, isVertexCase, usesTextures, evalFunc, setu… in createStructCase() 168 …return new ShaderStructCase(context, name, description, isVertexCase, usesTextures, evalFunc, setu… in createStructCase()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderIndexingTests.cpp | 157 …ShaderIndexingCase(Context& context, const char* name, const char* description, bool isVertexCase,… 171 …:ShaderIndexingCase(Context& context, const char* name, const char* description, bool isVertexCase, in ShaderIndexingCase() argument 175 description, isVertexCase, evalFunc) in ShaderIndexingCase() 366 glu::GLSLVersion glslVersion, bool isVertexCase, DataType varType, in createUniformArrayCase() argument 374 std::ostringstream& op = isVertexCase ? vtx : frag; in createUniformArrayCase() 383 if (isVertexCase) in createUniformArrayCase() 438 if (isVertexCase) in createUniformArrayCase() 473 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, in createUniformArrayCase() 478 glu::GLSLVersion glslVersion, bool isVertexCase, DataType varType, in createTmpArrayCase() argument 486 std::ostringstream& op = isVertexCase ? vtx : frag; in createTmpArrayCase() [all …]
|
D | glcShaderLoopTests.cpp | 181 ShaderLoopCase(Context& context, const char* name, const char* description, bool isVertexCase, 193 …ase::ShaderLoopCase(Context& context, const char* name, const char* description, bool isVertexCase, in ShaderLoopCase() argument 196 description, isVertexCase, evalFunc) in ShaderLoopCase() 220 const char* description, bool isVertexCase, LoopType loopType, in createGenericLoopCase() argument 226 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 238 if (isVertexCase) in createGenericLoopCase() 282 if (isVertexCase) in createGenericLoopCase() 291 if (isVertexCase) in createGenericLoopCase() 298 if (isVertexCase) in createGenericLoopCase() 389 if (isVertexCase) in createGenericLoopCase() [all …]
|
D | glcShaderSwitchTests.cpp | 41 ShaderSwitchCase(Context& context, const char* name, const char* description, bool isVertexCase, 46 …e::ShaderSwitchCase(Context& context, const char* name, const char* description, bool isVertexCase, in ShaderSwitchCase() argument 49 description, isVertexCase, evalFunc) in ShaderSwitchCase()
|
D | glcShaderStructTests.cpp | 54 …ShaderStructCase(Context& context, const char* name, const char* description, bool isVertexCase, b… 74 …e::ShaderStructCase(Context& context, const char* name, const char* description, bool isVertexCase, in ShaderStructCase() argument 78 description, isVertexCase, evalFunc) in ShaderStructCase() 127 glu::GLSLVersion glslVersion, bool isVertexCase, bool usesTextures, in createStructCase() argument 152 if (isVertexCase) in createStructCase() 172 if (isVertexCase) in createStructCase() 173 …return new ShaderStructCase(context, name, description, isVertexCase, usesTextures, evalFunc, setu… in createStructCase() 177 …return new ShaderStructCase(context, name, description, isVertexCase, usesTextures, evalFunc, setu… in createStructCase()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderIndexingTests.cpp | 220 bool isVertexCase, 236 const bool isVertexCase, in ShaderIndexingCase() argument 242 …: ShaderRenderCase(testCtx, name, description, isVertexCase, evalFunc, new IndexingTestUniformSetu… in ShaderIndexingCase() 387 bool isVertexCase, in createUniformArrayCase() argument 393 std::ostringstream& op = isVertexCase ? vtx : frag; in createUniformArrayCase() 402 if (isVertexCase) in createUniformArrayCase() 462 if (isVertexCase) in createUniformArrayCase() 497 …rIndexingCase>(new ShaderIndexingCase(context, caseName, description, isVertexCase, evalFunc, vert… in createUniformArrayCase() 503 bool isVertexCase, in createTmpArrayCase() argument 510 std::ostringstream& op = isVertexCase ? vtx : frag; in createTmpArrayCase() [all …]
|
D | vktShaderRenderLoopTests.cpp | 271 bool isVertexCase, in ShaderLoopCase() argument 276 : ShaderRenderCase (testCtx, name, description, isVertexCase, evalFunc, uniformSetup, DE_NULL) in ShaderLoopCase() 311 bool isVertexCase, in createGenericLoopCase() argument 319 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 331 if (isVertexCase) in createGenericLoopCase() 392 if (isVertexCase) in createGenericLoopCase() 402 if (isVertexCase) in createGenericLoopCase() 409 if (isVertexCase) in createGenericLoopCase() 499 if (isVertexCase) in createGenericLoopCase() 530 …return de::MovePtr<ShaderLoopCase>(new ShaderLoopCase(testCtx, caseName, description, isVertexCase… in createGenericLoopCase() [all …]
|
D | vktShaderRenderSwitchTests.cpp | 57 bool isVertexCase, 68 bool isVertexCase, in ShaderSwitchCase() argument 73 …: ShaderRenderCase (testCtx, name, description, isVertexCase, evalFunc, new UniformSetup(setupUnif… in ShaderSwitchCase()
|
D | vktShaderRenderReturnTests.cpp | 73 bool isVertexCase, 83 bool isVertexCase, in ShaderReturnCase() argument 87 : ShaderRenderCase(testCtx, name, description, isVertexCase, evalFunc, uniformFunc, DE_NULL) in ShaderReturnCase() 89 if (isVertexCase) in ShaderReturnCase()
|
D | vktShaderRenderDiscardTests.cpp | 66 bool isVertexCase, 74 bool isVertexCase, in ShaderDiscardCaseInstance() argument 78 : ShaderRenderCaseInstance (context, isVertexCase, evaluator, uniformSetup, DE_NULL) in ShaderDiscardCaseInstance()
|