/external/deqp/modules/gles2/functional/ |
es2fShaderReturnTests.cpp | 153 ShaderReturnCase* makeConditionalReturnInFuncCase (Context& context, const char* name, const char* description, ReturnMode returnMode, bool isVertex) 171 const char* coords = isVertex ? "a_coords" : "v_coords"; 175 params["COORDSTORAGE"] = isVertex ? "attribute" : "varying"; 176 params["COORDPREC"] = isVertex ? "highp" : "mediump"; 177 params["OUTPUT"] = isVertex ? "v_color" : "gl_FragColor"; 179 params["EXTRADECL"] = isVertex ? "attribute highp vec4 a_position;\nvarying mediump vec4 v_color;\n" : ""; 180 params["POSITIONWRITE"] = isVertex ? " gl_Position = a_position;\n" : ""; 190 return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(), getEvalFunc(returnMode)); 193 ShaderReturnCase* makeOutputWriteReturnCase (Context& context, const char* name, const char* description, bool inFunction, ReturnMode returnMode, bool isVertex) 226 const char* coords = isVertex ? "a_coords" : "v_coords" [all...] |
es2fShaderTextureFunctionTests.cpp | 560 static void createCaseGroup (TestCaseGroup* parent, const char* groupName, const char* groupDesc, const TexFuncCaseSpec* cases, int numCases, bool isVertex) 566 group->addChild(new ShaderTextureFunctionCase(parent->getContext(), cases[ndx].name, "", cases[ndx].lookupSpec, cases[ndx].texSpec, cases[ndx].evalFunc, isVertex));
|
/external/deqp/modules/gles3/functional/ |
es3fShaderReturnTests.cpp | 126 ShaderReturnCase* makeConditionalReturnInFuncCase (Context& context, const char* name, const char* description, ReturnMode returnMode, bool isVertex) 145 const char* coords = isVertex ? "a_coords" : "v_coords"; 149 params["COORDPREC"] = isVertex ? "highp" : "mediump"; 150 params["OUTPUT"] = isVertex ? "v_color" : "o_color"; 152 params["EXTRADECL"] = isVertex ? "in highp vec4 a_position;\nout mediump vec4 v_color;\n" : "layout(location = 0) out mediump vec4 o_color;\n"; 153 params["POSITIONWRITE"] = isVertex ? " gl_Position = a_position;\n" : ""; 163 return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(), getEvalFunc(returnMode)); 166 ShaderReturnCase* makeOutputWriteReturnCase (Context& context, const char* name, const char* description, bool inFunction, ReturnMode returnMode, bool isVertex) 201 const char* coords = isVertex ? "a_coords" : "v_coords"; 205 params["COORDPREC"] = isVertex ? "highp" : "mediump" [all...] |
es3fShaderSwitchTests.cpp | 89 static tcu::TestCase* makeSwitchCase (Context& context, const char* name, const char* desc, SwitchType type, bool isVertex, const LineStream& switchBody) 93 std::ostringstream& op = isVertex ? vtx : frag; 101 if (isVertex) 124 op << " highp vec4 coords = " << (isVertex ? "a_coords" : "v_coords") << ";\n"; 136 if (isVertex) 150 return new ShaderSwitchCase(context, name, desc, isVertex, vtx.str().c_str(), frag.str().c_str(),
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderReturnTests.cpp | 138 de::MovePtr<ShaderReturnCase> makeConditionalReturnInFuncCase (tcu::TestContext& context, const std::string& name, const std::string& description, ReturnMode returnMode, bool isVertex) 156 const char* coords = isVertex ? "a_coords" : "v_coords"; 160 params["COORDLOC"] = isVertex ? "1" : "0"; 161 params["COORDPREC"] = isVertex ? "highp" : "mediump"; 162 params["OUTPUT"] = isVertex ? "v_color" : "o_color"; 164 params["EXTRADECL"] = isVertex ? "layout(location = 0) in highp vec4 a_position;\nlayout(location = 0) out mediump vec4 v_color;\n" : "layout(location = 0) out mediump vec4 o_color;\n"; 165 params["POSITIONWRITE"] = isVertex ? " gl_Position = a_position;\n" : ""; 175 return de::MovePtr<ShaderReturnCase>(new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params), getEvalFunc(returnMode), DE_NULL)); 178 de::MovePtr<ShaderReturnCase> makeOutputWriteReturnCase (tcu::TestContext& context, const std::string& name, const std::string& description, bool inFunction, ReturnMode returnMode, bool isVertex) 211 const char* coords = isVertex ? "a_coords" : "v_coords" [all...] |
vktShaderRenderSwitchTests.cpp | 106 static de::MovePtr<ShaderSwitchCase> makeSwitchCase (tcu::TestContext& testCtx, const string& name, const string& desc, SwitchType type, bool isVertex, const LineStream& switchBody) 110 std::ostringstream& op = isVertex ? vtx : frag; 118 if (isVertex) 141 op << " highp vec4 coords = " << (isVertex ? "a_coords" : "v_coords") << ";\n"; 153 if (isVertex) 167 return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, desc, isVertex, vtx.str(), frag.str(),
|
vktShaderRenderMatrixTests.cpp | [all...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderControlStatementTests.cpp | 140 ConditionalCase (Context& context, const char* name, const char* description, DecisionType decisionType, BranchResult branchType, WorkloadDivision workloadDivision, bool isVertex); 156 ConditionalCase::ConditionalCase (Context& context, const char* name, const char* description, DecisionType decisionType, BranchResult branchType, WorkloadDivision workloadDivision, bool isVertex) 157 : ControlStatementCase (context.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT) 411 LoopCase (Context& context, const char* name, const char* description, LoopType type, DecisionType decisionType, bool isLoopBoundStable, bool isVertex); 427 LoopCase::LoopCase (Context& context, const char* name, const char* description, LoopType type, DecisionType decisionType, bool isLoopBoundStable, bool isVertex) 428 : ControlStatementCase (context.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT) 677 WorkloadReferenceCase (Context& context, const char* name, const char* description, bool isVertex); 685 WorkloadReferenceCase::WorkloadReferenceCase (Context& context, const char* name, const char* description, bool isVertex) 686 : ControlStatementCase(context.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT) 754 LoopWorkloadReferenceCase (Context& context, const char* name, const char* description, bool isAttributeStable, bool isVertex) [all...] |
es2pShaderCompilationCases.cpp | [all...] |
es2pShaderOperatorTests.cpp | [all...] |
/external/deqp/modules/gles3/performance/ |
es3pShaderControlStatementTests.cpp | 140 ConditionalCase (Context& context, const char* name, const char* description, DecisionType decisionType, BranchResult branchType, WorkloadDivision workloadDivision, bool isVertex); 156 ConditionalCase::ConditionalCase (Context& context, const char* name, const char* description, DecisionType decisionType, BranchResult branchType, WorkloadDivision workloadDivision, bool isVertex) 157 : ControlStatementCase (context.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT) 415 LoopCase (Context& context, const char* name, const char* description, LoopType type, DecisionType decisionType, bool isLoopBoundStable, bool isVertex); 431 LoopCase::LoopCase (Context& context, const char* name, const char* description, LoopType type, DecisionType decisionType, bool isLoopBoundStable, bool isVertex) 432 : ControlStatementCase (context.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT) 685 WorkloadReferenceCase (Context& context, const char* name, const char* description, bool isVertex); 693 WorkloadReferenceCase::WorkloadReferenceCase (Context& context, const char* name, const char* description, bool isVertex) 694 : ControlStatementCase(context.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT) 766 LoopWorkloadReferenceCase (Context& context, const char* name, const char* description, bool isAttributeStable, bool isVertex) [all...] |
es3pShaderCompilationCases.cpp | [all...] |
es3pShaderOperatorTests.cpp | [all...] |
/external/deqp/framework/randomshaders/ |
rsgExpression.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktUniformBlockCase.cpp | [all...] |
/external/deqp/modules/glshared/ |
glsUniformBlockCase.cpp | [all...] |