mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-20 18:30:34 +01: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>
This commit is contained in:
parent
f5ba4e855e
commit
417cf031a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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