summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_context.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-31 12:24:32 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-01 16:15:03 -0700
commite9139868681157f9e6a356144eb6facce0226836 (patch)
treeee842087a2164bd30e4a2e0b96efe2070d3e2132 /src/gallium/drivers/panfrost/pan_context.h
parentf3e15122d4b4b3fbeb33790b7a26826d69066ae9 (diff)
panfrost: Implement gl_FrontFacing
Interestingly, this requires no compiler changes. It's just exposed as a special varying. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 1b2689db3ad..e6d6ec48cc2 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -218,6 +218,7 @@ struct panfrost_shader_state {
bool can_discard;
bool writes_point_size;
bool reads_point_coord;
+ bool reads_face;
struct mali_attr_meta varyings[PIPE_MAX_ATTRIBS];
gl_varying_slot varyings_loc[PIPE_MAX_ATTRIBS];