diff options
Diffstat (limited to 'src/compiler/nir/nir_validate.c')
-rw-r--r-- | src/compiler/nir/nir_validate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_validate.c b/src/compiler/nir/nir_validate.c index 2fadff7869e..d1a90485e7e 100644 --- a/src/compiler/nir/nir_validate.c +++ b/src/compiler/nir/nir_validate.c @@ -448,6 +448,9 @@ validate_tex_instr(nir_tex_instr *instr, validate_state *state) if (instr->texture != NULL) validate_deref_var(instr, instr->texture, state); + if (instr->sampler != NULL) + validate_deref_var(instr, instr->sampler, state); + validate_dest(&instr->dest, state); } |