[Mesa-dev] [PATCH 4/8] mesa/program: add hw atomic counter file
Dave Airlie
airlied at gmail.com
Tue Nov 7 06:31:03 UTC 2017
From: Dave Airlie <airlied at redhat.com>
This is needed for the GLSL->TGSI translation for hw atomic counters.
Signed-off-by: Dave Airlie <airlied at redhat.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 2acf64e..60f06aa 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2059,6 +2059,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;
--
2.9.5
More information about the mesa-dev
mailing list