diff options
Diffstat (limited to 'src/glsl/nir/nir.c')
-rw-r--r-- | src/glsl/nir/nir.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index 27436661d14..be293fb029c 100644 --- a/src/glsl/nir/nir.c +++ b/src/glsl/nir/nir.c @@ -49,6 +49,10 @@ nir_shader_create(void *mem_ctx) exec_list_make_empty(&shader->system_values); shader->reg_alloc = 0; + shader->num_inputs = 0; + shader->num_outputs = 0; + shader->num_uniforms = 0; + return shader; } |