diff options
Diffstat (limited to 'src/glsl/nir/nir.c')
-rw-r--r-- | src/glsl/nir/nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index fe10b380ef0..7a469a6ccf8 100644 --- a/src/glsl/nir/nir.c +++ b/src/glsl/nir/nir.c @@ -41,6 +41,7 @@ nir_shader_create(void *mem_ctx, exec_list_make_empty(&shader->outputs); shader->options = options; + memset(&shader->info, 0, sizeof(shader->info)); exec_list_make_empty(&shader->functions); exec_list_make_empty(&shader->registers); |