Re: [Mesa-dev] [PATCH 2/4] ac/shader: repack ac_shader_info

2018-01-31 Thread Nicolai Hähnle

Patches 1 & 2:

Reviewed-by: Nicolai Hähnle 


On 31.01.2018 00:41, Dave Airlie wrote:

From: Dave Airlie 

This reduces the size from 28->24 bytes.

Signed-off-by: Dave Airlie 
---
  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;




--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 2/4] ac/shader: repack ac_shader_info

2018-01-30 Thread Dave Airlie
From: Dave Airlie 

This reduces the size from 28->24 bytes.

Signed-off-by: Dave Airlie 
---
 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

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev