Mesa (master): aco: shrink mad_info
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 18 14:37:08 UTC 2020
Module: Mesa
Branch: master
Commit: 365d0aa6c543052635f3b6abbcd89d6d7833b97d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=365d0aa6c543052635f3b6abbcd89d6d7833b97d
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Mon Jun 1 16:19:56 2020 +0100
aco: shrink mad_info
>From 24 bytes to 16 bytes.
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5281>
---
src/amd/compiler/aco_optimizer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/compiler/aco_optimizer.cpp b/src/amd/compiler/aco_optimizer.cpp
index 8fa769a43ec..5427f6fbc12 100644
--- a/src/amd/compiler/aco_optimizer.cpp
+++ b/src/amd/compiler/aco_optimizer.cpp
@@ -52,7 +52,7 @@ namespace aco {
struct mad_info {
aco_ptr<Instruction> add_instr;
uint32_t mul_temp_id;
- uint32_t literal_idx;
+ uint16_t literal_idx;
bool check_literal;
mad_info(aco_ptr<Instruction> instr, uint32_t id)
More information about the mesa-commit
mailing list