/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcInternalformatTests.cpp | 272 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 …]
|
D | glcSeparableProgramsTransformFeedbackTests.cpp | 198 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()
|
D | glcLayoutLocationTests.cpp | 573 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cShaderDrawParametersTests.cpp | 238 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() 251 …specializationMap["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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmEmptyStructTests.cpp | 209 std::map<std::string, std::string> specializationMap in addCopyingComputeGroup() local 221 spec.assembly = shaderTemplate.specialize(specializationMap); in addCopyingComputeGroup() 536 std::map<std::string, std::string> specializationMap in addFunctionArgumentReturnValueGroup() local 544 spec.assembly = shaderTemplate.specialize(specializationMap); in addFunctionArgumentReturnValueGroup()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmEmptyStructTests.cpp | 209 std::map<std::string, std::string> specializationMap in addCopyingComputeGroup() local 221 spec.assembly = shaderTemplate.specialize(specializationMap); in addCopyingComputeGroup() 536 std::map<std::string, std::string> specializationMap in addFunctionArgumentReturnValueGroup() local 544 spec.assembly = shaderTemplate.specialize(specializationMap); in addFunctionArgumentReturnValueGroup()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineInterfaceMatchingTests.cpp | 602 SpecializationMap specializationMap in initPrograms() local 607 std::string& declarations = specializationMap["DECLARATIONS"]; in initPrograms() 608 std::string& operations = specializationMap["OPERATIONS"]; in initPrograms() 631 glslSources.add("vert") << glu::VertexSource(vertTemplate.specialize(specializationMap)); in initPrograms() 677 "}\n").specialize(specializationMap) in initPrograms() 727 "}\n").specialize(specializationMap) in initPrograms() 788 glslSources.add("geom") << glu::GeometrySource(geomTemplate.specialize(specializationMap)); in initPrograms() 817 glslSources.add("frag") << glu::FragmentSource(fragTemplate.specialize(specializationMap)); in initPrograms()
|
D | vktPipelineSamplerBorderSwizzleTests.cpp | 870 const VkSpecializationMapEntry specializationMap[] = in iterate() local 880 static_cast<deUint32>(DE_LENGTH_OF_ARRAY(specializationMap)), // deUint32 mapEntryCount; in iterate() 881 specializationMap, // const VkSpecializationMapEntry* pMapEntries; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineInterfaceMatchingTests.cpp | 602 SpecializationMap specializationMap in initPrograms() local 607 std::string& declarations = specializationMap["DECLARATIONS"]; in initPrograms() 608 std::string& operations = specializationMap["OPERATIONS"]; in initPrograms() 631 glslSources.add("vert") << glu::VertexSource(vertTemplate.specialize(specializationMap)); in initPrograms() 677 "}\n").specialize(specializationMap) in initPrograms() 727 "}\n").specialize(specializationMap) in initPrograms() 788 glslSources.add("geom") << glu::GeometrySource(geomTemplate.specialize(specializationMap)); in initPrograms() 817 glslSources.add("frag") << glu::FragmentSource(fragTemplate.specialize(specializationMap)); in initPrograms()
|
D | vktPipelineSamplerBorderSwizzleTests.cpp | 870 const VkSpecializationMapEntry specializationMap[] = in iterate() local 880 static_cast<deUint32>(DE_LENGTH_OF_ARRAY(specializationMap)), // deUint32 mapEntryCount; in iterate() 881 specializationMap, // const VkSpecializationMapEntry* pMapEntries; in iterate()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 127 std::map<std::string, std::string> specializationMap; in specializeShader() local 129 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader() 133 specializationMap["ARB_ES32_COMPATIBILITY_REQUIRE"] = ""; in specializeShader() 134 specializationMap["GEOMETRY_SHADER_REQUIRE"] = ""; in specializeShader() 135 specializationMap["GEOMETRY_POINT_SIZE"] = "#extension GL_EXT_geometry_point_size : require"; in specializeShader() 136 specializationMap["GPU_SHADER5_REQUIRE"] = ""; in specializeShader() 137 specializationMap["TESSELLATION_SHADER_REQUIRE"] = ""; in specializeShader() 138 …specializationMap["TESSELLATION_POINT_SIZE_REQUIRE"] = "#extension GL_EXT_tessellation_point_size … in specializeShader() 139 specializationMap["PRIMITIVE_BOUNDING_BOX_REQUIRE"] = ""; in specializeShader() 140 specializationMap["PRIM_GL_BOUNDING_BOX"] = "gl_BoundingBox"; in specializeShader() [all …]
|
D | es31fShaderTextureSizeTests.cpp | 58 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()
|
D | es31fProgramStateQueryTests.cpp | 79 std::map<std::string, std::string> specializationMap = in specializeShader() local 87 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
|
D | es31fTextureGatherTests.cpp | 84 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()
|
D | es31fTextureMultisampleTests.cpp | 130 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()
|
D | es31fSynchronizationTests.cpp | 130 std::map<std::string, std::string> specializationMap; in specializeShader() local 131 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion); in specializeShader() 132 …specializationMap["SHADER_IMAGE_ATOMIC_REQUIRE"] = isES32orGL45 ? "" : "#extension GL_OES_shader_i… in specializeShader() 134 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
|
D | es31fTessellationTests.cpp | 1553 std::map<std::string, std::string> specializationMap = in specializeShader() local 1569 specializationMap["GLSL_PER_VERTEX_OUT"] = "out gl_PerVertex { vec4 gl_Position; };\n"; in specializeShader() 1570 …specializationMap["GLSL_PER_VERTEX_IN_ARR"] = "in gl_PerVertex { vec4 gl_Position; } gl_in[];\n… in specializeShader() 1571 …specializationMap["GLSL_PER_VERTEX_OUT_ARR"] = "out gl_PerVertex { vec4 gl_Position; } gl_out[];… in specializeShader() 1572 …specializationMap["GLSL_PRECISE_PER_VERTEX_OUT"] = "out gl_PerVertex { vec4 gl_Posi… in specializeShader() 1573 …specializationMap["GLSL_PRECISE_PER_VERTEX_IN_ARR"] = "in gl_PerVertex { vec4 gl_Posit… in specializeShader() 1574 …specializationMap["GLSL_PRECISE_PER_VERTEX_OUT_ARR"] = "out gl_PerVertex { vec4 gl_Position; } … in specializeShader() 1577 return tcu::StringTemplate(code).specialize(specializationMap); in specializeShader()
|
D | es31fProgramInterfaceQueryTests.cpp | 222 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 305 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/ |
D | vktAttachmentRateTests.cpp | 2255 std::map<std::string, std::string> specializationMap in initPrograms() local 2263 specializationMap["SCALE"] = "0.4"; in initPrograms() 2264 specializationMap["TRANSLATE"] = "-0.5"; in initPrograms() 2265 …llection.glslSources.add("vert0") << glu::VertexSource(vertTemplate.specialize(specializationMap)); in initPrograms() 2267 specializationMap["SCALE"] = "0.4"; in initPrograms() 2268 specializationMap["TRANSLATE"] = "0.5"; in initPrograms() 2269 …llection.glslSources.add("vert1") << glu::VertexSource(vertTemplate.specialize(specializationMap)); in initPrograms() 2273 …ollection.glslSources.add("vert") << glu::VertexSource(vertTemplate.specialize(specializationMap)); in initPrograms() 2279 specializationMap["SCALE"] = "9.0"; in initPrograms() 2280 specializationMap["TRANSLATE"] = "0.0"; in initPrograms() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
D | vktAttachmentRateTests.cpp | 2255 std::map<std::string, std::string> specializationMap in initPrograms() local 2263 specializationMap["SCALE"] = "0.4"; in initPrograms() 2264 specializationMap["TRANSLATE"] = "-0.5"; in initPrograms() 2265 …llection.glslSources.add("vert0") << glu::VertexSource(vertTemplate.specialize(specializationMap)); in initPrograms() 2267 specializationMap["SCALE"] = "0.4"; in initPrograms() 2268 specializationMap["TRANSLATE"] = "0.5"; in initPrograms() 2269 …llection.glslSources.add("vert1") << glu::VertexSource(vertTemplate.specialize(specializationMap)); in initPrograms() 2273 …ollection.glslSources.add("vert") << glu::VertexSource(vertTemplate.specialize(specializationMap)); in initPrograms() 2279 specializationMap["SCALE"] = "9.0"; in initPrograms() 2280 specializationMap["TRANSLATE"] = "0.0"; in initPrograms() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles3/ |
D | es3cCopyTexImageConversionsTests.cpp | 9200 std::map<std::string, std::string> specializationMap; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() local 9292 specializationMap["SAMPLER_PREFIX"] = " "; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() 9293 specializationMap["OUT_QUALIFIER"] = " "; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() 9294 specializationMap["OUT_TYPE"] = " vec4"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() 9295 specializationMap["EPSILON_TYPE"] = "float"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() 9296 specializationMap["EPSILON_VALUE"] = "(1.0/255.0)"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() 9297 specializationMap["FN"] = "abs"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() 9298 shader_source[0] = tcu::StringTemplate(source).specialize(specializationMap); in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() 9321 specializationMap["SAMPLER_PREFIX"] = "i"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() 9322 specializationMap["OUT_QUALIFIER"] = "flat"; in setSourceForShaderObjectsUsedForNonRenderableTextureSupport() [all …]
|