projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
337eca4
)
nir: silence compiler warning from visit_src() call
author
Brian Paul
<brianp@vmware.com>
Thu, 15 Jan 2015 22:28:14 +0000
(15:28 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 16 Jan 2015 00:09:02 +0000
(17:09 -0700)
v2: use proper argument
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir.c
b/src/glsl/nir/nir.c
index f112db8dd56abc70d6f153a7063f4443d1b182a1..81dec1c54c69afaaf416e14c5558995bd91aadf9 100644
(file)
--- 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)