Searched refs:globalDeclarations (Results 1 – 17 of 17) sorted by relevance
105 if (!shaderSpec.globalDeclarations.empty()) in generateVertexShader()106 src << shaderSpec.globalDeclarations << "\n"; in generateVertexShader()183 if (!shaderSpec.globalDeclarations.empty()) in generateGeometryShader()184 src << shaderSpec.globalDeclarations << "\n"; in generateGeometryShader()385 if (!shaderSpec.globalDeclarations.empty()) in generateFragmentShader()386 src << shaderSpec.globalDeclarations << "\n"; in generateFragmentShader()427 if (!shaderSpec.globalDeclarations.empty()) in generatePassthroughFragmentShader()428 src << shaderSpec.globalDeclarations << "\n"; in generatePassthroughFragmentShader()1174 if (!spec.globalDeclarations.empty()) in generateComputeShader()1175 src << spec.globalDeclarations << "\n"; in generateComputeShader()[all …]
63 …std::string globalDeclarations; //!< These are placed into global scope. Can contain uniform d… member
4518 spec.globalDeclarations = os.str(); in testStatement()4524 spec.globalDeclarations = "#extension " + m_extension + " : require\n"; in testStatement()
1525 const char* globalDeclarations = ""; in genShaderSource() local1533 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()1539 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()1546 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()1552 globalDeclarations = "flat in highp ivec4 v_var;\n"; in genShaderSource()1558 globalDeclarations = "flat in highp uvec4 v_var;\n"; in genShaderSource()1564 globalDeclarations = "in highp float v_var[2];\n"; in genShaderSource()1572 globalDeclarations = "struct S\n" in genShaderSource()1591 globalDeclarations = "highp vec4 global_var;\n"; in genShaderSource()1598 globalDeclarations = "const highp vec4 const_var = vec4(0.2);\n"; in genShaderSource()[all …]
460 spec->globalDeclarations = global.str(); in getShaderSpec()837 spec->globalDeclarations = global.str(); in getShaderSpec()1064 spec->globalDeclarations = global.str(); in getShaderSpec()
203 shaderSpec.globalDeclarations = "#extension " + extName + " : require\n"; in createGetConstantExecutor()
1975 m_spec.globalDeclarations = "#extension GL_EXT_gpu_shader5 : require\n"; in FmaCase()
56 …std::string globalDeclarations; //!< These are placed into global scope. Can contain uniform de… member
130 if (!shaderSpec.globalDeclarations.empty()) in generateVertexShader()131 src << shaderSpec.globalDeclarations << "\n"; in generateVertexShader()287 if (!shaderSpec.globalDeclarations.empty()) in generatePassthroughFragmentShader()288 src << shaderSpec.globalDeclarations << "\n"; in generatePassthroughFragmentShader()327 if (!shaderSpec.globalDeclarations.empty()) in generateGeometryShader()328 src << shaderSpec.globalDeclarations << "\n"; in generateGeometryShader()403 if (!shaderSpec.globalDeclarations.empty()) in generateFragmentShader()404 src << shaderSpec.globalDeclarations << "\n"; in generateFragmentShader()1880 if (!spec.globalDeclarations.empty()) in generateComputeShader()1881 src << spec.globalDeclarations << "\n"; in generateComputeShader()[all …]
1204 m_shaderSpec.globalDeclarations = global.str(); in createShaderSpec()1585 m_shaderSpec.globalDeclarations = global.str(); in createShaderSpec()1990 m_shaderSpec.globalDeclarations = global.str(); in createShaderSpec()
4636 m_spec.globalDeclarations = os.str(); in testStatement()4640 m_spec.globalDeclarations = "#extension " + m_extension + " : require\n"; in testStatement()
2382 m_spec.globalDeclarations = "#extension GL_EXT_gpu_shader5 : require\n"; in FmaCase()
1103 …m_shaderSpec.globalDeclarations = "layout(set=" + de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET… in initSpec()1104 m_shaderSpec.globalDeclarations += genSamplerDeclaration(m_testCaseData.imParams, in initSpec()1106 m_shaderSpec.globalDeclarations += " testSampler;"; in initSpec()
266 spec.globalDeclarations = in getShaderSpec()
419 spec.globalDeclarations = in getShaderSpec()
131 spec.globalDeclarations = in getShaderSpec()
600 …spec.globalDeclarations = "layout(set=" + de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) … in createShaderSpec()2285 …spec.globalDeclarations = "layout(set=" + de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) … in createTestShaders()