From f0c3a258003ea8655bc05a0a0febf93ffb1a0736 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 16 Jul 2020 10:50:14 +1000 Subject: [PATCH] llvmpipe: enable EXT_texture_shadow_lod The driver passes all the CTS tests for this. Reviewed-by: Roland Scheidegger Part-of: --- .gitlab-ci/piglit/glslparser.txt | 7 ++----- src/gallium/drivers/llvmpipe/lp_screen.c | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci/piglit/glslparser.txt b/.gitlab-ci/piglit/glslparser.txt index e858e558168..5539d00b675 100644 --- a/.gitlab-ci/piglit/glslparser.txt +++ b/.gitlab-ci/piglit/glslparser.txt @@ -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 diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 786ab4e326d..4e45545cb90 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -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); -- 2.30.2