diff options
author | Jason Ekstrand <[email protected]> | 2018-03-19 10:24:59 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-22 20:15:53 -0700 |
commit | 5286b5d832b82c7886c14328c3853eaa002bae99 (patch) | |
tree | 0f044471f74fd2facc8de84ce44b095e8ed9cbd6 /src/compiler/nir/nir_print.c | |
parent | f1dc2088e298e5867c6ff1b274fff87557c004a3 (diff) |
nir: Add deref sources to texture instructions
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Acked-by: Rob Clark <[email protected]>
Acked-by: Bas Nieuwenhuizen <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_print.c')
-rw-r--r-- | src/compiler/nir/nir_print.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index 90d865fe950..d034d53531f 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -923,6 +923,12 @@ print_tex_instr(nir_tex_instr *instr, print_state *state) case nir_tex_src_ddy: fprintf(fp, "(ddy)"); break; + case nir_tex_src_texture_deref: + fprintf(fp, "(texture_deref)"); + break; + case nir_tex_src_sampler_deref: + fprintf(fp, "(sampler_deref)"); + break; case nir_tex_src_texture_offset: fprintf(fp, "(texture_offset)"); break; |