Lines Matching refs:gls
245 inline float computeLodFromGrad2D (const gls::ShaderEvalContext& c) in computeLodFromGrad2D()
252 inline float computeLodFromGrad2DArray (const gls::ShaderEvalContext& c) in computeLodFromGrad2DArray()
259 inline float computeLodFromGrad3D (const gls::ShaderEvalContext& c) in computeLodFromGrad3D()
267 inline float computeLodFromGradCube (const gls::ShaderEvalContext& c) in computeLodFromGradCube()
277 typedef void (*TexEvalFunc) (gls::ShaderEvalContext& c, const TexLookupParams& lookupParams);
279 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.… in texture2D()
280 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { … in textureCube()
281 inline Vec4 texture2DArray (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) … in texture2DArray()
282 inline Vec4 texture3D (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { re… in texture3D()
284 inline float texture2DShadow (const gls::ShaderEvalContext& c, float ref, float s, float t, float … in texture2DShadow()
285 inline float textureCubeShadow (const gls::ShaderEvalContext& c, float ref, float s, float t, floa… in textureCubeShadow()
286 inline float texture2DArrayShadow (const gls::ShaderEvalContext& c, float ref, float s, float t, fl… in texture2DArrayShadow()
288 inline Vec4 texture2DOffset (const gls::ShaderEvalContext& c, float s, float t, float lod, IVec2 … in texture2DOffset()
289 inline Vec4 texture2DArrayOffset (const gls::ShaderEvalContext& c, float s, float t, float r, float… in texture2DArrayOffset()
290 inline Vec4 texture3DOffset (const gls::ShaderEvalContext& c, float s, float t, float r, float lo… in texture3DOffset()
292 inline float texture2DShadowOffset (const gls::ShaderEvalContext& c, float ref, float s, float t, … in texture2DShadowOffset()
293 inline float texture2DArrayShadowOffset (const gls::ShaderEvalContext& c, float ref, float s, float… in texture2DArrayShadowOffset()
296 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = text… in evalTexture2D()
297 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = te… in evalTextureCube()
298 static void evalTexture2DArray (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = … in evalTexture2DArray()
299 static void evalTexture3D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = text… in evalTexture3D()
301 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = t… in evalTexture2DBias()
302 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color =… in evalTextureCubeBias()
303 static void evalTexture2DArrayBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color… in evalTexture2DArrayBias()
304 static void evalTexture3DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = t… in evalTexture3DBias()
306 static void evalTexture2DProj3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = … in evalTexture2DProj3()
307 static void evalTexture2DProj3Bias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color… in evalTexture2DProj3Bias()
308 static void evalTexture2DProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = t… in evalTexture2DProj()
309 static void evalTexture2DProjBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color … in evalTexture2DProjBias()
310 static void evalTexture3DProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = t… in evalTexture3DProj()
311 static void evalTexture3DProjBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color … in evalTexture3DProjBias()
313 static void evalTexture2DLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = te… in evalTexture2DLod()
314 static void evalTextureCubeLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = … in evalTextureCubeLod()
315 static void evalTexture2DArrayLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color … in evalTexture2DArrayLod()
316 static void evalTexture3DLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = te… in evalTexture3DLod()
318 static void evalTexture2DProjLod3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color … in evalTexture2DProjLod3()
319 static void evalTexture2DProjLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color =… in evalTexture2DProjLod()
320 static void evalTexture3DProjLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color =… in evalTexture3DProjLod()
324 static void evalTexture2DOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color… in evalTexture2DOffset()
325 static void evalTexture2DArrayOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture2DArrayOffset()
326 static void evalTexture3DOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color… in evalTexture3DOffset()
328 static void evalTexture2DOffsetBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture2DOffsetBias()
329 static void evalTexture2DArrayOffsetBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DArrayOffsetBias()
330 static void evalTexture3DOffsetBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture3DOffsetBias()
332 static void evalTexture2DLodOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.col… in evalTexture2DLodOffset()
333 static void evalTexture2DArrayLodOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DArrayLodOffset()
334 static void evalTexture3DLodOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.col… in evalTexture3DLodOffset()
336 static void evalTexture2DProj3Offset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture2DProj3Offset()
337 static void evalTexture2DProj3OffsetBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DProj3OffsetBias()
338 static void evalTexture2DProjOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture2DProjOffset()
339 static void evalTexture2DProjOffsetBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DProjOffsetBias()
340 static void evalTexture3DProjOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture3DProjOffset()
341 static void evalTexture3DProjOffsetBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture3DProjOffsetBias()
343 static void evalTexture2DProjLod3Offset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DProjLod3Offset()
344 static void evalTexture2DProjLodOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.… in evalTexture2DProjLodOffset()
345 static void evalTexture3DProjLodOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.… in evalTexture3DProjLodOffset()
349 static void evalTexture2DShadow (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color… in evalTexture2DShadow()
350 static void evalTexture2DShadowBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture2DShadowBias()
352 static void evalTextureCubeShadow (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.colo… in evalTextureCubeShadow()
353 static void evalTextureCubeShadowBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.c… in evalTextureCubeShadowBias()
355 static void evalTexture2DArrayShadow (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture2DArrayShadow()
357 static void evalTexture2DShadowLod (gls::ShaderEvalContext& c, const TexLookupParams&) { c.colo… in evalTexture2DShadowLod()
358 static void evalTexture2DShadowLodOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DShadowLodOffset()
360 static void evalTexture2DShadowProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture2DShadowProj()
361 static void evalTexture2DShadowProjBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DShadowProjBias()
363 static void evalTexture2DShadowProjLod (gls::ShaderEvalContext& c, const TexLookupParams&) { c.c… in evalTexture2DShadowProjLod()
364 static void evalTexture2DShadowProjLodOffset(gls::ShaderEvalContext& c, const TexLookupParams& p) … in evalTexture2DShadowProjLodOffset()
366 static void evalTexture2DShadowOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.c… in evalTexture2DShadowOffset()
367 static void evalTexture2DShadowOffsetBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { … in evalTexture2DShadowOffsetBias()
369 static void evalTexture2DShadowProjOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) {… in evalTexture2DShadowProjOffset()
370 static void evalTexture2DShadowProjOffsetBias (gls::ShaderEvalContext& c, const TexLookupParams& p… in evalTexture2DShadowProjOffsetBias()
374 static void evalTexture2DGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = t… in evalTexture2DGrad()
375 static void evalTextureCubeGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color =… in evalTextureCubeGrad()
376 static void evalTexture2DArrayGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color… in evalTexture2DArrayGrad()
377 static void evalTexture3DGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = t… in evalTexture3DGrad()
379 static void evalTexture2DShadowGrad (gls::ShaderEvalContext& c, const TexLookupParams&) { c.col… in evalTexture2DShadowGrad()
380 static void evalTextureCubeShadowGrad (gls::ShaderEvalContext& c, const TexLookupParams&) { c.co… in evalTextureCubeShadowGrad()
381 static void evalTexture2DArrayShadowGrad (gls::ShaderEvalContext& c, const TexLookupParams&) { c.… in evalTexture2DArrayShadowGrad()
383 static void evalTexture2DGradOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture2DGradOffset()
384 static void evalTexture2DArrayGradOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DArrayGradOffset()
385 static void evalTexture3DGradOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.co… in evalTexture3DGradOffset()
387 static void evalTexture2DShadowGradOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) {… in evalTexture2DShadowGradOffset()
388 static void evalTexture2DArrayShadowGradOffset (gls::ShaderEvalContext& c, const TexLookupParams& … in evalTexture2DArrayShadowGradOffset()
390 static void evalTexture2DShadowProjGrad (gls::ShaderEvalContext& c, const TexLookupParams&) { c… in evalTexture2DShadowProjGrad()
391 static void evalTexture2DShadowProjGradOffset (gls::ShaderEvalContext& c, const TexLookupParams& p… in evalTexture2DShadowProjGradOffset()
393 static void evalTexture2DProjGrad3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.col… in evalTexture2DProjGrad3()
394 static void evalTexture2DProjGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.colo… in evalTexture2DProjGrad()
395 static void evalTexture3DProjGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.colo… in evalTexture3DProjGrad()
397 static void evalTexture2DProjGrad3Offset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DProjGrad3Offset()
398 static void evalTexture2DProjGradOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture2DProjGradOffset()
399 static void evalTexture3DProjGradOffset (gls::ShaderEvalContext& c, const TexLookupParams& p) { c… in evalTexture3DProjGradOffset()
403 static void evalTexelFetch2D (gls::ShaderEvalContext& c, const TexLookupParams& p) in evalTexelFetch2D()
411 static void evalTexelFetch2DArray (gls::ShaderEvalContext& c, const TexLookupParams& p) in evalTexelFetch2DArray()
420 static void evalTexelFetch3D (gls::ShaderEvalContext& c, const TexLookupParams& p) in evalTexelFetch3D()
429 class TexLookupEvaluator : public gls::ShaderEvaluator
434 virtual void evaluate (gls::ShaderEvalContext& ctx) { m_evalFunc(ctx, m_lookupParams); } in evaluate()
441 class ShaderTextureFunctionCase : public gls::ShaderRenderCase
470 …: gls::ShaderRenderCase(context.getTestContext(), context.getRenderContext(), context.getContextIn… in ShaderTextureFunctionCase()
551 gls::ShaderRenderCase::init(); in init()
603 m_textures.push_back(gls::TextureBinding(m_texture2D, m_textureSpec.sampler)); in initTexture()
661 m_textures.push_back(gls::TextureBinding(m_textureCube, m_textureSpec.sampler)); in initTexture()
697 m_textures.push_back(gls::TextureBinding(m_texture2DArray, m_textureSpec.sampler)); in initTexture()
729 m_textures.push_back(gls::TextureBinding(m_texture3D, m_textureSpec.sampler)); in initTexture()
933 gls::ShaderRenderCase::deinit(); in deinit()
2005 gls::ShaderLibrary library(m_testCtx, m_context.getRenderContext(), m_context.getContextInfo()); in init()