diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-07-08 23:18:28 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-07-09 12:04:12 +1000 |
commit | 343a435c462286597af5257278933893a6a6ac0c (patch) | |
tree | 2d28467f439f45a4f4c3d0fb6e06056e18d9d8c3 | |
parent | 5d0dbc2564d0078faf1c46a00af3761b48e6b193 (diff) |
radv/gfx10: Use correct count of max_offchip_buffers.
Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_device.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index d756357bcca..35bf0102b43 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2368,9 +2368,12 @@ radv_get_hs_offchip_param(struct radv_device *device, uint32_t *max_offchip_buff case GFX7: case GFX8: case GFX9: - default: max_offchip_buffers = MIN2(max_offchip_buffers, 508); break; + case GFX10: + break; + default: + break; } *max_offchip_buffers_p = max_offchip_buffers; |