diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-07-21 03:40:00 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-07-23 21:26:59 +0200 |
commit | e5b3f0a867bef5cc4880d78d7a63feba6df4872a (patch) | |
tree | da0ba4e9fc513961c70ddbddf768f07bc4c82c6b /src/amd | |
parent | 3268c806fb2b7fe0f8fd27d698e732b39ec91147 (diff) |
radv/gfx10: Enable binning.
Numbers for Talos:
gfx10 without binning: 77.0 77.7 77.2 77.6
gfx10 with binning: 82.3 82.0 82.7 82.4
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 93b03afda22..9ba100df6e8 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1896,8 +1896,7 @@ VkResult radv_CreateDevice( } } - /* TODO: Enable binning for GFX10. */ - device->pbb_allowed = device->physical_device->rad_info.chip_class == GFX9 && + device->pbb_allowed = device->physical_device->rad_info.chip_class >= GFX9 && !(device->instance->debug_flags & RADV_DEBUG_NOBINNING); /* Disabled and not implemented for now. */ |