diff options
author | Brian Paul <brianp@vmware.com> | 2015-01-15 15:28:14 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-01-15 17:09:02 -0700 |
commit | aa479a69d6c9710be4d1c63e706f869bb97ad127 (patch) | |
tree | 5b380dafcfa9700f8c298e6e03b946d3060f81e3 | |
parent | 337eca4ac8fcbc6fe2983e7b60653002c14d5d8d (diff) |
nir: silence compiler warning from visit_src() call
v2: use proper argument
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
-rw-r--r-- | src/glsl/nir/nir.c | 2 |
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) |