/external/deqp/modules/glshared/ |
H A D | glsShaderExecUtil.cpp | 78 static std::string generateVertexShader (const ShaderSpec& shaderSpec) argument 80 const bool usesInout = glu::glslVersionUsesInOutQualifiers(shaderSpec.version); 85 src << glu::getGLSLVersionDeclaration(shaderSpec.version) << "\n"; 87 if (!shaderSpec.globalDeclarations.empty()) 88 src << shaderSpec.globalDeclarations << "\n"; 90 for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.end(); ++input) 93 for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outputs.end(); ++output) 116 for (vector<Symbol>::const_iterator output = shaderSpec 148 generateGeometryShader(const ShaderSpec& shaderSpec) argument 247 generatePassthroughVertexShader(const ShaderSpec& shaderSpec, const char* inputPrefix, const char* outputPrefix) argument 275 generateFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap) argument 383 ShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 445 VertexProcessorExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources) argument 557 VertexShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 582 GeometryShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 639 FragmentShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 895 BufferIoExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources) argument 1220 ComputeShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1306 generateTessControlShader(const ShaderSpec& shaderSpec) argument 1358 TessControlExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1432 generateTessEvalShader(const ShaderSpec& shaderSpec) argument 1461 TessEvaluationExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1503 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/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | Compiler.cpp | 101 shaderSpec(spec), 152 if (IsWebGLBasedSpec(shaderSpec)) 166 shaderType, shaderSpec, compileOptions, true, 203 if (success && shaderSpec == SH_CSS_SHADERS_SPEC) 333 InsertBuiltInFunctions(shaderType, shaderSpec, resources, symbolTable); 335 IdentifyBuiltIns(shaderType, shaderSpec, resources, symbolTable); 436 if (shaderSpec != SH_WEBGL_SPEC)
|
H A D | Compiler.h | 82 ShShaderSpec getShaderSpec() const { return shaderSpec; } 149 ShShaderSpec shaderSpec; member in class:TCompiler
|
H A D | ParseContext.h | 32 shaderSpec(spec), 51 ShShaderSpec shaderSpec; // The language specification compiler conforms to - GLES2 or WebGL. member in struct:TParseContext
|
H A D | glslang.l | 554 context->preprocessor.setMaxTokenSize(GetGlobalMaxTokenSize(context->shaderSpec));
|
H A D | ParseContext.cpp | 438 if (IsWebGLBasedSpec(shaderSpec)) { 447 if (shaderSpec == SH_CSS_SHADERS_SPEC && identifier.compare(0, 4, "css_") == 0) { 1980 if (!IsWebGLBasedSpec(shaderSpec)) {
|
H A D | glslang_lex.cpp | 3356 context->preprocessor.setMaxTokenSize(GetGlobalMaxTokenSize(context->shaderSpec));
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderBuiltinConstantTests.cpp | 173 ShaderSpec shaderSpec; 175 shaderSpec.version = glu::GLSL_VERSION_310_ES; 176 shaderSpec.source = string("result = ") + varName + ";\n"; 178 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(dataType, glu::PRECISION_HIGHP))); 181 shaderSpec.globalDeclarations = "#extension " + extName + " : require\n"; 183 return createExecutor(renderCtx, shaderType, shaderSpec);
|
H A D | es31fOpaqueTypeIndexingTests.cpp | 445 ShaderSpec shaderSpec; local 451 getShaderSpec(&shaderSpec, numSamplers, numLookups, &lookupIndices[0]); 473 ShaderExecutorPtr executor (createExecutor(m_context.getRenderContext(), m_shaderType, shaderSpec)); 780 ShaderSpec shaderSpec; local 789 getShaderSpec(&shaderSpec, numInstances, numReads, &readIndices[0]); 797 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec)); 977 ShaderSpec shaderSpec; local 983 getShaderSpec(&shaderSpec, numCounters, numOps, &opIndices[0]); 987 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/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);
|