From: Rhys Perry Date: Mon, 1 Jun 2020 15:19:56 +0000 (+0100) Subject: aco: shrink mad_info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=365d0aa6c543052635f3b6abbcd89d6d7833b97d;p=mesa.git aco: shrink mad_info From 24 bytes to 16 bytes. Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- 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 add_instr; uint32_t mul_temp_id; - uint32_t literal_idx; + uint16_t literal_idx; bool check_literal; mad_info(aco_ptr instr, uint32_t id)