From ca1d37e1db8e477f179969c20cfca48b67efe50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 24 Oct 2023 07:50:55 -0400 Subject: [PATCH] radeonsi: adjust setting PA_SC_EDGERULE once more based on PAL. Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/amd/ci/traces-amd.yml | 2 +- src/gallium/drivers/radeonsi/si_state.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/amd/ci/traces-amd.yml b/src/amd/ci/traces-amd.yml index 5ef251b4cbf..b113cab6d01 100644 --- a/src/amd/ci/traces-amd.yml +++ b/src/amd/ci/traces-amd.yml @@ -29,7 +29,7 @@ traces: checksum: 8d71757cb74f8d71bf87c8af7e7f725a pathfinder/demo-v2.trace: gl-radeonsi-stoney: - checksum: 86318ec31a55a1246cb4a136a15475fd + checksum: c81c85f9b247dd1b06c3dd5b669cc283 pathfinder/canvas_moire-v2.trace: gl-radeonsi-stoney: checksum: 78dd2357ad6e5ffc049a75bfb11c5497 diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index d7dfbff4d3d..133bdce92df 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1095,18 +1095,18 @@ static void *si_create_rs_state(struct pipe_context *ctx, const struct pipe_rast S_028230_ER_TRI(0xA) | S_028230_ER_POINT(0x5) | S_028230_ER_RECT(0x9) | - S_028230_ER_LINE_LR(0x29) | - S_028230_ER_LINE_RL(0x29) | + S_028230_ER_LINE_LR(0x2A) | + S_028230_ER_LINE_RL(0x2A) | S_028230_ER_LINE_TB(0xA) | S_028230_ER_LINE_BT(0xA)); } else { /* OpenGL FBOs and Direct3D should set this. */ si_pm4_set_reg(pm4, R_028230_PA_SC_EDGERULE, S_028230_ER_TRI(0xA) | - S_028230_ER_POINT(0xA) | + S_028230_ER_POINT(0x6) | S_028230_ER_RECT(0xA) | - S_028230_ER_LINE_LR(0x1A) | - S_028230_ER_LINE_RL(0x26) | + S_028230_ER_LINE_LR(0x19) | + S_028230_ER_LINE_RL(0x25) | S_028230_ER_LINE_TB(0xA) | S_028230_ER_LINE_BT(0xA)); }