freedreno/a6xx: Add missing cap

Fixes wrong value reported for GL_MAX_VERTEX_STREAMS.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23301>
This commit is contained in:
Rob Clark 2023-05-27 12:05:57 -07:00 committed by Marge Bot
parent ed7a1a5e5a
commit 973e1d4555
4 changed files with 4 additions and 9 deletions

View file

@ -19,9 +19,6 @@ KHR-GL45.texture_cube_map_array.color_depth_attachments,Fail
# new fails with gl45:
#
# Various limits we cannot or do not support:
KHR-GL45.limits.max_vertex_streams,Fail
# MESA: warning: sample averaging on fallback z24s8 blit when we shouldn't.
KHR-GL45.direct_state_access.renderbuffers_storage_multisample,Fail

View file

@ -22,9 +22,6 @@ KHR-GL45.texture_cube_map_array.color_depth_attachments,Fail
# new fails with gl45:
#
# Various limits we cannot or do not support:
KHR-GL45.limits.max_vertex_streams,Fail
# MESA: warning: sample averaging on fallback z24s8 blit when we shouldn't.
KHR-GL45.direct_state_access.renderbuffers_storage_multisample,Fail

View file

@ -1,9 +1,6 @@
# Shader compilation error log: 0:6(1): error: invalid stream specified 1 is larger than MAX_VERTEX_STREAMS - 1
KHR-GL45.transform_feedback.draw_xfb_stream_instanced_test,Fail
# Various limits we cannot or do not support:
KHR-GL45.limits.max_vertex_streams,Fail
KHR-GL45.direct_state_access.renderbuffers_storage_multisample,Fail
KHR-GL45.gpu_shader_fp64.fp64.max_uniform_components,Fail
KHR-GL45.multi_bind.dispatch_bind_image_textures,Fail

View file

@ -473,6 +473,10 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return !is_a5xx(screen);
/* Stream output. */
case PIPE_CAP_MAX_VERTEX_STREAMS:
if (is_a6xx(screen)) /* has SO + GS */
return PIPE_MAX_SO_BUFFERS;
return 0;
case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS:
if (is_ir3(screen))
return PIPE_MAX_SO_BUFFERS;