From 5286b5d832b82c7886c14328c3853eaa002bae99 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 19 Mar 2018 10:24:59 -0700 Subject: nir: Add deref sources to texture instructions Reviewed-by: Caio Marcelo de Oliveira Filho Acked-by: Rob Clark Acked-by: Bas Nieuwenhuizen Acked-by: Dave Airlie Reviewed-by: Kenneth Graunke --- src/compiler/nir/nir.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/nir/nir.h') diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 66b8590e98b..85a4c5db770 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1272,6 +1272,8 @@ typedef enum { nir_tex_src_ms_mcs, /* MSAA compression value */ nir_tex_src_ddx, nir_tex_src_ddy, + nir_tex_src_texture_deref, /* < deref pointing to the texture */ + nir_tex_src_sampler_deref, /* < deref pointing to the sampler */ nir_tex_src_texture_offset, /* < dynamically uniform indirect offset */ nir_tex_src_sampler_offset, /* < dynamically uniform indirect offset */ nir_tex_src_plane, /* < selects plane for planar textures */ -- cgit v1.2.3