Lines Matching refs:replaceToken
2149 void Utils::replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* text, in replaceToken() function in gl3cts::TextureSwizzle::Utils
2810 Utils::replaceToken("PREFIX", position, source_format.m_sampler.m_sampler_prefix, fs); in getFragmentShader()
2811 Utils::replaceToken("SAMPLER_TYPE", position, target.m_sampler_type, fs); in getFragmentShader()
2812 Utils::replaceToken("BASIC_TYPE", position, output_format.m_sampler.m_basic_type, fs); in getFragmentShader()
2813 Utils::replaceToken("BASIC_TYPE", position, source_format.m_sampler.m_basic_type, fs); in getFragmentShader()
2814 Utils::replaceToken("TEXTURE_ACCESS", position, access.m_name, fs); in getFragmentShader()
2815 Utils::replaceToken("ARGUMENTS", position, arguments.c_str(), fs); in getFragmentShader()
2816 Utils::replaceToken("CHANNEL", position, channel, fs); in getFragmentShader()
2822 Utils::replaceToken("BASIC_TYPE", position, source_format.m_sampler.m_basic_type, fs); in getFragmentShader()
2823 Utils::replaceToken("BASIC_TYPE", position, output_format.m_sampler.m_basic_type, fs); in getFragmentShader()
2887 Utils::replaceToken("PREFIX", position, source_format.m_sampler.m_sampler_prefix, vs); in getVertexShader()
2888 Utils::replaceToken("SAMPLER_TYPE", position, target.m_sampler_type, vs); in getVertexShader()
2889 Utils::replaceToken("BASIC_TYPE", position, source_format.m_sampler.m_basic_type, vs); in getVertexShader()
2890 Utils::replaceToken("TEXTURE_ACCESS", position, access.m_name, vs); in getVertexShader()
2891 Utils::replaceToken("ARGUMENTS", position, arguments.c_str(), vs); in getVertexShader()
2892 Utils::replaceToken("CHANNEL", position, channel, vs); in getVertexShader()
3138 Utils::replaceToken("COORDINATES", position, coordinates.c_str(), arguments); in prepareArguments()
3142 Utils::replaceToken("LODDERIVATIVES", position, ", int(0)", arguments); in prepareArguments()
3150 Utils::replaceToken("LODDERIVATIVES", position, ", XXXXX, XXXXX", arguments); in prepareArguments()
3152 Utils::replaceToken("XXXXX", position, derivatives_0.c_str(), arguments); in prepareArguments()
3153 Utils::replaceToken("XXXXX", position, derivatives_1.c_str(), arguments); in prepareArguments()
3157 Utils::replaceToken("LODDERIVATIVES", position, "", arguments); in prepareArguments()
3165 Utils::replaceToken("OFFSETS", position, ", XXXXX", arguments); in prepareArguments()
3167 Utils::replaceToken("XXXXX", position, offsets.c_str(), arguments); in prepareArguments()
3171 Utils::replaceToken("OFFSETS", position, "", arguments); in prepareArguments()
3179 Utils::replaceToken("SAMPLE", position, ", XX", arguments); in prepareArguments()
3181 Utils::replaceToken("XX", position, sample.c_str(), arguments); in prepareArguments()
3185 Utils::replaceToken("SAMPLE", position, "", arguments); in prepareArguments()
3249 Utils::replaceToken("TYPE", position, type, coordinates); in prepareCoordinates()
3255 Utils::replaceToken("VAL_LIST", position, "0, VAL_LIST", coordinates); in prepareCoordinates()
3264 Utils::replaceToken("VAL_LIST", position, "0, VAL_LIST", coordinates); in prepareCoordinates()
3273 Utils::replaceToken("VAL_LIST", position, "1, VAL_LIST", coordinates); in prepareCoordinates()
3278 Utils::replaceToken(", VAL_LIST", position, "", coordinates); in prepareCoordinates()
3317 Utils::replaceToken("TYPE", position, type, derivatives); in prepareDerivatives()
3325 Utils::replaceToken("VAL_LIST", position, "1.0, VAL_LIST", derivatives); in prepareDerivatives()
3329 Utils::replaceToken("VAL_LIST", position, "0.0, VAL_LIST", derivatives); in prepareDerivatives()
3335 Utils::replaceToken(", VAL_LIST", position, "", derivatives); in prepareDerivatives()
3374 Utils::replaceToken("TYPE", position, type, offsets); in prepareOffsets()
3380 Utils::replaceToken("VAL_LIST", position, "0, VAL_LIST", offsets); in prepareOffsets()
3385 Utils::replaceToken(", VAL_LIST", position, "", offsets); in prepareOffsets()
4109 Utils::replaceToken("PREFIX", position, format.m_sampler.m_sampler_prefix, fs); in iterate()
4110 Utils::replaceToken("PREFIX", position, format.m_sampler.m_sampler_prefix, fs); in iterate()
4111 Utils::replaceToken("VALUES", position, values.c_str(), fs); in iterate()