gallium/radeon: disable complicated point clipping against user clip planes
Nothing in the GL spec says that we should expand points to triangles. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -481,7 +481,6 @@ static void *evergreen_create_rs_state(struct pipe_context *ctx,
|
||||
S_028A0C_LINE_PATTERN(state->line_stipple_pattern) |
|
||||
S_028A0C_REPEAT_COUNT(state->line_stipple_factor) : 0;
|
||||
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) |
|
||||
|
||||
@@ -467,7 +467,6 @@ static void *r600_create_rs_state(struct pipe_context *ctx,
|
||||
S_028A0C_LINE_PATTERN(state->line_stipple_pattern) |
|
||||
S_028A0C_REPEAT_COUNT(state->line_stipple_factor) : 0;
|
||||
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) |
|
||||
|
||||
@@ -742,7 +742,6 @@ static void *si_create_rs_state(struct pipe_context *ctx,
|
||||
S_028A0C_LINE_PATTERN(state->line_stipple_pattern) |
|
||||
S_028A0C_REPEAT_COUNT(state->line_stipple_factor) : 0;
|
||||
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) |
|
||||
|
||||
Reference in New Issue
Block a user