mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
radv/gfx9: gfx9 has buffer sizing rules like pre-VI.
This fixes:
dEQP-VK.robustness.buffer_access.* on GFX9.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 19f6906c1e)
This commit is contained in:
parent
6f0d910617
commit
9d6d567046
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ radv_make_buffer_descriptor(struct radv_device *device,
|
|||
state[1] = S_008F04_BASE_ADDRESS_HI(va >> 32) |
|
||||
S_008F04_STRIDE(stride);
|
||||
|
||||
if (device->physical_device->rad_info.chip_class < VI && stride) {
|
||||
if (device->physical_device->rad_info.chip_class != VI && stride) {
|
||||
range /= stride;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue