summaryrefslogtreecommitdiff
path: root/src/glsl
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-01-15 15:28:14 -0700
committerBrian Paul <brianp@vmware.com>2015-01-15 17:09:02 -0700
commitaa479a69d6c9710be4d1c63e706f869bb97ad127 (patch)
tree5b380dafcfa9700f8c298e6e03b946d3060f81e3 /src/glsl
parent337eca4ac8fcbc6fe2983e7b60653002c14d5d8d (diff)
nir: silence compiler warning from visit_src() call
v2: use proper argument Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c
index f112db8dd5..81dec1c54c 100644
--- a/src/glsl/nir/nir.c
+++ b/src/glsl/nir/nir.c
@@ -1541,7 +1541,7 @@ static bool
visit_tex_src(nir_tex_instr *instr, nir_foreach_src_cb cb, void *state)
{
for (unsigned i = 0; i < instr->num_srcs; i++)
- if (!visit_src(&instr->src[i], cb, state))
+ if (!visit_src(&instr->src[i].src, cb, state))
return false;
if (instr->sampler != NULL)