diff options
author | Brian Paul <[email protected]> | 2018-10-29 11:15:09 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-10-29 11:15:12 -0600 |
commit | 9007c0ed26858cb1a40d17e1f5b477d6ed3d2db7 (patch) | |
tree | 73e3284ba8e57f298bba58a5e4fab296d5290c72 /src/compiler | |
parent | f3a5757eba82641ac3412df05c97715d1779f286 (diff) |
nir: fix yet another MSVC build break
Trivial.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir_gather_xfb_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_gather_xfb_info.c b/src/compiler/nir/nir_gather_xfb_info.c index a53703bb9bf..e282bba0081 100644 --- a/src/compiler/nir/nir_gather_xfb_info.c +++ b/src/compiler/nir/nir_gather_xfb_info.c @@ -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); |