[Mesa-dev] [PATCH 2/4] ac/shader: repack ac_shader_info
Dave Airlie
airlied at gmail.com
Tue Jan 30 23:41:57 UTC 2018
From: Dave Airlie <airlied at redhat.com>
This reduces the size from 28->24 bytes.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/amd/common/ac_shader_info.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h
index 59b749576aa..7283433bfce 100644
--- a/src/amd/common/ac_shader_info.h
+++ b/src/amd/common/ac_shader_info.h
@@ -28,8 +28,8 @@ struct nir_shader;
struct ac_nir_compiler_options;
struct ac_shader_info {
- bool loads_push_constants;
uint32_t desc_set_used_mask;
+ bool loads_push_constants;
bool needs_multiview_view_index;
bool uses_invocation_id;
bool uses_prim_id;
--
2.14.3
More information about the mesa-dev
mailing list