Searched refs:globalDeclarations (Results 1 – 7 of 7) sorted by relevance
1496 const char* globalDeclarations = ""; in genShaderSource() local1504 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()1510 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()1517 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()1523 globalDeclarations = "flat in highp ivec4 v_var;\n"; in genShaderSource()1529 globalDeclarations = "flat in highp uvec4 v_var;\n"; in genShaderSource()1535 globalDeclarations = "in highp float v_var[2];\n"; in genShaderSource()1543 globalDeclarations = "struct S\n" in genShaderSource()1562 globalDeclarations = "highp vec4 global_var;\n"; in genShaderSource()1569 globalDeclarations = "const highp vec4 const_var = vec4(0.2);\n"; in genShaderSource()[all …]
406 spec->globalDeclarations = global.str(); in getShaderSpec()768 spec->globalDeclarations = global.str(); in getShaderSpec()962 spec->globalDeclarations = global.str(); in getShaderSpec()
181 shaderSpec.globalDeclarations = "#extension " + extName + " : require\n"; in createGetConstantExecutor()
1975 m_spec.globalDeclarations = "#extension GL_EXT_gpu_shader5 : require\n"; in FmaCase()
103 if (!shaderSpec.globalDeclarations.empty()) in generateVertexShader()104 src << shaderSpec.globalDeclarations << "\n"; in generateVertexShader()175 if (!shaderSpec.globalDeclarations.empty()) in generateGeometryShader()176 src << shaderSpec.globalDeclarations << "\n"; in generateGeometryShader()298 if (!shaderSpec.globalDeclarations.empty()) in generateFragmentShader()299 src << shaderSpec.globalDeclarations << "\n"; in generateFragmentShader()1216 if (!spec.globalDeclarations.empty()) in generateComputeShader()1217 src << spec.globalDeclarations << "\n"; in generateComputeShader()1346 if (!shaderSpec.globalDeclarations.empty()) in generateTessControlShader()1347 src << shaderSpec.globalDeclarations << "\n"; in generateTessControlShader()[all …]
63 …std::string globalDeclarations; //!< These are placed into global scope. Can contain uniform d… member
4479 spec.globalDeclarations = os.str(); in testStatement()4485 spec.globalDeclarations = "#extension " + m_extension + " : require\n"; in testStatement()