/external/deqp/modules/gles2/functional/ |
D | es2fShaderReturnTests.cpp | 153 …(Context& context, const char* name, const char* description, ReturnMode returnMode, bool isVertex) in makeConditionalReturnInFuncCase() argument 171 const char* coords = isVertex ? "a_coords" : "v_coords"; in makeConditionalReturnInFuncCase() 175 params["COORDSTORAGE"] = isVertex ? "attribute" : "varying"; in makeConditionalReturnInFuncCase() 176 params["COORDPREC"] = isVertex ? "highp" : "mediump"; in makeConditionalReturnInFuncCase() 177 params["OUTPUT"] = isVertex ? "v_color" : "gl_FragColor"; in makeConditionalReturnInFuncCase() 179 …params["EXTRADECL"] = isVertex ? "attribute highp vec4 a_position;\nvarying mediump vec4 v_color;… in makeConditionalReturnInFuncCase() 180 params["POSITIONWRITE"] = isVertex ? " gl_Position = a_position;\n" : ""; in makeConditionalReturnInFuncCase() 190 …return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(),… in makeConditionalReturnInFuncCase() 193 …, const char* name, const char* description, bool inFunction, ReturnMode returnMode, bool isVertex) in makeOutputWriteReturnCase() argument 226 const char* coords = isVertex ? "a_coords" : "v_coords"; in makeOutputWriteReturnCase() [all …]
|
D | es2fShaderTextureFunctionTests.cpp | 560 … char* groupName, const char* groupDesc, const TexFuncCaseSpec* cases, int numCases, bool isVertex) in createCaseGroup() argument 566 …), cases[ndx].name, "", cases[ndx].lookupSpec, cases[ndx].texSpec, cases[ndx].evalFunc, isVertex)); in createCaseGroup()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderReturnTests.cpp | 126 …(Context& context, const char* name, const char* description, ReturnMode returnMode, bool isVertex) in makeConditionalReturnInFuncCase() argument 145 const char* coords = isVertex ? "a_coords" : "v_coords"; in makeConditionalReturnInFuncCase() 149 params["COORDPREC"] = isVertex ? "highp" : "mediump"; in makeConditionalReturnInFuncCase() 150 params["OUTPUT"] = isVertex ? "v_color" : "o_color"; in makeConditionalReturnInFuncCase() 152 …params["EXTRADECL"] = isVertex ? "in highp vec4 a_position;\nout mediump vec4 v_color;\n" : "layo… in makeConditionalReturnInFuncCase() 153 params["POSITIONWRITE"] = isVertex ? " gl_Position = a_position;\n" : ""; in makeConditionalReturnInFuncCase() 163 …return new ShaderReturnCase(context, name, description, isVertex, tmpl.specialize(params).c_str(),… in makeConditionalReturnInFuncCase() 166 …, const char* name, const char* description, bool inFunction, ReturnMode returnMode, bool isVertex) in makeOutputWriteReturnCase() argument 201 const char* coords = isVertex ? "a_coords" : "v_coords"; in makeOutputWriteReturnCase() 205 params["COORDPREC"] = isVertex ? "highp" : "mediump"; in makeOutputWriteReturnCase() [all …]
|
D | es3fShaderSwitchTests.cpp | 89 …ext& context, const char* name, const char* desc, SwitchType type, bool isVertex, const LineStream… in makeSwitchCase() argument 93 std::ostringstream& op = isVertex ? vtx : frag; in makeSwitchCase() 101 if (isVertex) in makeSwitchCase() 124 op << " highp vec4 coords = " << (isVertex ? "a_coords" : "v_coords") << ";\n"; in makeSwitchCase() 136 if (isVertex) in makeSwitchCase() 150 return new ShaderSwitchCase(context, name, desc, isVertex, vtx.str().c_str(), frag.str().c_str(), in makeSwitchCase()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderReturnTests.cpp | 138 …ext, const std::string& name, const std::string& description, ReturnMode returnMode, bool isVertex) in makeConditionalReturnInFuncCase() argument 156 const char* coords = isVertex ? "a_coords" : "v_coords"; in makeConditionalReturnInFuncCase() 160 params["COORDLOC"] = isVertex ? "1" : "0"; in makeConditionalReturnInFuncCase() 161 params["COORDPREC"] = isVertex ? "highp" : "mediump"; in makeConditionalReturnInFuncCase() 162 params["OUTPUT"] = isVertex ? "v_color" : "o_color"; in makeConditionalReturnInFuncCase() 164 …params["EXTRADECL"] = isVertex ? "layout(location = 0) in highp vec4 a_position;\nlayout(location… in makeConditionalReturnInFuncCase() 165 params["POSITIONWRITE"] = isVertex ? " gl_Position = a_position;\n" : ""; in makeConditionalReturnInFuncCase() 175 …return de::MovePtr<ShaderReturnCase>(new ShaderReturnCase(context, name, description, isVertex, tm… in makeConditionalReturnInFuncCase() 178 …tring& name, const std::string& description, bool inFunction, ReturnMode returnMode, bool isVertex) in makeOutputWriteReturnCase() argument 211 const char* coords = isVertex ? "a_coords" : "v_coords"; in makeOutputWriteReturnCase() [all …]
|
D | vktShaderRenderSwitchTests.cpp | 106 … testCtx, const string& name, const string& desc, SwitchType type, bool isVertex, const LineStream… in makeSwitchCase() argument 110 std::ostringstream& op = isVertex ? vtx : frag; in makeSwitchCase() 118 if (isVertex) in makeSwitchCase() 141 op << " highp vec4 coords = " << (isVertex ? "a_coords" : "v_coords") << ";\n"; in makeSwitchCase() 153 if (isVertex) in makeSwitchCase() 167 …return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, desc, isVertex, vtx.str()… in makeSwitchCase()
|
D | vktShaderRenderMatrixTests.cpp | 1390 bool isVertex, 1409 bool isVertex, in ShaderMatrixInstance() argument 1414 …: ShaderRenderCaseInstance (context, isVertex, evaluator, DE_NULL, DE_NULL, IMAGE_BACKING_MODE_REG… in ShaderMatrixInstance()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderControlStatementTests.cpp | 140 …isionType decisionType, BranchResult branchType, WorkloadDivision workloadDivision, bool isVertex); 156 …cisionType decisionType, BranchResult branchType, WorkloadDivision workloadDivision, bool isVertex) in ConditionalCase() argument 157 …ontext.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX… in ConditionalCase() 411 …har* description, LoopType type, DecisionType decisionType, bool isLoopBoundStable, bool isVertex); 427 …char* description, LoopType type, DecisionType decisionType, bool isLoopBoundStable, bool isVertex) in LoopCase() argument 428 …ontext.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX… in LoopCase() 677 …orkloadReferenceCase (Context& context, const char* name, const char* description, bool isVertex); 685 …:WorkloadReferenceCase (Context& context, const char* name, const char* description, bool isVertex) in WorkloadReferenceCase() argument 686 …ontext.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX… in WorkloadReferenceCase() 754 …Context& context, const char* name, const char* description, bool isAttributeStable, bool isVertex) in LoopWorkloadReferenceCase() argument [all …]
|
D | es2pShaderCompilationCases.cpp | 2843 bool isVertex = isFrag == 0; in addShaderCompilationPerformanceCases() local 2844 const char* vertFragStr = isVertex ? "vertex" : "fragment"; in addShaderCompilationPerformanceCases() 2854 …ontext, caseName.c_str(), "", caseID++, true /* avoid cache */, false, isVertex, numLights, (Ligh… in addShaderCompilationPerformanceCases() 2855 …ontext, caseName.c_str(), "", caseID++, false /* allow cache */, false, isVertex, numLights, (Ligh… in addShaderCompilationPerformanceCases() 2867 …", caseID++, (InvalidShaderCompilerCase::InvalidityType)invalidityType, isVertex, numLights, (Ligh… in addShaderCompilationPerformanceCases() 2972 bool isVertex = isFrag == 0; in addShaderCompilationPerformanceCases() local 2973 const char* vertFragStr = isVertex ? "vertex" : "fragment"; in addShaderCompilationPerformanceCases() 2991 …t, validCaseName.c_str(), "", caseID++, true /* avoid cache */, false, isVertex, (LoopType)loopTy… in addShaderCompilationPerformanceCases() 2992 …t, validCaseName.c_str(), "", caseID++, false /* allow cache */, false, isVertex, (LoopType)loopTy… in addShaderCompilationPerformanceCases() 3009 …", caseID++, (InvalidShaderCompilerCase::InvalidityType)invalidityType, isVertex, (LoopType)loopTy… in addShaderCompilationPerformanceCases() [all …]
|
D | es2pShaderOperatorTests.cpp | 1099 …glu::DataType type, glu::Precision precision, bool useSwizzle, bool isVertex, const InitialCalibra… 1128 …glu::DataType type, glu::Precision precision, bool useSwizzle, bool isVertex, const InitialCalibra… in BinaryOpCase() argument 1130 isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT, NUM_WORKLOADS, initialCalibration) in BinaryOpCase() 1368 bool isVertex, 1429 bool isVertex, in FunctionCase() argument 1432 isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT, NUM_WORKLOADS, initialCalibration) in FunctionCase() 1905 const bool isVertex = isFrag == 0; in init() local 1906 …tcu::TestCaseGroup* const shaderGroup = new tcu::TestCaseGroup(m_testCtx, isVertex ? "ve… in init() 1921 …ase(m_context, name.str().c_str(), "", op, type, precision, useSwizzle, isVertex, shaderGroupCalib… in init()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderControlStatementTests.cpp | 140 …isionType decisionType, BranchResult branchType, WorkloadDivision workloadDivision, bool isVertex); 156 …cisionType decisionType, BranchResult branchType, WorkloadDivision workloadDivision, bool isVertex) in ConditionalCase() argument 157 …ontext.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX… in ConditionalCase() 415 …har* description, LoopType type, DecisionType decisionType, bool isLoopBoundStable, bool isVertex); 431 …char* description, LoopType type, DecisionType decisionType, bool isLoopBoundStable, bool isVertex) in LoopCase() argument 432 …ontext.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX… in LoopCase() 685 …orkloadReferenceCase (Context& context, const char* name, const char* description, bool isVertex); 693 …:WorkloadReferenceCase (Context& context, const char* name, const char* description, bool isVertex) in WorkloadReferenceCase() argument 694 …ontext.getTestContext(), context.getRenderContext(), name, description, isVertex ? CASETYPE_VERTEX… in WorkloadReferenceCase() 766 …Context& context, const char* name, const char* description, bool isAttributeStable, bool isVertex) in LoopWorkloadReferenceCase() argument [all …]
|
D | es3pShaderCompilationCases.cpp | 2863 bool isVertex = isFrag == 0; in addShaderCompilationPerformanceCases() local 2864 const char* vertFragStr = isVertex ? "vertex" : "fragment"; in addShaderCompilationPerformanceCases() 2874 …ontext, caseName.c_str(), "", caseID++, true /* avoid cache */, false, isVertex, numLights, (Ligh… in addShaderCompilationPerformanceCases() 2875 …ontext, caseName.c_str(), "", caseID++, false /* allow cache */, false, isVertex, numLights, (Ligh… in addShaderCompilationPerformanceCases() 2887 …", caseID++, (InvalidShaderCompilerCase::InvalidityType)invalidityType, isVertex, numLights, (Ligh… in addShaderCompilationPerformanceCases() 2992 bool isVertex = isFrag == 0; in addShaderCompilationPerformanceCases() local 2993 const char* vertFragStr = isVertex ? "vertex" : "fragment"; in addShaderCompilationPerformanceCases() 3011 …t, validCaseName.c_str(), "", caseID++, true /* avoid cache */, false, isVertex, (LoopType)loopTy… in addShaderCompilationPerformanceCases() 3012 …t, validCaseName.c_str(), "", caseID++, false /* allow cache */, false, isVertex, (LoopType)loopTy… in addShaderCompilationPerformanceCases() 3029 …", caseID++, (InvalidShaderCompilerCase::InvalidityType)invalidityType, isVertex, (LoopType)loopTy… in addShaderCompilationPerformanceCases() [all …]
|
D | es3pShaderOperatorTests.cpp | 1099 …glu::DataType type, glu::Precision precision, bool useSwizzle, bool isVertex, const InitialCalibra… 1128 …glu::DataType type, glu::Precision precision, bool useSwizzle, bool isVertex, const InitialCalibra… in BinaryOpCase() argument 1130 isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT, NUM_WORKLOADS, initialCalibration) in BinaryOpCase() 1372 bool isVertex, 1433 bool isVertex, in FunctionCase() argument 1436 isVertex ? CASETYPE_VERTEX : CASETYPE_FRAGMENT, NUM_WORKLOADS, initialCalibration) in FunctionCase() 1913 const bool isVertex = isFrag == 0; in init() local 1914 …tcu::TestCaseGroup* const shaderGroup = new tcu::TestCaseGroup(m_testCtx, isVertex ? "ve… in init() 1929 …ase(m_context, name.str().c_str(), "", op, type, precision, useSwizzle, isVertex, shaderGroupCalib… in init()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderSwitchTests.cpp | 99 SwitchType type, bool isVertex, const LineStream& switchBody) in makeSwitchCase() argument 103 std::ostringstream& op = isVertex ? vtx : frag; in makeSwitchCase() 111 if (isVertex) in makeSwitchCase() 134 op << " highp vec4 coords = " << (isVertex ? "a_coords" : "v_coords") << ";\n"; in makeSwitchCase() 148 if (isVertex) in makeSwitchCase() 162 return new ShaderSwitchCase(context, name, desc, isVertex, vtx.str().c_str(), frag.str().c_str(), in makeSwitchCase()
|
D | glcUniformBlockCase.cpp | 987 const UniformLayout& layout, const std::map<int, void*>& blockPointers, bool isVertex) in generateCompareSrc() argument 989 deUint32 unusedMask = isVertex ? UNUSED_VERTEX : UNUSED_FRAGMENT; in generateCompareSrc() 995 if ((block.getFlags() & (isVertex ? DECLARE_VERTEX : DECLARE_FRAGMENT)) == 0) in generateCompareSrc()
|
/external/deqp/framework/randomshaders/ |
D | rsgExpression.cpp | 1577 bool isVertex = state.getShader().getType() == Shader::TYPE_VERTEX; in tokenize() local 1584 case TYPE_TEXTURE2D_LOD: str << (isVertex ? "textureLod" : "texture"); break; in tokenize() 1586 case TYPE_TEXTURE2D_PROJ_LOD: str << (isVertex ? "textureProjLod" : "textureProj"); break; in tokenize() 1588 case TYPE_TEXTURECUBE_LOD: str << (isVertex ? "textureLod" : "texture"); break; in tokenize() 1598 case TYPE_TEXTURE2D_LOD: str << (isVertex ? "texture2DLod" : "texture2D"); break; in tokenize() 1600 case TYPE_TEXTURE2D_PROJ_LOD: str << (isVertex ? "texture2DProjLod" : "texture2DProj"); break; in tokenize() 1602 case TYPE_TEXTURECUBE_LOD: str << (isVertex ? "textureCubeLod" : "textureCube"); break; in tokenize()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 1053 …& interface, const UniformLayout& layout, const std::map<int, void*>& blockPointers, bool isVertex) in generateCompareSrc() argument 1055 deUint32 unusedMask = isVertex ? UNUSED_VERTEX : UNUSED_FRAGMENT; in generateCompareSrc() 1061 if ((block.getFlags() & (isVertex ? DECLARE_VERTEX : DECLARE_FRAGMENT)) == 0) in generateCompareSrc()
|
/external/deqp/modules/egl/ |
D | teglRobustnessTests.cpp | 1291 …const bool isVertex = (m_shaderType == SHADERTYPE_VERT || m_shaderType == SHADERTYPE_VERT_AND_FRAG… in setup() local 1292 …string shaderTypeStr = isVertex ? "GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS" : "GL_MAX_FRAGMENT_SHADER_… in setup() 1294 …GLU_CHECK_GLW_CALL(m_gl, getIntegerv(isVertex ? GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS : GL_MAX_FRAGM… in setup()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 1562 bool isVertex, in generateCompareSrc() argument 1565 deUint32 unusedMask = isVertex ? UNUSED_VERTEX : UNUSED_FRAGMENT; in generateCompareSrc() 1571 if ((block.getFlags() & (isVertex ? DECLARE_VERTEX : DECLARE_FRAGMENT)) == 0) in generateCompareSrc()
|