diff options
author | Marek Olšák <[email protected]> | 2014-10-22 10:59:49 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-22 21:04:56 +0200 |
commit | 8ddd2f7aee893f7ad2ce359e7d68729568ca3a5e (patch) | |
tree | 2995df511f71201e40178b3f8d505df0737fde6b /src/gallium/drivers/r300/r300_emit.c | |
parent | ae879718c4086fc5905070e7f26dfa2757df0c86 (diff) |
r300g: implement pipe_rasterizer_state::clip_halfz
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index b201334cb95..b632963d187 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -1136,6 +1136,7 @@ void r300_emit_vs_state(struct r300_context* r300, unsigned size, void* state) R300_PVS_NUM_CNTLRS(pvs_num_controllers) | R300_PVS_NUM_FPUS(r300screen->caps.num_vert_fpus) | R300_PVS_VF_MAX_VTX_NUM(12) | + (r300->clip_halfz ? R300_DX_CLIP_SPACE_DEF : 0) | (r300screen->caps.is_r500 ? R500_TCL_STATE_OPTIMIZATION : 0)); /* Emit flow control instructions. Even if there are no fc instructions, |