llvmpipe: enable EXT_texture_shadow_lod
authorDave Airlie <airlied@redhat.com>
Thu, 16 Jul 2020 00:50:14 +0000 (10:50 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jul 2020 00:04:49 +0000 (00:04 +0000)
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>

.gitlab-ci/piglit/glslparser.txt
src/gallium/drivers/llvmpipe/lp_screen.c

index e858e55816870ec2c23d48d4a2526a9242f8f023..5539d00b675ba99231ed93569b4d6efcc7a716fb 100644 (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
index 786ab4e326d1988586026a04c56d31d387e78fce..4e45545cb9008f881ab23cc17c9560117a8adece 100644 (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);