Home
last modified time | relevance | path

Searched refs:globalDeclarations (Results 1 – 20 of 20) sorted by relevance

/third_party/vk-gl-cts/modules/glshared/
DglsShaderExecUtil.cpp105 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()
1175 if (!spec.globalDeclarations.empty()) in generateComputeShader()
1176 src << spec.globalDeclarations << "\n"; in generateComputeShader()
[all …]
DglsShaderExecUtil.hpp63 …std::string globalDeclarations; //!< These are placed into global scope. Can contain uniform d… member
DglsBuiltinPrecisionTests.cpp4678 spec.globalDeclarations = os.str(); in testStatement()
4684 spec.globalDeclarations = "#extension " + m_extension + " : require\n"; in testStatement()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderMultisampleInterpolationTests.cpp1544 const char* globalDeclarations = ""; in genShaderSource() local
1552 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()
1558 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()
1565 globalDeclarations = "in highp vec4 v_var;\n"; in genShaderSource()
1571 globalDeclarations = "flat in highp ivec4 v_var;\n"; in genShaderSource()
1577 globalDeclarations = "flat in highp uvec4 v_var;\n"; in genShaderSource()
1583 globalDeclarations = "in highp float v_var[2];\n"; in genShaderSource()
1591 globalDeclarations = "struct S\n" in genShaderSource()
1610 globalDeclarations = "highp vec4 global_var;\n"; in genShaderSource()
1617 globalDeclarations = "const highp vec4 const_var = vec4(0.2);\n"; in genShaderSource()
[all …]
Des31fShaderUniformIntegerFunctionTests.cpp80 m_spec.globalDeclarations = oss.str(); in UniformIntegerFunctionCase()
Des31fOpaqueTypeIndexingTests.cpp464 spec->globalDeclarations = global.str(); in getShaderSpec()
845 spec->globalDeclarations = global.str(); in getShaderSpec()
1076 spec->globalDeclarations = global.str(); in getShaderSpec()
Des31fShaderBuiltinConstantTests.cpp214 shaderSpec.globalDeclarations = "#extension " + extName + " : require\n"; in createGetConstantExecutor()
Des31fShaderCommonFunctionTests.cpp1938 m_spec.globalDeclarations = "#extension GL_EXT_gpu_shader5 : require\n"; in FmaCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.hpp66 …std::string globalDeclarations; //!< These are placed into global scope. Can contain uniform de… member
DvktShaderExecutor.cpp177 if (!shaderSpec.globalDeclarations.empty()) in generatePassthroughVertexShader()
178 src << shaderSpec.globalDeclarations << "\n"; in generatePassthroughVertexShader()
209 if (!shaderSpec.globalDeclarations.empty()) in generateVertexShader()
210 src << shaderSpec.globalDeclarations << "\n"; in generateVertexShader()
401 if (!shaderSpec.globalDeclarations.empty()) in generatePassthroughFragmentShader()
402 src << shaderSpec.globalDeclarations << "\n"; in generatePassthroughFragmentShader()
441 if (!shaderSpec.globalDeclarations.empty()) in generateGeometryShader()
442 src << shaderSpec.globalDeclarations << "\n"; in generateGeometryShader()
518 if (!shaderSpec.globalDeclarations.empty()) in generateFragmentShader()
519 src << shaderSpec.globalDeclarations << "\n"; in generateFragmentShader()
[all …]
DvktShaderClockTests.cpp210 …m_shaderSpec.globalDeclarations = tcu::StringTemplate("${EXTENSIONS}").specialize(specializations); in initShaderSpec()
DvktOpaqueTypeIndexingTests.cpp1120 m_shaderSpec.globalDeclarations = global.str(); in createShaderSpec()
1529 m_shaderSpec.globalDeclarations = global.str(); in createShaderSpec()
1948 m_shaderSpec.globalDeclarations = global.str(); in createShaderSpec()
DvktAtomicOperationTests.cpp1443 m_shaderSpec.globalDeclarations = shaderTemplateGlobal.specialize(specializations); in createShaderSpec()
DvktShaderBuiltinPrecisionTests.cpp6439 m_spec.globalDeclarations = os.str(); in testStatement()
6443 m_spec.globalDeclarations = "#extension " + m_extension + " : require\n"; in testStatement()
6470 m_spec.globalDeclarations += "#extension GL_EXT_shader_explicit_arithmetic_types: require\n"; in testStatement()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp269 spec.globalDeclarations = in getShaderSpec()
276 spec.globalDeclarations = in getShaderSpec()
DvktYCbCrViewTests.cpp368 spec.globalDeclarations = in getShaderSpec()
DvktYCbCrImageQueryTests.cpp130 spec.globalDeclarations = in getShaderSpec()
DvktYCbCrConversionTests.cpp99 …spec.globalDeclarations = "layout(set=" + de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) … in createShaderSpec()
107 …spec.globalDeclarations = "layout(set=" + de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) … in createShaderSpec()
1086 …spec.globalDeclarations = "layout(set=" + de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) … in createTestShaders()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringExplicitLodTests.cpp996 …m_shaderSpec.globalDeclarations = "layout(set=" + de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET… in initSpec()
997 m_shaderSpec.globalDeclarations += genSamplerDeclaration(m_testCaseData.imParams, in initSpec()
999 m_shaderSpec.globalDeclarations += " testSampler;"; in initSpec()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderConstExprTests.cpp223 shaderSpec.globalDeclarations += "precision highp float;\n"; in createTestCasesForAllShaderTypes()