mesa/program: add hw atomic counter file
authorDave Airlie <airlied@redhat.com>
Wed, 1 Nov 2017 04:22:04 +0000 (14:22 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Nov 2017 22:39:35 +0000 (08:39 +1000)
This is needed for the GLSL->TGSI translation for hw atomic counters.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-By: Gert Wollny <gw.fossdev@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/mtypes.h

index 21e53db0902178ed607927fcf1f17146313ff493..6b5c5bbb3668c5f9920a00cf12ee20b7ba124715 100644 (file)
@@ -2060,6 +2060,7 @@ typedef enum
    PROGRAM_BUFFER,      /**< for shader buffers, compile-time only */
    PROGRAM_MEMORY,      /**< for shared, global and local memory */
    PROGRAM_IMAGE,       /**< for shader images, compile-time only */
+   PROGRAM_HW_ATOMIC,   /**< for hw atomic counters, compile-time only */
    PROGRAM_FILE_MAX
 } gl_register_file;