[Mesa-dev] [PATCH 2/4] ac/shader: repack ac_shader_info
Nicolai Hähnle
nhaehnle at gmail.com
Wed Jan 31 17:16:48 UTC 2018
Patches 1 & 2:
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
On 31.01.2018 00:41, Dave Airlie wrote:
> 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;
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list