Mesa (main): crocus: Enable compat profile the same way as core profile

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Feb 7 19:52:24 UTC 2022


Module: Mesa
Branch: main
Commit: df1751a2bbd38b32f2d5673ba584fd72e371be62
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df1751a2bbd38b32f2d5673ba584fd72e371be62

Author: Zoltán Böszörményi <zboszor at gmail.com>
Date:   Sat Feb  5 07:47:44 2022 +0100

crocus: Enable compat profile the same way as core profile

Signed-off-by: Zoltán Böszörményi <zboszor at gmail.com>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11756>

---

 src/gallium/drivers/crocus/ci/crocus-hsw-fails.txt | 7 +++++++
 src/gallium/drivers/crocus/crocus_screen.c         | 3 +--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/crocus/ci/crocus-hsw-fails.txt b/src/gallium/drivers/crocus/ci/crocus-hsw-fails.txt
index 99c4826ddb0..5eff6a9b50b 100644
--- a/src/gallium/drivers/crocus/ci/crocus-hsw-fails.txt
+++ b/src/gallium/drivers/crocus/ci/crocus-hsw-fails.txt
@@ -31,6 +31,9 @@ fast_color_clear at fcc-write-after-clear,Fail
 
 spec@!opengl 1.0 at gl-1.0-swapbuffers-behavior,Fail
 
+# Compat mode failure
+spec@!opengl 1.0 at rasterpos,Fail
+
 spec@!opengl 1.1 at linestipple,Fail
 spec@!opengl 1.1 at linestipple@Factor 2x,Fail
 spec@!opengl 1.1 at linestipple@Factor 3x,Fail
@@ -159,6 +162,10 @@ spec at ext_transform_feedback@builtin-varyings gl_pointsize,Fail
 
 spec at glsl-1.50@execution at geometry@primitive-types gl_line_loop,Fail
 
+# Compat mode failures
+spec at glsl-1.50@execution at primitive-id-no-gs-quads,Fail
+spec at glsl-1.50@execution at primitive-id-no-gs-quad-strip,Fail
+
 spec at intel_performance_query@intel_performance_query-issue_2235,Fail
 
 spec at khr_texture_compression_astc@miptree-gl srgb-fp,Fail
diff --git a/src/gallium/drivers/crocus/crocus_screen.c b/src/gallium/drivers/crocus/crocus_screen.c
index 4a1e2cc9629..43f619b1509 100644
--- a/src/gallium/drivers/crocus/crocus_screen.c
+++ b/src/gallium/drivers/crocus/crocus_screen.c
@@ -282,6 +282,7 @@ crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
       return BRW_MAX_SOL_BINDINGS / CROCUS_MAX_SOL_BUFFERS;
    case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS:
       return BRW_MAX_SOL_BINDINGS;
+   case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
    case PIPE_CAP_GLSL_FEATURE_LEVEL: {
       if (devinfo->verx10 >= 75)
          return 460;
@@ -291,8 +292,6 @@ crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
          return 330;
       return 140;
    }
-   case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
-      return 140;
    case PIPE_CAP_CLIP_PLANES:
       if (devinfo->verx10 < 45)
          return 6;



More information about the mesa-commit mailing list