Commit 0aaaa13e authored by Brian Paul's avatar Brian Paul
Browse files

nir: fix incorrect argument passed to validate_src() in validate_tex_instr()



Silences a compiler warning.
Reviewed-by: default avatarConnor Abbott <cwabbott0@gmail.com>
parent aa479a69
......@@ -381,7 +381,7 @@ validate_tex_instr(nir_tex_instr *instr, validate_state *state)
for (unsigned i = 0; i < instr->num_srcs; i++) {
assert(!src_type_seen[instr->src[i].src_type]);
src_type_seen[instr->src[i].src_type] = true;
validate_src(&instr->src[i], state);
validate_src(&instr->src[i].src, state);
}
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