aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorTimur Kristóf <[email protected]>2019-09-17 19:59:52 +0200
committerDaniel Schürmann <[email protected]>2019-10-30 16:54:41 +0000
commitf53811aeace20530a502ea1ead3d4d2230dc1945 (patch)
tree3901184ea07e7374bdc05ed2dc820f395a56e705 /src/amd
parenta886ae5162cb11e1a545efb0d940fb9128dbc4d8 (diff)
radv: Enable ACO on Navi.
Signed-off-by: Timur Kristóf <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 53751e9e242..5fcc17e6e6d 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -322,8 +322,7 @@ radv_physical_device_init(struct radv_physical_device *device,
radv_handle_env_var_force_family(device);
device->use_aco = instance->perftest_flags & RADV_PERFTEST_ACO;
- if ((device->rad_info.chip_class < GFX8 ||
- device->rad_info.chip_class > GFX9) && device->use_aco) {
+ if (device->rad_info.chip_class < GFX8 && device->use_aco) {
fprintf(stderr, "WARNING: disabling ACO on unsupported GPUs.\n");
device->use_aco = false;
}