aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_emit.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-24 14:23:25 -0700
committerEric Anholt <[email protected]>2014-09-24 15:56:39 -0700
commit66b7bd60e01fd17a356bf26d69ea351261080586 (patch)
tree9fdcd4650a4648119539e18cc949284a20701115 /src/gallium/drivers/vc4/vc4_emit.c
parentf24588d64e6be50068883d484c8d759fb8979750 (diff)
vc4: Add support for point size setting.
This is the support for both the global and per-vertex modes.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_emit.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_emit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_emit.c b/src/gallium/drivers/vc4/vc4_emit.c
index 0f533f0aefb..8df7073e56c 100644
--- a/src/gallium/drivers/vc4/vc4_emit.c
+++ b/src/gallium/drivers/vc4/vc4_emit.c
@@ -54,6 +54,9 @@ vc4_emit_state(struct pipe_context *pctx)
cl_u16(&vc4->bcl, vc4->rasterizer->offset_factor);
cl_u16(&vc4->bcl, vc4->rasterizer->offset_units);
+ cl_u8(&vc4->bcl, VC4_PACKET_POINT_SIZE);
+ cl_f(&vc4->bcl, vc4->rasterizer->point_size);
+
cl_u8(&vc4->bcl, VC4_PACKET_LINE_WIDTH);
cl_f(&vc4->bcl, vc4->rasterizer->base.line_width);
}