diff --git a/src/amd/registers/gfx10-rsrc.json b/src/amd/registers/gfx10-rsrc.json index 0541cd7c150..be07afd1f68 100644 --- a/src/amd/registers/gfx10-rsrc.json +++ b/src/amd/registers/gfx10-rsrc.json @@ -401,7 +401,7 @@ "SQ_IMG_RSRC_WORD4_gfx103": { "fields": [ {"bits": [0, 12], "name": "DEPTH"}, - {"bits": [0, 13], "comment": "only for 1D, 2D, and 2D_MSAA if pitch > width", "name": "PITCH"}, + {"bits": [13, 13], "comment": "1D, 2D, 2D_MSAA: the pitch if pitch > width, the low bits are in DEPTH", "name": "PITCH_MSB"}, {"bits": [16, 28], "name": "BASE_ARRAY"} ] }, diff --git a/src/amd/registers/gfx11-rsrc.json b/src/amd/registers/gfx11-rsrc.json index 7592126ab5a..3d49a7bf81a 100644 --- a/src/amd/registers/gfx11-rsrc.json +++ b/src/amd/registers/gfx11-rsrc.json @@ -305,6 +305,7 @@ "SQ_IMG_RSRC_WORD4": { "fields": [ {"bits": [0, 12], "name": "DEPTH"}, + {"bits": [13, 13], "comment": "1D, 2D, 2D_MSAA: the pitch if pitch > width, the low bits are in DEPTH", "name": "PITCH_MSB"}, {"bits": [16, 28], "name": "BASE_ARRAY"} ] },