mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
r600g: set QUANT_MODE on Cayman too
This fixes piglit/fbo-blit-stretched.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit bfe489c76b)
This commit is contained in:
parent
c3454d95af
commit
a940c74bc3
1 changed files with 2 additions and 1 deletions
|
|
@ -910,7 +910,8 @@ static void *evergreen_create_rs_state(struct pipe_context *ctx,
|
||||||
|
|
||||||
if (rctx->chip_class == CAYMAN) {
|
if (rctx->chip_class == CAYMAN) {
|
||||||
r600_pipe_state_add_reg(rstate, CM_R_028BE4_PA_SU_VTX_CNTL,
|
r600_pipe_state_add_reg(rstate, CM_R_028BE4_PA_SU_VTX_CNTL,
|
||||||
S_028C08_PIX_CENTER_HALF(state->gl_rasterization_rules));
|
S_028C08_PIX_CENTER_HALF(state->gl_rasterization_rules) |
|
||||||
|
S_028C08_QUANT_MODE(V_028C08_X_1_256TH));
|
||||||
} else {
|
} else {
|
||||||
r600_pipe_state_add_reg(rstate, R_028C08_PA_SU_VTX_CNTL,
|
r600_pipe_state_add_reg(rstate, R_028C08_PA_SU_VTX_CNTL,
|
||||||
S_028C08_PIX_CENTER_HALF(state->gl_rasterization_rules) |
|
S_028C08_PIX_CENTER_HALF(state->gl_rasterization_rules) |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue