From c15a8a43d95c19b0db79aca0d9b9b7b9c0b38ccb Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 2 Nov 2021 12:28:43 -0500 Subject: [PATCH] anv: Int64 atomics don't need to depend on softpin Ever since 04ccfeae98f2 ("anv: Require softpin on Gen8+"), softpin has been a hard requirement on BDW+ so there's no reason for SKL+ code to have a relocation path. Reviewed-by: Paulo Zanoni Part-of: --- src/intel/vulkan/anv_device.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index e7da2d19f81..bdb36d0bec1 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -215,8 +215,7 @@ get_device_extensions(const struct anv_physical_device *device, .KHR_sampler_mirror_clamp_to_edge = true, .KHR_sampler_ycbcr_conversion = true, .KHR_separate_depth_stencil_layouts = true, - .KHR_shader_atomic_int64 = device->info.ver >= 9 && - device->use_softpin, + .KHR_shader_atomic_int64 = device->info.ver >= 9, .KHR_shader_clock = true, .KHR_shader_draw_parameters = true, .KHR_shader_float16_int8 = device->info.ver >= 8, @@ -1355,8 +1354,7 @@ anv_get_physical_device_features_1_2(struct anv_physical_device *pdevice, f->storageBuffer8BitAccess = pdevice->info.ver >= 8; f->uniformAndStorageBuffer8BitAccess = pdevice->info.ver >= 8; f->storagePushConstant8 = pdevice->info.ver >= 8; - f->shaderBufferInt64Atomics = pdevice->info.ver >= 9 && - pdevice->use_softpin; + f->shaderBufferInt64Atomics = pdevice->info.ver >= 9; f->shaderSharedInt64Atomics = false; f->shaderFloat16 = pdevice->info.ver >= 8; f->shaderInt8 = pdevice->info.ver >= 8;