projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3591da
)
radeonsi: implement pipe_rasterizer_state::clip_halfz
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 22 Oct 2014 08:59:49 +0000
(10:59 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 22 Oct 2014 19:05:00 +0000
(21:05 +0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state.c
b/src/gallium/drivers/radeonsi/si_state.c
index c845df1700971ae633011ee8cab2a8cd9e13af33..16d8493e6e24209455cf7d10ae82a52ed4d18a04 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.c
+++ b/
src/gallium/drivers/radeonsi/si_state.c
@@
-607,6
+607,7
@@
static void *si_create_rs_state(struct pipe_context *ctx,
S_028814_POLYMODE_BACK_PTYPE(si_translate_fill(state->fill_back));
rs->pa_cl_clip_cntl =
S_028810_PS_UCP_MODE(3) |
+ S_028810_DX_CLIP_SPACE_DEF(state->clip_halfz) |
S_028810_ZCLIP_NEAR_DISABLE(!state->depth_clip) |
S_028810_ZCLIP_FAR_DISABLE(!state->depth_clip) |
S_028810_DX_RASTERIZATION_KILL(state->rasterizer_discard) |