anv: Don't advertise Float64 or Int64 on HW without 64-bit types
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
@@ -755,8 +755,10 @@ void anv_GetPhysicalDeviceFeatures(
|
||||
.shaderStorageImageArrayDynamicIndexing = true,
|
||||
.shaderClipDistance = true,
|
||||
.shaderCullDistance = true,
|
||||
.shaderFloat64 = pdevice->info.gen >= 8,
|
||||
.shaderInt64 = pdevice->info.gen >= 8,
|
||||
.shaderFloat64 = pdevice->info.gen >= 8 &&
|
||||
pdevice->info.has_64bit_types,
|
||||
.shaderInt64 = pdevice->info.gen >= 8 &&
|
||||
pdevice->info.has_64bit_types,
|
||||
.shaderInt16 = false,
|
||||
.shaderResourceMinLod = false,
|
||||
.variableMultisampleRate = false,
|
||||
|
Reference in New Issue
Block a user