summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_context.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-24 11:01:05 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-24 12:56:16 -0700
commitbe03060066feee857455eb07f873b05052453c3c (patch)
treed058f9b0ffcea3bad6c7f7b4afceafb18c74ba80 /src/gallium/drivers/panfrost/pan_context.h
parent7fc907118e5756e2ab3911e670dad103f4095a19 (diff)
panfrost: Track point sprites in fragment shader key
In preparation for lowering point sprites, track them like we track alpha testing state. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_context.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 1f718bcd9c4..fc8fc3c1291 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -258,6 +258,9 @@ struct panfrost_shader_state {
/* Information on this particular shader variant */
struct pipe_alpha_state alpha_state;
+
+ uint16_t point_sprite_mask;
+ unsigned point_sprite_upper_left : 1;
};
/* A collection of varyings (the CSO) */