radv: Remove SI num RB override for occlusion queries.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 6 Jun 2017 20:03:49 +0000 (22:03 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 6 Jun 2017 21:23:43 +0000 (23:23 +0200)
radeonsi doesn't have it anymore either.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_query.c

index 6d05612579f4e723589216d77981383cdd85efef..03b5af16a55ebf7cfe5f9a74c49bbbeaeb77c25c 100644 (file)
@@ -44,9 +44,6 @@ static unsigned get_max_db(struct radv_device *device)
        unsigned num_db = device->physical_device->rad_info.num_render_backends;
        MAYBE_UNUSED unsigned rb_mask = device->physical_device->rad_info.enabled_rb_mask;
 
-       if (device->physical_device->rad_info.chip_class == SI)
-               num_db = 8;
-
        /* Otherwise we need to change the query reset procedure */
        assert(rb_mask == ((1ull << num_db) - 1));