[Mesa-dev] [PATCH 1/6] nir: reduce memory footprint of glsl_struct_field's precision

Tapani Pälli tapani.palli at intel.com
Tue Nov 17 01:26:45 PST 2015


All 6 patches
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

On 11/17/2015 09:33 AM, Samuel Iglesias Gonsálvez wrote:
> Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
> ---
>   src/glsl/nir/glsl_types.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/glsl/nir/glsl_types.h b/src/glsl/nir/glsl_types.h
> index d841a32..2d44059 100644
> --- a/src/glsl/nir/glsl_types.h
> +++ b/src/glsl/nir/glsl_types.h
> @@ -837,7 +837,7 @@ struct glsl_struct_field {
>      /**
>       * Precision qualifier
>       */
> -   unsigned precision;
> +   unsigned precision:2;
>
>      /**
>       * Image qualifiers, applicable to buffer variables defined in shader
>


More information about the mesa-dev mailing list