aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-11-01 14:22:04 +1000
committerDave Airlie <[email protected]>2017-11-10 08:39:35 +1000
commite0fb6de313f1a335fe628d057ad744872dab9446 (patch)
tree9afcec48666b1c2ccff3f0bddd08a78503c04ac6
parentcca5617348ad2544f2cf8e201828de3fa942df3c (diff)
mesa/program: add hw atomic counter file
This is needed for the GLSL->TGSI translation for hw atomic counters. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Tested-By: Gert Wollny <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 21e53db0902..6b5c5bbb366 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -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;