summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-12-11 13:09:06 -0800
committerKristian Høgsberg Kristensen <[email protected]>2015-12-11 13:09:06 -0800
commit21d5e52da862af7e6f4509ae70667b12d2280b47 (patch)
tree85cf39a299a117bc2212596be4dbd2463011b41f /src/glsl
parent6ae4e59faca7875322a9a8a64e9d7b4a5a87ed48 (diff)
parentc51f133197437d01696abd9513fbcda4b16b897c (diff)
Merge ../mesa into vulkan
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/nir_lower_clip.c2
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;