radv: set offchip hs param like radeonsi.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 22:36:24 +0000 (08:36 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 23:43:18 +0000 (09:43 +1000)
radeonsi never uses 512 here anymore.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 6c30cdeafa2b4b51793bd94b61b7b5fcec4fe720..d80d74628b10c10bce4e47404e2e9672a8bdcdb3 100644 (file)
@@ -1475,11 +1475,9 @@ radv_get_hs_offchip_param(struct radv_device *device, uint32_t *max_offchip_buff
                max_offchip_buffers = MIN2(max_offchip_buffers, 126);
                break;
        case CIK:
-               max_offchip_buffers = MIN2(max_offchip_buffers, 508);
-               break;
        case VI:
        default:
-               max_offchip_buffers = MIN2(max_offchip_buffers, 512);
+               max_offchip_buffers = MIN2(max_offchip_buffers, 508);
                break;
        }