mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
nir: fix yet another MSVC build break
Trivial.
This commit is contained in:
parent
f3a5757eba
commit
9007c0ed26
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ nir_gather_xfb_info(const nir_shader *shader, void *mem_ctx)
|
|||
compare_xfb_output_offsets);
|
||||
|
||||
/* Finally, do a sanity check */
|
||||
unsigned max_offset[NIR_MAX_XFB_BUFFERS] = { };
|
||||
unsigned max_offset[NIR_MAX_XFB_BUFFERS] = {0};
|
||||
for (unsigned i = 0; i < xfb->output_count; i++) {
|
||||
assert(xfb->outputs[i].offset >= max_offset[xfb->outputs[i].buffer]);
|
||||
assert(xfb->outputs[i].component_mask != 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue