Module: Mesa Branch: master Commit: 19f6906c1e498499035e98929657e2faebe6c993 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19f6906c1e498499035e98929657e2faebe6c993
Author: Dave Airlie <[email protected]> Date: Thu Aug 24 02:47:14 2017 +0100 radv/gfx9: gfx9 has buffer sizing rules like pre-VI. This fixes: dEQP-VK.robustness.buffer_access.* on GFX9. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Cc: "17.2" <[email protected]> Signed-off-by: Dave Airlie <[email protected]> --- src/amd/vulkan/radv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 684e804cc9..e915d675fd 100644 --- 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; } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
