• Home
  • Raw
  • Download

Lines Matching refs:specializationMap

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()
319 specializationMap["SAMPLER"] = "isampler2D"; in prepareTexturingProgramSources()
320 specializationMap["CALCULATE_COLOR"] = "vec4(v / 128) / 256.0"; in prepareTexturingProgramSources()
324 specializationMap["CALCULATE_COLOR"] = "vec4(v / 256u) / 256.0"; in prepareTexturingProgramSources()
328 specializationMap["SAMPLED_TYPE"] = "ivec4"; in prepareTexturingProgramSources()
329 specializationMap["SAMPLER"] = "isampler2D"; in prepareTexturingProgramSources()
330 specializationMap["CALCULATE_COLOR"] = "vec4(uvec4(v) / 2097152u) / 1024.0"; in prepareTexturingProgramSources()
335 specializationMap["CALCULATE_COLOR"] = "vec4(vec3(v.rgb) / 1023.0, float(v.a) / 3.0)"; in prepareTexturingProgramSources()
337 specializationMap["CALCULATE_COLOR"] = "vec4(v / 4194304u) / 1024.0"; in prepareTexturingProgramSources()
341 specializationMap["PROCESS_COLOR"] = "color = vec4(color.r, 0.0, 0.0, 1.0);\n"; in prepareTexturingProgramSources()
343 specializationMap["PROCESS_COLOR"] = "color = vec4(color.r, color.g, 0.0, 1.0);\n"; in prepareTexturingProgramSources()
345 specializationMap["PROCESS_COLOR"] = "color.a = 1.0;\n"; in prepareTexturingProgramSources()
349 specializationMap["SAMPLED_TYPE"] = "vec4"; in prepareTexturingProgramSources()
350 specializationMap["SAMPLER"] = "sampler2D"; in prepareTexturingProgramSources()
352 specializationMap["CALCULATE_COLOR"] = "vec4(v.r, 0.0, 0.0, 1.0)"; in prepareTexturingProgramSources()
354 specializationMap["CALCULATE_COLOR"] = "v"; in prepareTexturingProgramSources()
378 specializationMap["CALCULATE_COLOR"] = "vec4(color.r, 0.0, 0.0, 1.0)"; in prepareTexturingProgramSources()
380 specializationMap["CALCULATE_COLOR"] = "vec4(color.r, color.r, color.r, 1.0)"; in prepareTexturingProgramSources()
382 specializationMap["CALCULATE_COLOR"] = "color"; in prepareTexturingProgramSources()
385 vs = tcu::StringTemplate(vs).specialize(specializationMap); in prepareTexturingProgramSources()
386 fs = tcu::StringTemplate(fs).specialize(specializationMap); in prepareTexturingProgramSources()
1457 std::map<std::string, std::string> specializationMap; in prepareColoringProgramSources() local
1508 specializationMap["MAX_RED"] = "1023"; in prepareColoringProgramSources()
1509 specializationMap["MAX_GREEN"] = "1023"; in prepareColoringProgramSources()
1510 specializationMap["MAX_BLUE"] = "1023"; in prepareColoringProgramSources()
1511 specializationMap["MAX_ALPHA"] = "3"; in prepareColoringProgramSources()
1515 specializationMap["MAX_RED"] = "255"; in prepareColoringProgramSources()
1516 specializationMap["MAX_GREEN"] = "255"; in prepareColoringProgramSources()
1517 specializationMap["MAX_BLUE"] = "255"; in prepareColoringProgramSources()
1518 specializationMap["MAX_ALPHA"] = "255"; in prepareColoringProgramSources()
1520 specializationMap["COLOR_DATA"] = "uvec4"; in prepareColoringProgramSources()
1521specializationMap["COMPUTE_COLOR"] = tcu::StringTemplate(compute_color).specialize(specializationM… in prepareColoringProgramSources()
1525 specializationMap["COLOR_DATA"] = "highp vec4"; in prepareColoringProgramSources()
1526 specializationMap["COMPUTE_COLOR"] = "fColor"; in prepareColoringProgramSources()
1529 vs = tcu::StringTemplate(vs).specialize(specializationMap); in prepareColoringProgramSources()
1530 fs = tcu::StringTemplate(fs).specialize(specializationMap); in prepareColoringProgramSources()