summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2012-01-15 09:29:50 -0500
committerDave Airlie <[email protected]>2012-01-15 16:19:42 +0000
commit91d47296967ebfaf685f3870998ea0a1450ecf55 (patch)
treee66b4f6507dac03f89a6cb2fc2d95825d2ef493f /src/gallium/drivers/r600/r600_pipe.h
parent725a820b926575265e6790601a0defd9c30947dc (diff)
r600g: implement clip distances
Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 87a710b9831..8df03108c78 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -110,6 +110,7 @@ struct r600_pipe_rasterizer {
boolean flatshade;
boolean two_side;
unsigned sprite_coord_enable;
+ unsigned clip_plane_enable;
float offset_units;
float offset_scale;
};
@@ -219,6 +220,8 @@ struct r600_pipe_context {
boolean clamp_vertex_color;
boolean clamp_fragment_color;
boolean two_side;
+ unsigned user_clip_plane_enable;
+ unsigned clip_dist_enable;
unsigned sprite_coord_enable;
boolean export_16bpc;
unsigned alpha_ref;