/external/deqp/external/openglcts/modules/common/ |
glcShaderIndexingTests.cpp | 157 ShaderIndexingCase(Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, 171 ShaderIndexingCase::ShaderIndexingCase(Context& context, const char* name, const char* description, bool isVertexCase, 175 description, isVertexCase, evalFunc) 366 glu::GLSLVersion glslVersion, bool isVertexCase, DataType varType, 374 std::ostringstream& op = isVertexCase ? vtx : frag; 383 if (isVertexCase) 438 if (isVertexCase) 473 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, 478 glu::GLSLVersion glslVersion, bool isVertexCase, DataType varType, 486 std::ostringstream& op = isVertexCase ? vtx : frag [all...] |
glcShaderLoopTests.cpp | 181 ShaderLoopCase(Context& context, const char* name, const char* description, bool isVertexCase, 193 ShaderLoopCase::ShaderLoopCase(Context& context, const char* name, const char* description, bool isVertexCase, 196 description, isVertexCase, evalFunc) 220 const char* description, bool isVertexCase, LoopType loopType, 226 std::ostringstream& op = isVertexCase ? vtx : frag; 238 if (isVertexCase) 282 if (isVertexCase) 291 if (isVertexCase) 298 if (isVertexCase) 389 if (isVertexCase) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderIndexingTests.cpp | 220 bool isVertexCase, 236 const bool isVertexCase, 242 : ShaderRenderCase(testCtx, name, description, isVertexCase, evalFunc, new IndexingTestUniformSetup(varType, usesArray), DE_NULL) 387 bool isVertexCase, 393 std::ostringstream& op = isVertexCase ? vtx : frag; 402 if (isVertexCase) 462 if (isVertexCase) 497 return de::MovePtr<ShaderIndexingCase>(new ShaderIndexingCase(context, caseName, description, isVertexCase, evalFunc, vertexShaderSource, fragmentShaderSource, varType, true)); 503 bool isVertexCase, 510 std::ostringstream& op = isVertexCase ? vtx : frag [all...] |
vktShaderRenderLoopTests.cpp | 262 bool isVertexCase, 267 : ShaderRenderCase (testCtx, name, description, isVertexCase, evalFunc, uniformSetup, DE_NULL) 302 bool isVertexCase, 310 std::ostringstream& op = isVertexCase ? vtx : frag; 322 if (isVertexCase) 383 if (isVertexCase) 393 if (isVertexCase) 400 if (isVertexCase) 488 if (isVertexCase) 519 return de::MovePtr<ShaderLoopCase>(new ShaderLoopCase(testCtx, caseName, description, isVertexCase, evalFunc, uniformSetup, vertexShaderSource, fragmentShaderSource)) [all...] |
vktShaderRenderOperatorTests.cpp | 552 const bool isVertexCase, 563 const bool isVertexCase, 567 : ShaderRenderCaseInstance (context, isVertexCase, evaluator, uniformSetup, DE_NULL, IMAGE_BACKING_MODE_REGULAR, 568 (isVertexCase ? 92 : GRID_SIZE_DEFAULT_FRAGMENT)) 627 const bool isVertexCase, 649 const bool isVertexCase, 656 isVertexCase, [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderIndexingTests.cpp | 145 ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, deUint32 requirements, const char* vertShaderSource, const char* fragShaderSource); 161 ShaderIndexingCase::ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, deUint32 requirements, const char* vertShaderSource, const char* fragShaderSource) 162 : ShaderRenderCase (context.getTestContext(), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) 374 static ShaderIndexingCase* createUniformArrayCase (Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType readAccess) 378 std::ostringstream& op = isVertexCase ? vtx : frag; 383 if (isVertexCase) 438 if (isVertexCase) 479 requirements |= (isVertexCase ? REQUIREMENT_VERTEX_UNIFORM_LOOPS : REQUIREMENT_FRAGMENT_UNIFORM_LOOPS) | REQUIREMENT_UNIFORM_INDEXING; 481 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, requirements, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 484 static ShaderIndexingCase* createTmpArrayCase (Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType writeAccess, IndexAccessType readAccess [all...] |
es2fShaderLoopTests.cpp | 212 ShaderLoopCase (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc evalFunc, LoopRequirement requirement, const char* vertShaderSource, const char* fragShaderSource); 227 ShaderLoopCase::ShaderLoopCase (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc evalFunc, LoopRequirement requirement, const char* vertShaderSource, const char* fragShaderSource) 228 : ShaderRenderCase (context.getTestContext(), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) 276 static ShaderLoopCase* createGenericLoopCase (Context& context, const char* caseName, const char* description, bool isVertexCase, LoopType loopType, LoopCountType loopCountType, Precision loopCountPrecision, DataType loopCountDataType) 280 std::ostringstream& op = isVertexCase ? vtx : frag; 288 if (isVertexCase) 332 if (isVertexCase) 341 if (isVertexCase) 348 if (isVertexCase) 436 if (isVertexCase) [all...] |
es2fShaderOperatorTests.cpp | 411 ShaderOperatorCase (Context& context, const char* caseName, const char* description, bool isVertexCase, ShaderEvalFunc evalFunc, const char* shaderOp, const ShaderDataSpec& spec); 421 ShaderOperatorCase::ShaderOperatorCase (Context& context, const char* caseName, const char* description, bool isVertexCase, ShaderEvalFunc evalFunc, const char* shaderOp, const ShaderDataSpec& spec) 422 : ShaderRenderCase(context.getTestContext(), context.getRenderContext(), context.getContextInfo(), caseName, description, isVertexCase, m_evaluator) 430 ostringstream& op = isVertexCase ? vtx : frag; 447 if (isVertexCase) 471 string prefix = isVertexCase ? "a_" : "v_"; 548 if (isVertexCase) [all...] |
es2fUniformApiTests.cpp | [all...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderControlStatementTests.cpp | 167 bool isVertexCase = m_caseType == CASETYPE_VERTEX; 187 isVertexCase ? "a_compareValue" : 192 std::ostringstream& op = isVertexCase ? vtx : frag; 205 if (isVertexCase) 237 if (isConditionMixed && !isVertexCase) 247 writeConditionalWorkload(op, "res", isVertexCase ? "a_value0" : "v_value0"); // Workload calculation for the "true" branch. 249 op << "res = " << (isVertexCase ? "a_value0" : "v_value0") << ";"; 258 writeConditionalWorkload(op, "res", isVertexCase ? "a_value1" : "v_value1"); // Workload calculations for the "false" branch. 260 op << "res = " << (isVertexCase ? "a_value1" : "v_value1") << ";"; 265 if (isVertexCase) [all...] |
es2pShaderOptimizationTests.cpp | 128 const bool isVertexCase = shaderType == CASESHADERTYPE_VERTEX; 136 + (isVertexCase ? funcDefs : "") + 141 + (isVertexCase ? mainStatements : "") + 449 const bool isVertexCase = m_caseShaderType == CASESHADERTYPE_VERTEX; 451 const string statements = m_caseType == CASETYPE_BUILT_IN_FUNCTIONS ? builtinFunctionsCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) 452 : m_caseType == CASETYPE_ARRAY ? arrayCaseStatements (optimized, precision, isVertexCase) 453 : m_caseType == CASETYPE_STRUCT ? structCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) 549 const bool isVertexCase = m_caseShaderType == CASESHADERTYPE_VERTEX; 551 const string statements = m_caseType == CASETYPE_SINGLE_STATEMENT ? singleStatementCaseStatements (optimized, precision, isVertexCase) 552 : m_caseType == CASETYPE_MULTIPLE_STATEMENTS ? multipleStatementsCaseStatements (optimized, precision, isVertexCase) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderIndexingTests.cpp | 139 ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, const char* vertShaderSource, const char* fragShaderSource); 152 ShaderIndexingCase::ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, const char* vertShaderSource, const char* fragShaderSource) 153 : ShaderRenderCase(context.getTestContext(), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) 337 static ShaderIndexingCase* createUniformArrayCase (Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType readAccess) 341 std::ostringstream& op = isVertexCase ? vtx : frag; 350 if (isVertexCase) 405 if (isVertexCase) 440 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 443 static ShaderIndexingCase* createTmpArrayCase (Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType writeAccess, IndexAccessType readAccess) 447 std::ostringstream& op = isVertexCase ? vtx : frag [all...] |
es3fShaderLoopTests.cpp | 209 ShaderLoopCase (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc evalFunc, const char* vertShaderSource, const char* fragShaderSource); 220 ShaderLoopCase::ShaderLoopCase (Context& context, const char* name, const char* description, bool isVertexCase, ShaderEvalFunc evalFunc, const char* vertShaderSource, const char* fragShaderSource) 221 : ShaderRenderCase(context.getTestContext(), context.getRenderContext(), context.getContextInfo(), name, description, isVertexCase, evalFunc) 244 static ShaderLoopCase* createGenericLoopCase (Context& context, const char* caseName, const char* description, bool isVertexCase, LoopType loopType, LoopCountType loopCountType, Precision loopCountPrecision, DataType loopCountDataType) 248 std::ostringstream& op = isVertexCase ? vtx : frag; 260 if (isVertexCase) 304 if (isVertexCase) 313 if (isVertexCase) 320 if (isVertexCase) 408 if (isVertexCase) [all...] |
es3fUniformApiTests.cpp | [all...] |
es3fShaderOperatorTests.cpp | 668 ShaderOperatorCase (Context& context, const char* caseName, const char* description, bool isVertexCase, ShaderEvalFunc evalFunc, const string& shaderOp, const ShaderDataSpec& spec); 683 ShaderOperatorCase::ShaderOperatorCase (Context& context, const char* caseName, const char* description, bool isVertexCase, ShaderEvalFunc evalFunc, const string& shaderOp, const ShaderDataSpec& spec) 684 : ShaderRenderCase (context.getTestContext(), context.getRenderContext(), context.getContextInfo(), caseName, description, isVertexCase, m_evaluator) 687 , m_evaluator (m_renderCtx.getFunctions(), isVertexCase ? SHADERTYPE_VERTEX : SHADERTYPE_FRAGMENT, evalFunc, spec.referenceScale, spec.referenceBias, getDataTypeScalarSize(spec.output)) [all...] |
/external/deqp/modules/gles3/performance/ |
es3pShaderControlStatementTests.cpp | 167 bool isVertexCase = m_caseType == CASETYPE_VERTEX; 187 isVertexCase ? "a_compareValue" : 192 std::ostringstream& op = isVertexCase ? vtx : frag; 209 if (isVertexCase) 241 if (isConditionMixed && !isVertexCase) 251 writeConditionalWorkload(op, "res", isVertexCase ? "a_value0" : "v_value0"); // Workload calculation for the "true" branch. 253 op << "res = " << (isVertexCase ? "a_value0" : "v_value0") << ";"; 262 writeConditionalWorkload(op, "res", isVertexCase ? "a_value1" : "v_value1"); // Workload calculations for the "false" branch. 264 op << "res = " << (isVertexCase ? "a_value1" : "v_value1") << ";"; 269 if (isVertexCase) [all...] |
es3pShaderOptimizationTests.cpp | 128 const bool isVertexCase = shaderType == CASESHADERTYPE_VERTEX; 137 + (isVertexCase ? funcDefs : "") + 142 + (isVertexCase ? mainStatements : "") + 451 const bool isVertexCase = m_caseShaderType == CASESHADERTYPE_VERTEX; 453 const string statements = m_caseType == CASETYPE_BUILT_IN_FUNCTIONS ? builtinFunctionsCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) 454 : m_caseType == CASETYPE_ARRAY ? arrayCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) 455 : m_caseType == CASETYPE_STRUCT ? structCaseStatements (optimized, m_useConstantExpressionsOnly, precision, isVertexCase) 560 const bool isVertexCase = m_caseShaderType == CASESHADERTYPE_VERTEX; 562 const string statements = m_caseType == CASETYPE_SINGLE_STATEMENT ? singleStatementCaseStatements (optimized, precision, isVertexCase) 563 : m_caseType == CASETYPE_MULTIPLE_STATEMENTS ? multipleStatementsCaseStatements (optimized, precision, isVertexCase) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fProgramUniformTests.cpp | [all...] |