summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-06-25 11:50:13 +0200
committerBas Nieuwenhuizen <[email protected]>2019-07-07 17:51:32 +0200
commitfe4419d3c7b7be90bcf84011c8f5deb3896ac6e9 (patch)
treec930bbad1bfc650bbd52a6a75fcbb1d4ddb08071 /src/amd/vulkan/radv_device.c
parentfaf27ee9b30035be03e531f95f4b591c872271de (diff)
radv/gfx10: disable binning
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index e429192ce89..f0f7a45a143 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -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. */