Lines Matching refs:gls
185 typedef void (*TexEvalFunc) (gls::ShaderEvalContext& c, const TexLookupParams& lookupParams);
187 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.… in texture2D()
188 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { … in textureCube()
191 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = text… in evalTexture2D()
192 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = te… in evalTextureCube()
194 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = t… in evalTexture2DBias()
195 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color =… in evalTextureCubeBias()
197 static void evalTexture2DProj3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = … in evalTexture2DProj3()
198 static void evalTexture2DProj3Bias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color… in evalTexture2DProj3Bias()
199 static void evalTexture2DProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = t… in evalTexture2DProj()
200 static void evalTexture2DProjBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color … in evalTexture2DProjBias()
202 static void evalTexture2DLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = te… in evalTexture2DLod()
203 static void evalTextureCubeLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = … in evalTextureCubeLod()
205 static void evalTexture2DProjLod3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color … in evalTexture2DProjLod3()
206 static void evalTexture2DProjLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color =… in evalTexture2DProjLod()
208 class TexLookupEvaluator : public gls::ShaderEvaluator
213 virtual void evaluate (gls::ShaderEvalContext& ctx) { m_evalFunc(ctx, m_lookupParams); } in evaluate()
220 class ShaderTextureFunctionCase : public gls::ShaderRenderCase
247 …: gls::ShaderRenderCase(context.getTestContext(), context.getRenderContext(), context.getContextIn… in ShaderTextureFunctionCase()
307 gls::ShaderRenderCase::init(); in init()
357 m_textures.push_back(gls::TextureBinding(m_texture2D, m_textureSpec.sampler)); in initTexture()
402 m_textures.push_back(gls::TextureBinding(m_textureCube, m_textureSpec.sampler)); in initTexture()
525 gls::ShaderRenderCase::deinit(); in deinit()
625 gls::ShaderLibrary library(m_testCtx, m_context.getRenderContext(), m_context.getContextInfo()); in init()