nir/linker: fix msvc build
Empty initializer braces aren't valid c (it's a gnu extension, and
it's valid in c++).
Hopefully fixes appveyor / msvc build...
Fixes 6677e131b8
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
806a42fc47
commit
620626a371
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ gl_nir_link_assign_atomic_counter_resources(struct gl_context *ctx,
|
|||
struct gl_shader_program *prog)
|
||||
{
|
||||
unsigned num_buffers;
|
||||
unsigned num_atomic_buffers[MESA_SHADER_STAGES] = { };
|
||||
unsigned num_atomic_buffers[MESA_SHADER_STAGES] = {0};
|
||||
struct active_atomic_buffer *abs =
|
||||
find_active_atomic_counters(ctx, prog, &num_buffers);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue