projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9172607
)
aco: shrink mad_info
author
Rhys Perry
<pendingchaos02@gmail.com>
Mon, 1 Jun 2020 15:19:56 +0000
(16:19 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 18 Jun 2020 14:26:01 +0000
(14:26 +0000)
From 24 bytes to 16 bytes.
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/5281>
src/amd/compiler/aco_optimizer.cpp
patch
|
blob
|
history
diff --git
a/src/amd/compiler/aco_optimizer.cpp
b/src/amd/compiler/aco_optimizer.cpp
index 8fa769a43ec2f36d760c853d457d173cf4257a81..5427f6fbc1240e29a347d4f8bcc8981d73c5369d 100644
(file)
--- 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;
- uint
32
_t literal_idx;
+ uint
16
_t literal_idx;
bool check_literal;
mad_info(aco_ptr<Instruction> instr, uint32_t id)