diff options
author | Timothy Arceri <[email protected]> | 2015-12-11 11:07:14 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2015-12-11 19:26:20 +1100 |
commit | 4b9a79b7b813b8d4df71507a0085ab920e603b73 (patch) | |
tree | 8394c53e79af11bbb1f9bec66091dc847c8f6c97 /src/glsl | |
parent | 18ad641c3b2e926b8b3e2bd1df31fa739624cbe4 (diff) |
nir: silence uninitialized warning
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/nir/nir_lower_clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_lower_clip.c b/src/glsl/nir/nir_lower_clip.c index e2a2bb689a8..36cc578d1ed 100644 --- a/src/glsl/nir/nir_lower_clip.c +++ b/src/glsl/nir/nir_lower_clip.c @@ -217,7 +217,7 @@ nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables) int position = -1; int maxloc = -1; nir_ssa_def *cv; - nir_variable *out[2]; + nir_variable *out[2] = { NULL }; if (!ucp_enables) return; |