mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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:
parent
7240cc553e
commit
bf2c81b32e
2 changed files with 2 additions and 2 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue