/external/deqp/modules/glshared/ |
H A D | glsShaderExecUtil.cpp | 94 static std::string generateVertexShader (const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 96 const bool usesInout = glu::glslVersionUsesInOutQualifiers(shaderSpec.version); 103 src << glu::getGLSLVersionDeclaration(shaderSpec.version) << "\n"; 105 if (!shaderSpec.globalDeclarations.empty()) 106 src << shaderSpec.globalDeclarations << "\n"; 110 for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.end(); ++input) 113 for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outputs.end(); ++output) 136 for (vector<Symbol>::const_iterator input = shaderSpec 171 generateGeometryShader(const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 270 generatePassthroughVertexShader(const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 298 generateFragShaderOutputDecl(std::ostream& src, const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& outputPrefix) argument 349 generateFragShaderOutAssign(std::ostream& src, const ShaderSpec& shaderSpec, bool useIntOutputs, const std::string& valuePrefix, const std::string& outputPrefix) argument 377 generateFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) argument 419 generatePassthroughFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) argument 457 ShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 520 FragmentOutExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 715 VertexShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 747 create(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 755 GeometryShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 784 FragmentShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 869 BufferIoExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources) argument 1194 ComputeShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1256 checkTessSupport(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, glu::ShaderType stage) argument 1290 create(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1297 generateTessControlShader(const ShaderSpec& shaderSpec) argument 1349 TessControlExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1403 create(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1434 generateTessEvalShader(const ShaderSpec& shaderSpec) argument 1463 TessEvaluationExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1504 createExecutor(const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const ShaderSpec& shaderSpec) argument [all...] |
H A D | glsShaderExecUtil.hpp | 91 ShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec); 102 ShaderExecutor* createExecutor (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const ShaderSpec& shaderSpec);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 129 static std::string generateVertexShader (const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 137 if (!shaderSpec.globalDeclarations.empty()) 138 src << shaderSpec.globalDeclarations << "\n"; 143 for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.end(); ++input, ++locationNumber) 147 for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outputs.end(); ++output, ++locationNumber) 170 for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.end(); ++input) 174 for (vector<Symbol>::const_iterator output = shaderSpec 211 generateFragShaderOutputDecl(std::ostream& src, const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& outputPrefix) argument 260 generateFragShaderOutAssign(std::ostream& src, const ShaderSpec& shaderSpec, bool useIntOutputs, const std::string& valuePrefix, const std::string& outputPrefix) argument 288 generatePassthroughFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) argument 323 generateGeometryShader(const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 404 generateFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) argument 505 FragmentOutExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 1458 VertexShaderExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 1488 GeometryShaderExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 1522 FragmentShaderExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 1608 BufferIoExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 1901 ComputeShaderExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 2177 TessellationExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 2726 TessControlExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 2735 generateTessControlShader(const ShaderSpec& shaderSpec) argument 2823 TessEvaluationExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 2854 generateTessEvalShader(const ShaderSpec& shaderSpec) argument 2912 ShaderExecutor(const ShaderSpec& shaderSpec, glu::ShaderType shaderType) argument 2924 createExecutor(glu::ShaderType shaderType, const ShaderSpec& shaderSpec) argument [all...] |
H A D | vktOpaqueTypeIndexingTests.cpp | 99 const ShaderSpec& shaderSpec, 149 const ShaderSpec& shaderSpec, 157 , m_shaderSpec (shaderSpec) 424 const ShaderSpec& shaderSpec, 442 const ShaderSpec& shaderSpec, 449 : OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, executor, name, uniformSetup, indexExprType) 814 const ShaderSpec& shaderSpec, 834 const ShaderSpec& shaderSpec, 842 : OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, executor, name, uniformSetup, indexExprType) 1054 const ShaderSpec& shaderSpec, 147 OpaqueTypeIndexingTestInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, ShaderExecutor& executor, const char* name, UniformSetup* uniformSetup, const IndexExprType indexExprType) argument 440 SamplerIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, ShaderExecutor& executor, const char* name, glu::DataType samplerType, const IndexExprType indexExprType, UniformSetup* uniformSetup, const std::vector<int>& lookupIndices) argument 832 BlockArrayIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, ShaderExecutor& executor, const char* name, BlockType blockType, const IndexExprType indexExprType, UniformSetup* uniformSetup, const std::vector<int>& readIndices, const std::vector<deUint32>& inValues) argument 1068 AtomicCounterIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, ShaderExecutor& executor, const char* name, UniformSetup* uniformSetup, const std::vector<int>& opIndices, const IndexExprType indexExprType) argument [all...] |
H A 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/ |
H A D | es31fShaderBuiltinConstantTests.cpp | 195 ShaderSpec shaderSpec; local 197 shaderSpec.version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; 198 shaderSpec.source = string("result = ") + varName + ";\n"; 200 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(dataType, glu::PRECISION_HIGHP))); 203 shaderSpec.globalDeclarations = "#extension " + extName + " : require\n"; 205 return createExecutor(renderCtx, shaderType, shaderSpec);
|
H A D | es31fOpaqueTypeIndexingTests.cpp | 500 ShaderSpec shaderSpec; local 506 getShaderSpec(&shaderSpec, numSamplers, numLookups, &lookupIndices[0], m_context.getRenderContext()); 528 ShaderExecutorPtr executor (createExecutor(m_context.getRenderContext(), m_shaderType, shaderSpec)); 849 ShaderSpec shaderSpec; local 858 getShaderSpec(&shaderSpec, numInstances, numReads, &readIndices[0], m_context.getRenderContext()); 866 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec)); 1078 ShaderSpec shaderSpec; local 1084 getShaderSpec(&shaderSpec, m_numCounters, numOps, &opIndices[0], m_context.getRenderContext()); 1088 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec));
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderOperatorTests.cpp | 1283 ShaderDataSpec shaderSpec; local 1296 shaderSpec.numInputs = 0; 1297 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; 1298 shaderSpec.output = outDataType; 1299 shaderSpec.resultScale = funcInfo.resultScale; 1300 shaderSpec.resultBias = funcInfo.resultBias; 1367 shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); 1379 innerGroup->addChild(new ShaderOperatorCase(m_context, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp.c_str(), shaderSpec)); 1435 ShaderDataSpec shaderSpec; local 1498 ShaderDataSpec shaderSpec; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderOperatorTests.cpp | 1892 ShaderDataSpec shaderSpec; local 1893 shaderSpec.numInputs = 0; 1894 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; 1895 shaderSpec.output = outDataType; 1896 shaderSpec.resultScale = funcInfo.resultScale; 1897 shaderSpec.resultBias = funcInfo.resultBias; 1898 shaderSpec.referenceScale = funcInfo.referenceScale; 1899 shaderSpec.referenceBias = funcInfo.referenceBias; 1974 shaderSpec.inputs[shaderSpec 2052 ShaderDataSpec shaderSpec; local 2117 ShaderDataSpec shaderSpec; local [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderOperatorTests.cpp | 1921 ShaderDataSpec shaderSpec; local 1934 shaderSpec.numInputs = 0; 1935 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; 1936 shaderSpec.output = outDataType; 1937 shaderSpec.resultScale = funcInfo.resultScale; 1938 shaderSpec.resultBias = funcInfo.resultBias; 1939 shaderSpec.referenceScale = funcInfo.referenceScale; 1940 shaderSpec.referenceBias = funcInfo.referenceBias; 2015 shaderSpec.inputs[shaderSpec 2088 ShaderDataSpec shaderSpec; local 2153 ShaderDataSpec shaderSpec; local [all...] |
H A D | es3fShaderBuiltinVarTests.cpp | 118 ShaderSpec shaderSpec; 120 shaderSpec.version = glu::GLSL_VERSION_300_ES; 121 shaderSpec.source = string("result = ") + varName + ";\n"; 122 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))); 124 return createExecutor(renderCtx, shaderType, shaderSpec);
|