mesa: add PROGRAM_MEMORY
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 6 Feb 2016 21:16:48 +0000 (22:16 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 13 Feb 2016 14:51:17 +0000 (15:51 +0100)
This will be used for shared, global and local memory areas.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/mtypes.h

index 432cda9caeeb914024a5cb1b51cf73ad86c9eb73..d50376b229d58a9c5f656af28628c50fca4e390a 100644 (file)
@@ -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;