summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-12-09 10:46:56 -0800
committerBrian Paul <[email protected]>2013-12-11 17:19:44 -0800
commitccd6bf8272cba7c57e4ae09ab8a03db63472648e (patch)
tree3d3dd8783c41ba50b418a4758e1322badc64363f /src/gallium/drivers/svga/svga_context.h
parent84b1716b5efa98c21db32ff7f55bb7608d6a11df (diff)
svga: expose HW smooth/stipple/wide lines
Newer virtual HW versions support smooth/stipple/wide lines. Use that instead of 'draw' fallbacks when possible. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r--src/gallium/drivers/svga/svga_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h
index 284ee2db4a5..dee0cec6460 100644
--- a/src/gallium/drivers/svga/svga_context.h
+++ b/src/gallium/drivers/svga/svga_context.h
@@ -160,6 +160,7 @@ struct svga_rasterizer_state {
float slopescaledepthbias;
float depthbias;
float pointsize;
+ float linewidth;
unsigned hw_unfilled:16; /* PIPE_POLYGON_MODE_x */