projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12fd0f8
)
radv/gfx9: gfx9 has buffer sizing rules like pre-VI.
author
Dave Airlie
<airlied@redhat.com>
Thu, 24 Aug 2017 01:47:14 +0000
(
02:47
+0100)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 24 Aug 2017 23:52:36 +0000
(
00:52
+0100)
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>
src/amd/vulkan/radv_image.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_image.c
b/src/amd/vulkan/radv_image.c
index 684e804cc9924f5dc64a0c9b94dfdab7a2d8f3c9..e915d675fdf65d16283267d3d10115d291332172 100644
(file)
--- a/
src/amd/vulkan/radv_image.c
+++ b/
src/amd/vulkan/radv_image.c
@@
-185,7
+185,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;
}