[Mesa-dev] [PATCH 3/3] radeonsi: implement pipe_rasterizer_state::clip_halfz

Michel Dänzer michel at daenzer.net
Wed Oct 22 02:07:44 PDT 2014


On 22.10.2014 18:02, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
>   src/gallium/drivers/radeonsi/si_state.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
> index c845df1..16d8493 100644
> --- 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) |
>

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

The other two patches seem fine as well.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the mesa-dev mailing list