summaryrefslogtreecommitdiff
path: root/src/amd/compiler/aco_ir.h
diff options
context:
space:
mode:
authorRhys Perry <pendingchaos02@gmail.com>2022-07-21 15:54:26 +0100
committerMarge Bot <emma+marge@anholt.net>2022-09-30 20:57:02 +0000
commit2930317cea53843b4f3f2b25f11fba5ba82fda16 (patch)
tree36bddf75e1b6bc26fc2bace3580879be221d5d5b /src/amd/compiler/aco_ir.h
parent6407d783ea862082bf0c4f764c42430f354322d0 (diff)
downloadmesa-2930317cea53843b4f3f2b25f11fba5ba82fda16.tar.gz
aco/gfx11: deallocate VGPRs at the end of the shader
fossil-db (gfx1100): Totals from 65987 (40.81% of 161689) affected shaders: Instrs: 57123207 -> 57199947 (+0.13%) CodeSize: 308402500 -> 308709460 (+0.10%) Latency: 680527139 -> 680527160 (+0.00%) InvThroughput: 131620026 -> 131620045 (+0.00%) Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17710>
Diffstat (limited to 'src/amd/compiler/aco_ir.h')
-rw-r--r--src/amd/compiler/aco_ir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/compiler/aco_ir.h b/src/amd/compiler/aco_ir.h
index fbdea652c66..6483c2d60c1 100644
--- a/src/amd/compiler/aco_ir.h
+++ b/src/amd/compiler/aco_ir.h
@@ -2289,6 +2289,7 @@ void lower_to_hw_instr(Program* program);
void schedule_program(Program* program, live& live_vars);
void spill(Program* program, live& live_vars);
void insert_wait_states(Program* program);
+bool dealloc_vgprs(Program* program);
void insert_NOPs(Program* program);
void form_hard_clauses(Program* program);
unsigned emit_program(Program* program, std::vector<uint32_t>& code);