radv/gfx10: disable binning
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 25 Jun 2019 09:50:13 +0000 (11:50 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 7 Jul 2019 15:51:32 +0000 (17:51 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index e429192ce898ddadb59dccb7ccec5caa8422304d..f0f7a45a14318c7f0628adab15342a7259dfa99d 100644 (file)
@@ -1897,7 +1897,8 @@ VkResult radv_CreateDevice(
                }
        }
 
-       device->pbb_allowed = device->physical_device->rad_info.chip_class >= GFX9 &&
+       /* TODO: Enable binning for GFX10. */
+       device->pbb_allowed = device->physical_device->rad_info.chip_class == GFX9 &&
                              !(device->instance->debug_flags & RADV_DEBUG_NOBINNING);
 
        /* Disabled and not implemented for now. */