mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
radv: Use getter instead of setter to extract value.
Oops ... Fixes:64768111c3"radv: Handle slightly different image dimensions." Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3417 Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6337> (cherry picked from commit50b039590e)
This commit is contained in:
parent
43b0e51f43
commit
750bb69ba4
2 changed files with 2 additions and 2 deletions
|
|
@ -796,7 +796,7 @@
|
|||
"description": "radv: Use getter instead of setter to extract value.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "64768111c302014a6ae8db6122dedf0d5e5168cc"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ radv_patch_image_dimensions(struct radv_device *device,
|
|||
if (device->physical_device->rad_info.chip_class >= GFX10) {
|
||||
width = G_00A004_WIDTH_LO(md->metadata[3]) +
|
||||
(G_00A008_WIDTH_HI(md->metadata[4]) << 2) + 1;
|
||||
height = S_00A008_HEIGHT(md->metadata[4]) + 1;
|
||||
height = G_00A008_HEIGHT(md->metadata[4]) + 1;
|
||||
} else {
|
||||
width = G_008F18_WIDTH(md->metadata[4]) + 1;
|
||||
height = G_008F18_HEIGHT(md->metadata[4]) + 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue