mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
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:
parent
1936ceec58
commit
c15a8a43d9
1 changed files with 2 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue