Mesa (master): compiler: add SYSTEM_BIT_FRONT_FACE

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 10 15:54:51 UTC 2020


Module: Mesa
Branch: master
Commit: 10dfd3cfb4bff1a98e6374d93110f039b4cef621
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10dfd3cfb4bff1a98e6374d93110f039b4cef621

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Nov  3 10:40:23 2020 +0100

compiler: add SYSTEM_BIT_FRONT_FACE

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7477>

---

 src/compiler/shader_enums.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index c6ea75c9570..a4d2191db33 100644
--- a/src/compiler/shader_enums.h
+++ b/src/compiler/shader_enums.h
@@ -385,6 +385,7 @@ const char *gl_varying_slot_name(gl_varying_slot slot);
 #define SYSTEM_BIT_SAMPLE_POS ((uint64_t)1 << SYSTEM_VALUE_SAMPLE_POS)
 #define SYSTEM_BIT_SAMPLE_MASK_IN ((uint64_t)1 << SYSTEM_VALUE_SAMPLE_MASK_IN)
 #define SYSTEM_BIT_LOCAL_INVOCATION_ID ((uint64_t)1 << SYSTEM_VALUE_LOCAL_INVOCATION_ID)
+#define SYSTEM_BIT_FRONT_FACE ((uint64_t)1 << SYSTEM_VALUE_FRONT_FACE)
 
 /**
  * If the gl_register_file is PROGRAM_SYSTEM_VALUE, the register index will be



More information about the mesa-commit mailing list