radv/gfx10: Use correct count of max_offchip_buffers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 8 Jul 2019 21:18:28 +0000 (23:18 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Jul 2019 02:04:12 +0000 (12:04 +1000)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index d756357bcca5623a9c6a46ba2ce7fe395919859f..35bf0102b43a01df6e5a355bba9e8934189051e7 100644 (file)
@@ -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;