Lines Matching defs:params
57 // Specializes certain template patterns in templ for GLSL version m_glslVersion; params in additionalParams (optional) are also included in the substitution.
61 map<string, string> params;
63 params["FRAG_HEADER"] = isGLSL3 ? "#version 300 es\nlayout(location = 0) out mediump vec4 dEQP_FragColor;\n" : "";
64 params["VTX_HEADER"] = isGLSL3 ? "#version 300 es\n" : "";
65 params["VTX_IN"] = isGLSL3 ? "in" : "attribute";
66 params["VTX_OUT"] = isGLSL3 ? "out" : "varying";
67 params["FRAG_IN"] = isGLSL3 ? "in" : "varying";
68 params["FRAG_COLOR"] = isGLSL3 ? "dEQP_FragColor" : "gl_FragColor";
69 params["TEXTURE_2D_FUNC"] = isGLSL3 ? "texture" : "texture2D";
70 params["NS"] = "${NS}"; // \note Keep these as-is, they're handled by StressCase.
72 params.insert(additionalParams.begin(), additionalParams.end());
74 return tcu::StringTemplate(templ.c_str()).specialize(params);