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:
ad34d81
)
nir/gce: pin call instructions
author
Karol Herbst
<kherbst@redhat.com>
Tue, 26 Apr 2022 19:22:43 +0000
(21:22 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 31 May 2022 12:36:48 +0000
(12:36 +0000)
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16202>
src/compiler/nir/nir_opt_gcm.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_opt_gcm.c
b/src/compiler/nir/nir_opt_gcm.c
index
5550cf2
..
4546e23
100644
(file)
--- a/
src/compiler/nir/nir_opt_gcm.c
+++ b/
src/compiler/nir/nir_opt_gcm.c
@@
-381,6
+381,10
@@
gcm_pin_instructions(nir_function_impl *impl, struct gcm_state *state)
pin_intrinsic(nir_instr_as_intrinsic(instr));
break;
+ case nir_instr_type_call:
+ instr->pass_flags = GCM_INSTR_PINNED;
+ break;
+
case nir_instr_type_jump:
case nir_instr_type_ssa_undef:
case nir_instr_type_phi: