[Mesa-dev] [PATCH v2 04/20] mesa: add PROGRAM_MEMORY

Ilia Mirkin imirkin at alum.mit.edu
Sun Feb 7 18:27:25 UTC 2016


Ugh, with this we're going to end up overflowing gl_register_file when
I add images... it ends up getting stored as 4 bits somewhere. Oh
well, not your problem.

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Sat, Feb 6, 2016 at 5:04 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> This will be used for shared, global and local memory areas.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/mesa/main/mtypes.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index 432cda9..d50376b 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -1872,6 +1872,7 @@ typedef enum
>     PROGRAM_UNDEFINED,   /**< Invalid/TBD value */
>     PROGRAM_IMMEDIATE,   /**< Immediate value, used by TGSI */
>     PROGRAM_BUFFER,      /**< for shader buffers, compile-time only */
> +   PROGRAM_MEMORY,      /**< for shared, global and local memory */
>     PROGRAM_FILE_MAX
>  } gl_register_file;
>
> --
> 2.6.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list