gallium/radeon: disable complicated point clipping against user clip planes
authorMarek Olšák <marek.olsak@amd.com>
Thu, 23 Jun 2016 19:42:39 +0000 (21:42 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 24 Jun 2016 14:24:53 +0000 (16:24 +0200)
Nothing in the GL spec says that we should expand points to triangles.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/radeonsi/si_state.c

index 1ac8914ad33fd0e626c3b889aad36314fad6089a..4a25582f660d4a9d6056c4345b047cb2ea3e4c04 100644 (file)
@@ -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) |
index cf7f0b3b3c19c8560bc342b95ab35a3ac399aec1..afb0e2f556c1b61e3fc51099e22b2c722a88865e 100644 (file)
@@ -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) |
index 1cef1dc875039cd9caa0a98fb1ff1939412c83e7..02890a1c27b30ad86adba2a1f7b7f7021f9f5f9d 100644 (file)
@@ -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) |