projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a5757
)
nir: fix yet another MSVC build break
author
Brian Paul
<brianp@vmware.com>
Mon, 29 Oct 2018 17:15:09 +0000
(11:15 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 29 Oct 2018 17:15:12 +0000
(11:15 -0600)
Trivial.
src/compiler/nir/nir_gather_xfb_info.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_gather_xfb_info.c
b/src/compiler/nir/nir_gather_xfb_info.c
index a53703bb9bfd6db2265a3d0a310848e2a439f425..e282bba00817ccfc4f0271cb6c367a0d74927409 100644
(file)
--- 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);