diff options
author | Jerome Glisse <[email protected]> | 2010-09-24 21:34:56 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-25 09:26:01 -0400 |
commit | 58c243905b0cfcbf1b0299a0f7f0ea90755e36cc (patch) | |
tree | d0fef47f519d80db43fc05030c14df7f975fa6d6 /src/gallium/drivers/r600/r600_pipe.h | |
parent | b6469a8dc712f550bafef624f854f265c5c8360f (diff) |
r600g: fix vertex resource & polygon offset
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index e05a14f4e93..19cfbccf4f1 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -60,6 +60,8 @@ struct r600_pipe_rasterizer { struct r600_pipe_state rstate; bool flatshade; unsigned sprite_coord_enable; + float offset_units; + float offset_scale; }; struct r600_pipe_blend { @@ -108,12 +110,14 @@ struct r600_pipe_context { struct r600_pipe_shader *vs_shader; struct r600_pipe_state vs_const_buffer; struct r600_pipe_state ps_const_buffer; + struct r600_pipe_rasterizer *rasterizer; /* shader information */ unsigned sprite_coord_enable; bool flatshade; struct u_upload_mgr *upload_vb; struct u_upload_mgr *upload_ib; enum radeon_family family; + unsigned any_user_vbs; }; struct r600_drawl { |