Home
last modified time | relevance | path

Searched refs:isVertex (Results 1 – 19 of 19) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fShaderReturnTests.cpp153 …(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 …]
Des2fShaderTextureFunctionTests.cpp560 … 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/
Des3fShaderReturnTests.cpp126 …(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 …]
Des3fShaderSwitchTests.cpp89 …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/
DvktShaderRenderReturnTests.cpp138 …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 …]
DvktShaderRenderSwitchTests.cpp106 … 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()
DvktShaderRenderMatrixTests.cpp1390 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/
Des2pShaderControlStatementTests.cpp140 …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 …]
Des2pShaderCompilationCases.cpp2843 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 …]
Des2pShaderOperatorTests.cpp1099 …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/
Des3pShaderControlStatementTests.cpp140 …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 …]
Des3pShaderCompilationCases.cpp2863 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 …]
Des3pShaderOperatorTests.cpp1099 …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/
DglcShaderSwitchTests.cpp99 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()
DglcUniformBlockCase.cpp982 const UniformLayout& layout, const std::map<int, void*>& blockPointers, bool isVertex) in generateCompareSrc() argument
984 deUint32 unusedMask = isVertex ? UNUSED_VERTEX : UNUSED_FRAGMENT; in generateCompareSrc()
990 if ((block.getFlags() & (isVertex ? DECLARE_VERTEX : DECLARE_FRAGMENT)) == 0) in generateCompareSrc()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp1577 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/
DglsUniformBlockCase.cpp1056 …& interface, const UniformLayout& layout, const std::map<int, void*>& blockPointers, bool isVertex) in generateCompareSrc() argument
1058 deUint32 unusedMask = isVertex ? UNUSED_VERTEX : UNUSED_FRAGMENT; in generateCompareSrc()
1064 if ((block.getFlags() & (isVertex ? DECLARE_VERTEX : DECLARE_FRAGMENT)) == 0) in generateCompareSrc()
/external/deqp/modules/egl/
DteglRobustnessTests.cpp1291 …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/
DvktUniformBlockCase.cpp1529 bool isVertex, in generateCompareSrc() argument
1532 deUint32 unusedMask = isVertex ? UNUSED_VERTEX : UNUSED_FRAGMENT; in generateCompareSrc()
1538 if ((block.getFlags() & (isVertex ? DECLARE_VERTEX : DECLARE_FRAGMENT)) == 0) in generateCompareSrc()