summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_video_context.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-02-04 21:35:28 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-02-04 21:35:28 +0100
commit68f93ea3eb83cfad014b8ec93cec3564c1aa9833 (patch)
treea563ebec246a2e741750a8b5198da180e9479e17 /src/gallium/drivers/softpipe/sp_video_context.c
parent2c326e72664e65166c68b027b26aaf373f3be36d (diff)
gallium: add point_quad_rasterization bit to rasterizer state
This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_video_context.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_video_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_video_context.c b/src/gallium/drivers/softpipe/sp_video_context.c
index 7dde3c1330..cfa2a0b2f1 100644
--- a/src/gallium/drivers/softpipe/sp_video_context.c
+++ b/src/gallium/drivers/softpipe/sp_video_context.c
@@ -178,6 +178,7 @@ init_pipe_state(struct sp_mpeg12_context *ctx)
rast.bypass_vs_clip_and_viewport = 0;
rast.line_width = 1;
rast.point_smooth = 0;
+ rast.point_quad_rasterization = 0;
rast.point_size = 1;
rast.offset_units = 1;
rast.offset_scale = 1;