mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
bifrost: use nir_intrinsic_has_type
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6402>
This commit is contained in:
parent
2133e64203
commit
85b7403909
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ bi_load(enum bi_class T, nir_intrinsic_instr *instr)
|
|||
if (info->has_dest)
|
||||
load.dest = pan_dest_index(&instr->dest);
|
||||
|
||||
if (info->has_dest && info->index_map[NIR_INTRINSIC_TYPE] > 0)
|
||||
if (info->has_dest && nir_intrinsic_has_type(instr))
|
||||
load.dest_type = nir_intrinsic_type(instr);
|
||||
|
||||
nir_src *offset = nir_get_io_offset_src(instr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue