projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
445e2f1
)
agx: Use nir_alu_src_as_uint
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Tue, 25 Apr 2023 18:48:56 +0000
(14:48 -0400)
committer
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Thu, 11 May 2023 13:23:04 +0000
(09:23 -0400)
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22695>
src/asahi/compiler/agx_compile.c
patch
|
blob
|
history
diff --git
a/src/asahi/compiler/agx_compile.c
b/src/asahi/compiler/agx_compile.c
index
421927e
..
44040a3
100644
(file)
--- a/
src/asahi/compiler/agx_compile.c
+++ b/
src/asahi/compiler/agx_compile.c
@@
-1142,7
+1142,7
@@
agx_emit_alu(agx_builder *b, nir_alu_instr *instr)
case nir_op_extr_agx:
return agx_extr_to(b, dst, s0, s1, s2,
- nir_
src_as_uint(instr->src[3].src
));
+ nir_
alu_src_as_uint(instr->src[3]
));
case nir_op_bcsel:
return agx_icmpsel_to(b, dst, s0, i0, s2, s1, AGX_ICOND_UEQ);