diff options
author | Ian Romanick <[email protected]> | 2013-09-04 11:09:05 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-09-08 07:54:12 -0700 |
commit | 4a1950351663ac58cbef1ee041dab9a56441792c (patch) | |
tree | eb1e54ecf1e7969904609db0577fb9ec9fef26fe /src/mesa/drivers | |
parent | e334ff43c4d6a42b903cc1fbcfd77e34473d336a (diff) |
mesa: Always use seamless cubemap filtering in GLES3
Appendix F.2 of the OpenGL ES 3.0.0 spec says:
"OpenGL ES 3.0 requires that all cube map filtering be
seamless. OpenGL ES 2.0 specified that a single cube map face be
selected and used for filtering."
Setting the field only in the context will work fine with sampler
objects (and drivers that support AMD_seamless_cubemap_per_texture)
because seamless filtering is used if *either* the context or the
sampler enable it:
"If TEXTURE_CUBE_MAP_SEAMLESS_ARB is emabled (sic) globally or the
value of the texture's TEXTURE_CUBE_MAP_SEAMLESS_ARB parameter is
TRUE, seamless cube map sampling is enabled..."
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Reported-by: Maxence Le Dore <[email protected]>
Thanked-by: Maxence Le Dore <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions