Home
last modified time | relevance | path

Searched refs:specializationMap (Results 1 – 15 of 15) sorted by relevance

/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp272 std::map<std::string, std::string> specializationMap; in prepareTexturingProgramSources() local
273 specializationMap["VERSION"] = glu::getGLSLVersionDeclaration(glslVersion); in prepareTexturingProgramSources()
300 specializationMap["PROCESS_COLOR"] = ""; in prepareTexturingProgramSources()
304 specializationMap["SAMPLED_TYPE"] = "uvec4"; in prepareTexturingProgramSources()
305 specializationMap["SAMPLER"] = "usampler2D"; in prepareTexturingProgramSources()
308 specializationMap["SAMPLED_TYPE"] = "ivec4"; in prepareTexturingProgramSources()
309 specializationMap["SAMPLER"] = "isampler2D"; in prepareTexturingProgramSources()
310 specializationMap["CALCULATE_COLOR"] = "vec4(v) / 127.0"; in prepareTexturingProgramSources()
314 specializationMap["CALCULATE_COLOR"] = "vec4(v) / 255.0"; in prepareTexturingProgramSources()
318 specializationMap["SAMPLED_TYPE"] = "ivec4"; in prepareTexturingProgramSources()
[all …]
DglcSeparableProgramsTransformFeedbackTests.cpp198 std::map<std::string, std::string> specializationMap; in iterate() local
199 specializationMap["VERSION"] = glu::getGLSLVersionDeclaration(glslVersion); in iterate()
210 specializationMap["PERVERTEX_BLOCK"] = vertexBlock + vertexBlockPostfix[stageIndex]; in iterate()
211 std::string specializedShader = StringTemplate(source).specialize(specializationMap); in iterate()
220 specializationMap["IN_VARYING_NAME"] = stageData->tfVaryings[0]; in iterate()
DglcLayoutLocationTests.cpp573 std::map<std::string, std::string> specializationMap; in iterate() local
574 specializationMap["VERSION"] = glu::getGLSLVersionDeclaration(glslVersion); in iterate()
575 std::string cs = tcu::StringTemplate(csTemplate).specialize(specializationMap); in iterate()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderDrawParametersTests.cpp238 std::map<std::string, std::string> specializationMap; in draw() local
242 specializationMap["VERSION"] = "#version 460"; in draw()
243 specializationMap["DRAW_PARAMETERS_EXTENSION"] = ""; in draw()
244 specializationMap["GL_BASE_VERTEX"] = "gl_BaseVertex"; in draw()
245 specializationMap["GL_BASE_INSTANCE"] = "gl_BaseInstance"; in draw()
246 specializationMap["GL_DRAW_ID"] = "gl_DrawID"; in draw()
250 specializationMap["VERSION"] = "#version 450"; in draw()
251specializationMap["DRAW_PARAMETERS_EXTENSION"] = "#extension GL_ARB_shader_draw_parameters : enabl… in draw()
252 specializationMap["GL_BASE_VERTEX"] = "gl_BaseVertexARB"; in draw()
253 specializationMap["GL_BASE_INSTANCE"] = "gl_BaseInstanceARB"; in draw()
[all …]
/external/deqp/modules/gles31/functional/
Des31fProgramStateQueryTests.cpp68 std::map<std::string, std::string> specializationMap; in specializeShader() local
70 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
74 specializationMap["GEOMETRY_SHADER_REQUIRE"] = ""; in specializeShader()
75 specializationMap["TESSELLATION_SHADER_REQUIRE"] = ""; in specializeShader()
79 specializationMap["GEOMETRY_SHADER_REQUIRE"] = "#extension GL_EXT_geometry_shader : require"; in specializeShader()
80specializationMap["TESSELLATION_SHADER_REQUIRE"] = "#extension GL_EXT_tessellation_shader : requir… in specializeShader()
83 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
Des31fShaderTextureSizeTests.cpp58 std::map<std::string, std::string> specializationMap; in specializeShader() local
60 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
62 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
Des31fPrimitiveBoundingBoxTests.cpp127 std::map<std::string, std::string> specializationMap; in specializeShader() local
129 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
133 specializationMap["GEOMETRY_SHADER_REQUIRE"] = ""; in specializeShader()
134 specializationMap["GEOMETRY_POINT_SIZE"] = "#extension GL_EXT_geometry_point_size : require"; in specializeShader()
135 specializationMap["GPU_SHADER5_REQUIRE"] = ""; in specializeShader()
136 specializationMap["TESSELLATION_SHADER_REQUIRE"] = ""; in specializeShader()
137specializationMap["TESSELLATION_POINT_SIZE_REQUIRE"] = "#extension GL_EXT_tessellation_point_size … in specializeShader()
138 specializationMap["PRIMITIVE_BOUNDING_BOX_REQUIRE"] = ""; in specializeShader()
139 specializationMap["PRIM_GL_BOUNDING_BOX"] = "gl_BoundingBox"; in specializeShader()
143 specializationMap["GEOMETRY_SHADER_REQUIRE"] = "#extension GL_EXT_geometry_shader : require"; in specializeShader()
[all …]
Des31fTextureGatherTests.cpp84 std::map<std::string, std::string> specializationMap; in specializeShader() local
86 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
90 specializationMap["GPU_SHADER5_REQUIRE"] = ""; in specializeShader()
92 specializationMap["GPU_SHADER5_REQUIRE"] = "#extension GL_EXT_gpu_shader5 : require"; in specializeShader()
94 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
Des31fTextureMultisampleTests.cpp130 std::map<std::string, std::string> specializationMap; in specializeShader() local
132 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
134 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
Des31fSynchronizationTests.cpp130 std::map<std::string, std::string> specializationMap; in specializeShader() local
131 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
132specializationMap["SHADER_IMAGE_ATOMIC_REQUIRE"] = isES32orGL45 ? "" : "#extension GL_OES_shader_i… in specializeShader()
134 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
Des31fTessellationTests.cpp1548 std::map<std::string, std::string> specializationMap; in specializeShader() local
1550 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
1551specializationMap["GPU_SHADER5_REQUIRE"] = supportsES32 ? "" : "#extension GL_EXT_gpu_shader5 : … in specializeShader()
1552specializationMap["TESSELLATION_SHADER_REQUIRE"] = supportsES32 ? "" : "#extension GL_EXT_tessella… in specializeShader()
1554 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
Des31fProgramInterfaceQueryTests.cpp222 std::map<std::string, std::string> specializationMap; in specializeShader() local
224 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader()
226 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmEmptyStructTests.cpp188 std::map<std::string, std::string> specializationMap in addCopyingComputeGroup() local
200 spec.assembly = shaderTemplate.specialize(specializationMap); in addCopyingComputeGroup()
/external/deqp/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp305 std::map<std::string, std::string> specializationMap; in renderQuad() local
306 specializationMap["VERSION"] = glu::getGLSLVersionDeclaration(glslVersion); in renderQuad()
310 specializationMap["HEADER"] = "#extension GL_OES_texture_3D : enable"; in renderQuad()
311 specializationMap["TEXCOORD_TYPE"] = "vec3"; in renderQuad()
312 specializationMap["SAMPLER_TYPE"] = "sampler3D"; in renderQuad()
313 specializationMap["LOOKUP"] = "texture3D"; in renderQuad()
318 specializationMap["HEADER"] = ""; in renderQuad()
319 specializationMap["TEXCOORD_TYPE"] = "vec2"; in renderQuad()
320 specializationMap["SAMPLER_TYPE"] = "sampler2D"; in renderQuad()
321 specializationMap["LOOKUP"] = "texture2D"; in renderQuad()
[all …]
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp9196 std::map<std::string, std::string> specializationMap; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() local
9288 specializationMap["SAMPLER_PREFIX"] = " "; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
9289 specializationMap["OUT_QUALIFIER"] = " "; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
9290 specializationMap["OUT_TYPE"] = " vec4"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
9291 specializationMap["EPSILON_TYPE"] = "float"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
9292 specializationMap["EPSILON_VALUE"] = "(1.0/255.0)"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
9293 specializationMap["FN"] = "abs"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
9294 shader_source[0] = tcu::StringTemplate(source).specialize(specializationMap); in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
9317 specializationMap["SAMPLER_PREFIX"] = "i"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
9318 specializationMap["OUT_QUALIFIER"] = "flat"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport()
[all …]