projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a0cde
)
freedreno/ir3: Clean up a silly nir_src_for_ssa(src.ssa).
author
Eric Anholt
<eric@anholt.net>
Mon, 20 Apr 2020 23:43:25 +0000
(16:43 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 14 May 2020 00:10:43 +0000
(
00:10
+0000)
Just copy the src through.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4858>
src/freedreno/ir3/ir3_nir_lower_io_offsets.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_nir_lower_io_offsets.c
b/src/freedreno/ir3/ir3_nir_lower_io_offsets.c
index 456e331aba7800fdbfb58ff9dafab9a63d943a16..b2ee9bce9a3fb44c8af50885415b5ca2c1984866 100644
(file)
--- a/
src/freedreno/ir3/ir3_nir_lower_io_offsets.c
+++ b/
src/freedreno/ir3/ir3_nir_lower_io_offsets.c
@@
-277,7
+277,7
@@
lower_offset_for_ubo(nir_intrinsic_instr *intrinsic, nir_builder *b)
nir_intrinsic_instr_create(b->shader, nir_intrinsic_load_ubo_ir3);
debug_assert(intrinsic->dest.is_ssa);
- new_intrinsic->src[0] =
nir_src_for_ssa(intrinsic->src[0].ssa)
;
+ new_intrinsic->src[0] =
intrinsic->src[0]
;
nir_ssa_def *offset = intrinsic->src[1].ssa;
nir_ssa_def *new_offset = ir3_nir_try_propagate_bit_shift(b, offset, -4);