summaryrefslogtreecommitdiff
path: root/src/amd/common
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2020-10-20 17:18:16 -0400
committerMarek Olšák <marek.olsak@amd.com>2020-10-23 20:51:22 -0400
commit989cc76f0c90190b1894bd7c80b80ccf96ae2ebd (patch)
treeec11cb0fb5db9c3113b74cda378c3cfe7d1a1994 /src/amd/common
parente72b76b94bdfff49bbd4aefb5b489599a39ca2fb (diff)
amd: replace 0x028848 with the register definition
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7264>
Diffstat (limited to 'src/amd/common')
-rw-r--r--src/amd/common/ac_shadowed_regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_shadowed_regs.c b/src/amd/common/ac_shadowed_regs.c
index 1ef2df5afb7..77cab6a9044 100644
--- a/src/amd/common/ac_shadowed_regs.c
+++ b/src/amd/common/ac_shadowed_regs.c
@@ -649,7 +649,7 @@ static const struct ac_reg_range Gfx103ContextShadowRange[] = {
},
{
R_02882C_PA_SU_PRIM_FILTER_CNTL,
- 0x028848 - R_02882C_PA_SU_PRIM_FILTER_CNTL + 4,
+ R_028848_PA_CL_VRS_CNTL - R_02882C_PA_SU_PRIM_FILTER_CNTL + 4,
},
{
R_028A00_PA_SU_POINT_SIZE,