/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 …]
|
D | es3pShaderOperatorTests.cpp | 1142 const bool isVertexCase = m_caseType == CASETYPE_VERTEX; in generateSingleProgramData() local 1149 std::ostringstream& op = isVertexCase ? vtx : frag; in generateSingleProgramData() 1160 if (isVertexCase) in generateSingleProgramData() 1175 if (isVertexCase) in generateSingleProgramData() 1182 if (!isVertexCase) in generateSingleProgramData() 1190 const char* const prefix = isVertexCase ? "a_" : "v_"; in generateSingleProgramData() 1260 op << "\t" << (isVertexCase ? "v_color" : "o_color") << " = color;\n"; in generateSingleProgramData() 1262 if (isVertexCase) in generateSingleProgramData() 1472 const bool isVertexCase = m_caseType == CASETYPE_VERTEX; in generateSingleProgramData() local 1502 std::ostringstream& op = isVertexCase ? vtx : frag; in generateSingleProgramData() [all …]
|
/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 …]
|
D | es2pShaderOperatorTests.cpp | 1142 const bool isVertexCase = m_caseType == CASETYPE_VERTEX; in generateSingleProgramData() local 1149 std::ostringstream& op = isVertexCase ? vtx : frag; in generateSingleProgramData() 1156 if (isVertexCase) in generateSingleProgramData() 1171 if (isVertexCase) in generateSingleProgramData() 1178 if (!isVertexCase) in generateSingleProgramData() 1186 const char* const prefix = isVertexCase ? "a_" : "v_"; in generateSingleProgramData() 1256 op << "\t" << (isVertexCase ? "v_color" : "gl_FragColor") << " = color;\n"; in generateSingleProgramData() 1258 if (isVertexCase) in generateSingleProgramData() 1468 const bool isVertexCase = m_caseType == CASETYPE_VERTEX; in generateSingleProgramData() local 1498 std::ostringstream& op = isVertexCase ? vtx : frag; in generateSingleProgramData() [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()
|
D | es2fShaderStructTests.cpp | 66 …e (Context& context, const char* name, const char* description, bool isVertexCase, deUint32 flags… 84 …se (Context& context, const char* name, const char* description, bool isVertexCase, deUint32 flags… in ShaderStructCase() argument 85 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderStructCase() 151 …se (Context& context, const char* name, const char* description, bool isVertexCase, deUint32 flags… in createStructCase() argument 171 if (isVertexCase) in createStructCase() 189 if (isVertexCase) in createStructCase() 190 …return new ShaderStructCase(context, name, description, isVertexCase, flags, evalFunc, setupUnifor… in createStructCase() 192 …return new ShaderStructCase(context, name, description, isVertexCase, flags, evalFunc, setupUnifor… in createStructCase()
|
D | es2fShaderBuiltinVarTests.cpp | 63 …t, const char* name, const char* desc, const char* varName, deUint32 paramName, bool isVertexCase); 74 …xt, const char* name, const char* desc, const char* varName, deUint32 paramName, bool isVertexCase) in ShaderBuiltinConstantCase() argument 75 …(), context.getRenderContext(), context.getContextInfo(), name, desc, isVertexCase, evalBuiltinCon… in ShaderBuiltinConstantCase() 195 ShaderDepthRangeTest (Context& context, const char* name, const char* desc, bool isVertexCase) in ShaderDepthRangeTest() argument 196 …ext(), context.getRenderContext(), context.getContextInfo(), name, desc, isVertexCase, m_evaluator) in ShaderDepthRangeTest()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderIndexingTests.cpp | 138 …e (Context& context, const char* name, const char* description, bool isVertexCase, DataType varTy… 151 …se (Context& context, const char* name, const char* description, bool isVertexCase, DataType varTy… in ShaderIndexingCase() argument 152 …), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) in ShaderIndexingCase() 336 …Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varTy… in createUniformArrayCase() argument 340 std::ostringstream& op = isVertexCase ? vtx : frag; in createUniformArrayCase() 349 if (isVertexCase) in createUniformArrayCase() 404 if (isVertexCase) in createUniformArrayCase() 439 …return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, ver… in createUniformArrayCase() 442 …Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varTy… in createTmpArrayCase() argument 446 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() 163 if (isVertexCase) in createStructCase() 164 …return new ShaderStructCase(context, name, description, isVertexCase, usesTextures, evalFunc, setu… in createStructCase() 166 …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 | 262 bool isVertexCase, in ShaderLoopCase() argument 267 : ShaderRenderCase (testCtx, name, description, isVertexCase, evalFunc, uniformSetup, DE_NULL) in ShaderLoopCase() 302 bool isVertexCase, in createGenericLoopCase() argument 310 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 322 if (isVertexCase) in createGenericLoopCase() 383 if (isVertexCase) in createGenericLoopCase() 393 if (isVertexCase) in createGenericLoopCase() 400 if (isVertexCase) in createGenericLoopCase() 488 if (isVertexCase) in createGenericLoopCase() 519 …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()
|