zink: only add arrays to indirect non-tcs variables

these are already sized accurately

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27534>
This commit is contained in:
Mike Blumenkrantz
2024-02-08 15:21:39 -05:00
committed by Marge Bot
parent 9e2c7314f2
commit b7e39657f6
5 changed files with 1 additions and 13 deletions
@@ -338,6 +338,3 @@ spec@arb_viewport_array@display-list,Fail
# New CTS failures in 1.3.6.3
dEQP-GLES31.functional.image_load_store.buffer.atomic.comp_swap_r32i_return_value,Fail
# uprev Piglit in Mesa
spec@arb_tessellation_shader@execution@tesslevels-indirect,Crash
@@ -370,6 +370,3 @@ spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yuv420,Fail
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yvu420,Fail
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yvyu,Fail
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-transcode-nv12-as-r8-gr88,Fail
# Introduced by a piglit uprev: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25449
spec@arb_tessellation_shader@execution@tesslevels-indirect,Crash
@@ -817,6 +817,3 @@ spec@ext_texture_srgb@texwrap formats-s3tc bordercolor-swizzled@GL_COMPRESSED_SR
spec@glsl-1.50@execution@geometry@primitive-types gl_triangle_strip_adjacency,Fail
spec@glsl-1.50@execution@geometry@tri-strip-ordering-with-prim-restart gl_triangle_strip_adjacency ffs,Fail
spec@glsl-1.50@execution@geometry@tri-strip-ordering-with-prim-restart gl_triangle_strip_adjacency other,Fail
# Introduced by a piglit uprev: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25449
spec@arb_tessellation_shader@execution@tesslevels-indirect,Crash
@@ -339,6 +339,3 @@ spec@!opengl 1.0@gl-1.0-polygon-line-aa,Fail
# Regression noticed in https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/891104
spec@arb_viewport_array@display-list,Fail
# uprev Piglit in Mesa
spec@arb_tessellation_shader@execution@tesslevels-indirect,Crash
+1 -1
View File
@@ -5199,7 +5199,7 @@ rework_io_vars(nir_shader *nir, nir_variable_mode mode)
}
/* reset the mode for nir_is_arrayed_io to work */
bool is_arrayed = io_instr_is_arrayed(intr);
if (is_indirect) {
if (is_indirect && s.location != VARYING_SLOT_TESS_LEVEL_INNER && s.location != VARYING_SLOT_TESS_LEVEL_OUTER) {
/* indirect array access requires the full array in a single variable */
unsigned slot_count = s.num_slots;
if (bit_size == 64 && slot_count > 1)