amd/registers: update pitch definitions in descriptors

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23037>
This commit is contained in:
Marek Olšák
2023-05-15 01:27:14 -04:00
committed by Marge Bot
parent dbc1febb33
commit 1a24f43d97
2 changed files with 2 additions and 1 deletions

View File

@@ -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"}
]
},

View File

@@ -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"}
]
},