crocus: Enable compat profile the same way as core profile

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11756>
This commit is contained in:
Zoltán Böszörményi
2022-02-05 07:47:44 +01:00
committed by Marge Bot
parent 604d97671b
commit df1751a2bb
2 changed files with 8 additions and 2 deletions
@@ -31,6 +31,9 @@ fast_color_clear@fcc-write-after-clear,Fail
spec@!opengl 1.0@gl-1.0-swapbuffers-behavior,Fail
# Compat mode failure
spec@!opengl 1.0@rasterpos,Fail
spec@!opengl 1.1@linestipple,Fail
spec@!opengl 1.1@linestipple@Factor 2x,Fail
spec@!opengl 1.1@linestipple@Factor 3x,Fail
@@ -159,6 +162,10 @@ spec@ext_transform_feedback@builtin-varyings gl_pointsize,Fail
spec@glsl-1.50@execution@geometry@primitive-types gl_line_loop,Fail
# Compat mode failures
spec@glsl-1.50@execution@primitive-id-no-gs-quads,Fail
spec@glsl-1.50@execution@primitive-id-no-gs-quad-strip,Fail
spec@intel_performance_query@intel_performance_query-issue_2235,Fail
spec@khr_texture_compression_astc@miptree-gl srgb-fp,Fail
+1 -2
View File
@@ -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;