/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 94 static std::string generateVertexShader (const ShaderSpec& shaderSpec, const std::string& inputPref… in generateVertexShader() argument 96 const bool usesInout = glu::glslVersionUsesInOutQualifiers(shaderSpec.version); in generateVertexShader() 103 src << glu::getGLSLVersionDeclaration(shaderSpec.version) << "\n"; in generateVertexShader() 105 if (!shaderSpec.globalDeclarations.empty()) in generateVertexShader() 106 src << shaderSpec.globalDeclarations << "\n"; in generateVertexShader() 110 …for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.… in generateVertexShader() 113 …for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outp… in generateVertexShader() 136 …for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.… in generateVertexShader() 140 …for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outp… in generateVertexShader() 145 std::istringstream opSrc (shaderSpec.source); in generateVertexShader() [all …]
|
D | glsShaderExecUtil.hpp | 91 ShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec); 102 …or (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const ShaderSpec& shaderSpec);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 129 static std::string generateVertexShader (const ShaderSpec& shaderSpec, const std::string& inputPref… in generateVertexShader() argument 137 if (!shaderSpec.globalDeclarations.empty()) in generateVertexShader() 138 src << shaderSpec.globalDeclarations << "\n"; in generateVertexShader() 143 …for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.… in generateVertexShader() 147 …for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outp… in generateVertexShader() 170 …for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.… in generateVertexShader() 174 …for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outp… in generateVertexShader() 179 std::istringstream opSrc (shaderSpec.source); in generateVertexShader() 187 …for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outp… in generateVertexShader() 211 static void generateFragShaderOutputDecl (std::ostream& src, const ShaderSpec& shaderSpec, bool use… in generateFragShaderOutputDecl() argument [all …]
|
D | vktOpaqueTypeIndexingTests.cpp | 99 const ShaderSpec& shaderSpec, 149 const ShaderSpec& shaderSpec, in OpaqueTypeIndexingTestInstance() argument 157 , m_shaderSpec (shaderSpec) in OpaqueTypeIndexingTestInstance() 424 const ShaderSpec& shaderSpec, 442 const ShaderSpec& shaderSpec, in SamplerIndexingCaseInstance() argument 449 …: OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, executor, name, uniformSetup, i… in SamplerIndexingCaseInstance() 814 const ShaderSpec& shaderSpec, 834 const ShaderSpec& shaderSpec, in BlockArrayIndexingCaseInstance() argument 842 …: OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, executor, name, uniformSetup, i… in BlockArrayIndexingCaseInstance() 1054 const ShaderSpec& shaderSpec, [all …]
|
D | vktShaderExecutor.hpp | 154 ShaderExecutor (const ShaderSpec& shaderSpec, glu::ShaderType shaderType); 288 ShaderExecutor* createExecutor(glu::ShaderType shaderType, const ShaderSpec& shaderSpec);
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderBuiltinConstantTests.cpp | 195 ShaderSpec shaderSpec; in createGetConstantExecutor() local 197 shaderSpec.version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in createGetConstantExecutor() 198 shaderSpec.source = string("result = ") + varName + ";\n"; in createGetConstantExecutor() 200 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(dataType, glu::PRECISION_HIGHP))); in createGetConstantExecutor() 203 shaderSpec.globalDeclarations = "#extension " + extName + " : require\n"; in createGetConstantExecutor() 205 return createExecutor(renderCtx, shaderType, shaderSpec); in createGetConstantExecutor()
|
D | es31fOpaqueTypeIndexingTests.cpp | 500 ShaderSpec shaderSpec; in iterate() local 506 …getShaderSpec(&shaderSpec, numSamplers, numLookups, &lookupIndices[0], m_context.getRenderContext(… in iterate() 528 …derExecutorPtr executor (createExecutor(m_context.getRenderContext(), m_shaderType, shaderSpec)); in iterate() 849 ShaderSpec shaderSpec; in iterate() local 858 getShaderSpec(&shaderSpec, numInstances, numReads, &readIndices[0], m_context.getRenderContext()); in iterate() 866 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec)); in iterate() 1078 ShaderSpec shaderSpec; in iterate() local 1084 getShaderSpec(&shaderSpec, m_numCounters, numOps, &opIndices[0], m_context.getRenderContext()); in iterate() 1088 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec)); in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderOperatorTests.cpp | 1283 ShaderDataSpec shaderSpec; in init() local 1296 shaderSpec.numInputs = 0; in init() 1297 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; in init() 1298 shaderSpec.output = outDataType; in init() 1299 shaderSpec.resultScale = funcInfo.resultScale; in init() 1300 shaderSpec.resultBias = funcInfo.resultBias; in init() 1367 … shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); in init() 1379 …Case(m_context, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp.c_str(), shaderSpec)); in init() 1435 ShaderDataSpec shaderSpec; in init() local 1441 shaderSpec.numInputs = 3; in init() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderOperatorTests.cpp | 1892 ShaderDataSpec shaderSpec; in init() local 1893 shaderSpec.numInputs = 0; in init() 1894 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; in init() 1895 shaderSpec.output = outDataType; in init() 1896 shaderSpec.resultScale = funcInfo.resultScale; in init() 1897 shaderSpec.resultBias = funcInfo.resultBias; in init() 1898 shaderSpec.referenceScale = funcInfo.referenceScale; in init() 1899 shaderSpec.referenceBias = funcInfo.referenceBias; in init() 1974 … shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); in init() 1986 …OperatorCase(m_testCtx, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp, shaderSpec)); in init() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderOperatorTests.cpp | 1921 ShaderDataSpec shaderSpec; in init() local 1934 shaderSpec.numInputs = 0; in init() 1935 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; in init() 1936 shaderSpec.output = outDataType; in init() 1937 shaderSpec.resultScale = funcInfo.resultScale; in init() 1938 shaderSpec.resultBias = funcInfo.resultBias; in init() 1939 shaderSpec.referenceScale = funcInfo.referenceScale; in init() 1940 shaderSpec.referenceBias = funcInfo.referenceBias; in init() 2015 … shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); in init() 2027 …OperatorCase(m_context, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp, shaderSpec)); in init() [all …]
|
D | es3fShaderBuiltinVarTests.cpp | 118 ShaderSpec shaderSpec; in createGetConstantExecutor() local 120 shaderSpec.version = glu::GLSL_VERSION_300_ES; in createGetConstantExecutor() 121 shaderSpec.source = string("result = ") + varName + ";\n"; in createGetConstantExecutor() 122 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))); in createGetConstantExecutor() 124 return createExecutor(renderCtx, shaderType, shaderSpec); in createGetConstantExecutor()
|