glsl/nir: add support for lowering bindless images_derefs
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 <kherbst@redhat.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v3) Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user