diff options
author | Tapani Pälli <[email protected]> | 2019-03-19 11:17:18 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2019-03-20 08:20:09 +0200 |
commit | 03cbfbd913b947e250221cd09bbff6740189e1d1 (patch) | |
tree | 741e9f5928506f1bef6fe6de19bf74a6744b0f09 | |
parent | d258b787faaf9b089acd740df26bddbb64c2c630 (diff) |
iris: initialize num_cbufs
Currently initialized only if 'ish' is non-NULL.
CID: 1444106
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/gallium/drivers/iris/iris_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index 6dc3289f6cd..ebddcc2fb58 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -712,7 +712,7 @@ iris_compile_tcs(struct iris_context *ice, struct brw_stage_prog_data *prog_data = &vue_prog_data->base; enum brw_param_builtin *system_values = NULL; unsigned num_system_values = 0; - unsigned num_cbufs; + unsigned num_cbufs = 0; nir_shader *nir; |