aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-07-13 10:58:01 -0600
committerBrian Paul <[email protected]>2011-09-23 07:58:47 -0600
commit2f40e4aac7ab79deb06ff6ab9ae03a896d7a9169 (patch)
treea9223f69183aa85899b538ef08f10dad91ffdb6f /src/gallium/drivers/svga/svga_context.h
parent9a41ecaddddb2f371e207901ae4d86918049c5aa (diff)
svga: implement point sprite suppport
Emit the SVGA3D_RS_POINTSPRITEENABLE render state. When sprite_coord_mode=PIPE_SPRITE_COORD_LOWER_LEFT emit extra frag shader code to invert the Y coordinate of the incoming texcoord.
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 f8c1ab40345..a03a81749bb 100644
--- a/src/gallium/drivers/svga/svga_context.h
+++ b/src/gallium/drivers/svga/svga_context.h
@@ -141,6 +141,7 @@ struct svga_rasterizer_state {
unsigned multisampleantialias:1;
unsigned antialiasedlineenable:1;
unsigned lastpixel:1;
+ unsigned pointsprite:1;
unsigned linepattern;