Commit aa479a69 authored by Brian Paul's avatar Brian Paul
Browse files

nir: silence compiler warning from visit_src() call

v2: use proper argument
Reviewed-by: default avatarConnor Abbott <>
parent 337eca4a
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment