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 commit417cf031a0
)
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
@@ -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];
|
||||
|
Reference in New Issue
Block a user