anv: Int64 atomics don't need to depend on softpin

Ever since 04ccfeae98 ("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 <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13610>
This commit is contained in:
Jason Ekstrand 2021-11-02 12:28:43 -05:00 committed by Marge Bot
parent 1936ceec58
commit c15a8a43d9

View file

@ -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;