llvmpipe: enable EXT_texture_shadow_lod

The driver passes all the CTS tests for this.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5971>
This commit is contained in:
Dave Airlie 2020-07-16 10:50:14 +10:00 committed by Marge Bot
parent c30824adc0
commit f0c3a25800
2 changed files with 3 additions and 5 deletions

View file

@ -2145,9 +2145,6 @@ spec/ext_texture_buffer/preprocessor/disabled-undefined-es.tesc: skip
spec/ext_texture_buffer/preprocessor/disabled-undefined-es.tese: skip
spec/ext_texture_buffer/preprocessor/disabled-undefined-es.vert: skip
spec/ext_texture_shadow_lod/compiler/negative_compile.frag: skip
spec/ext_texture_shadow_lod/compiler/sampler2darray.frag: skip
spec/ext_texture_shadow_lod/compiler/samplercube.frag: skip
spec/ext_texture_shadow_lod/compiler/samplercubearray.frag: skip
spec/glsl-1.20/compiler/invalid-vec4-array-to-vec3-array-conversion.vert: fail
spec/glsl-1.50/compiler/arb_compatibility-gs/ftransform.geom: skip
spec/glsl-1.50/compiler/arb_compatibility-gs/gl_backcolor.geom: skip
@ -2657,10 +2654,10 @@ spec/oes_texture_storage_multisample_2d_array/preprocessor/disabled-undefined-es
summary:
name: results
---- --------
pass: 12179
pass: 12182
fail: 2
crash: 4
skip: 2650
skip: 2647
timeout: 0
warn: 0
incomplete: 0

View file

@ -140,6 +140,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE:
return 1;
case PIPE_CAP_TEXTURE_SWIZZLE:
case PIPE_CAP_TEXTURE_SHADOW_LOD:
return 1;
case PIPE_CAP_MAX_TEXTURE_2D_SIZE:
return 1 << (LP_MAX_TEXTURE_2D_LEVELS - 1);