From 4a3c04a11f41b5a280a4e284eb1795af2b1236a9 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Sun, 24 Mar 2019 20:43:55 +0100 Subject: glsl/nir: add support for lowering bindless images_derefs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: handle atomics as well make use of nir_rewrite_image_intrinsic v3: remove call to nir_remove_dead_derefs v4: (Timothy Arceri) dont actually call lowering yet Signed-off-by: Karol Herbst Reviewed-by: Jason Ekstrand (v3) Reviewed-by: Marek Olšák --- src/compiler/nir/nir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/nir/nir.h') diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 956b716d38d..0f110dd959f 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1409,7 +1409,7 @@ nir_intrinsic_align(const nir_intrinsic_instr *intrin) /* Converts a image_deref_* intrinsic into a image_* one */ void nir_rewrite_image_intrinsic(nir_intrinsic_instr *instr, - nir_ssa_def *handle); + nir_ssa_def *handle, bool bindless); /** * \group texture information -- cgit v1.2.3