nir: fix nir_xfb_info buffer_to_stream length

Fixes: 19064b8c3a ("nir: Add a pass for gathering transform feedback info")
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17654>
(cherry picked from commit 417cf031a0)
This commit is contained in:
Qiang Yu
2022-06-28 11:30:15 +08:00
committed by Dylan Baker
parent 7240cc553e
commit bf2c81b32e
2 changed files with 2 additions and 2 deletions

View File

@@ -5602,7 +5602,7 @@
"description": "nir: fix nir_xfb_info buffer_to_stream length",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "19064b8c3a8e0f7b9081a0564f1c7c79a1953d0b"
},

View File

@@ -57,7 +57,7 @@ typedef struct nir_xfb_info {
uint8_t streams_written;
nir_xfb_buffer_info buffers[NIR_MAX_XFB_BUFFERS];
uint8_t buffer_to_stream[NIR_MAX_XFB_STREAMS];
uint8_t buffer_to_stream[NIR_MAX_XFB_BUFFERS];
uint16_t output_count;
nir_xfb_output_info outputs[0];