[Mesa-dev] [PATCH 088/133] nir: Use the enum for the variable mode

Connor Abbott cwabbott0 at gmail.com
Wed Dec 17 17:39:56 PST 2014


Again, this looks pretty self-contained and pretty easy to squash.

On Tue, Dec 16, 2014 at 1:11 AM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> ---
>  src/glsl/nir/nir.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
> index b04a137..fc16cb5 100644
> --- a/src/glsl/nir/nir.h
> +++ b/src/glsl/nir/nir.h
> @@ -155,7 +155,7 @@ typedef struct {
>         *
>         * \sa nir_variable_mode
>         */
> -      unsigned mode:4;
> +      nir_variable_mode mode:4;
>
>        /**
>         * Interpolation mode for shader inputs / outputs
> --
> 2.2.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list