From: Dave Airlie Date: Wed, 1 Nov 2017 04:22:04 +0000 (+1000) Subject: mesa/program: add hw atomic counter file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0fb6de313f1a335fe628d057ad744872dab9446;p=mesa.git mesa/program: add hw atomic counter file This is needed for the GLSL->TGSI translation for hw atomic counters. Reviewed-by: Nicolai Hähnle Reviewed-by: Marek Olšák Tested-By: Gert Wollny Signed-off-by: Dave Airlie --- 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;