summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_screen.c
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2022-05-05 16:28:34 -0700
committerMarge Bot <emma+marge@anholt.net>2022-05-10 05:03:34 +0000
commitf3df3d4c80f5613791f969020189ebff9da99e32 (patch)
treebe0ebe76ee90e4e935444b20ccce86cdb6f3ab02 /src/gallium/auxiliary/util/u_screen.c
parentd100c07c48d122c4b6ad7886bef5fed46fbd750a (diff)
glsl: Make all drivers take the GLSLOptimizeConservatively path.
Now that all consumers of GLSL use NIR, make the remaining drivers take the path that relies on NIR to really do optimization. nouveau steam shader-db runtime -6.69631% +/- 1.29235% (n=12). No change on shader-db there. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16364>
Diffstat (limited to 'src/gallium/auxiliary/util/u_screen.c')
-rw-r--r--src/gallium/auxiliary/util/u_screen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c
index b9a1ccb552e..2cfe1fadf25 100644
--- a/src/gallium/auxiliary/util/u_screen.c
+++ b/src/gallium/auxiliary/util/u_screen.c
@@ -294,7 +294,6 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
case PIPE_CAP_RASTERIZER_SUBPIXEL_BITS:
return 4; /* GLES 2.0 minimum value */
- case PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY:
case PIPE_CAP_PREFER_BACK_BUFFER_REUSE:
return 1;