summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-10-17 23:15:28 +0200
committerMarek Olšák <[email protected]>2015-10-20 12:58:25 +0200
commite70c66197ea10cf052010c7352420a2ae0b0a50a (patch)
tree975708dc7cf7b27d7de7feb49beff1bcc1ddc578 /src/gallium/include
parent67f489ded3a4c575e203dc82368ebe645e72079a (diff)
gallium: add new properties for clip and cull distance usage
The TGSI usage mask can't be used, because these are declared as an output array of 2 elements. Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index b36e0a35b8d..e0ab9013dd5 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -267,7 +267,9 @@ union tgsi_immediate_data
#define TGSI_PROPERTY_TES_SPACING 12
#define TGSI_PROPERTY_TES_VERTEX_ORDER_CW 13
#define TGSI_PROPERTY_TES_POINT_MODE 14
-#define TGSI_PROPERTY_COUNT 15
+#define TGSI_PROPERTY_NUM_CLIPDIST_ENABLED 15
+#define TGSI_PROPERTY_NUM_CULLDIST_ENABLED 16
+#define TGSI_PROPERTY_COUNT 17
struct tgsi_property {
unsigned Type : 4; /**< TGSI_TOKEN_TYPE_PROPERTY */