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,
|
.shaderStorageImageArrayDynamicIndexing = true,
|
||||||
.shaderClipDistance = true,
|
.shaderClipDistance = true,
|
||||||
.shaderCullDistance = true,
|
.shaderCullDistance = true,
|
||||||
.shaderFloat64 = pdevice->info.gen >= 8,
|
.shaderFloat64 = pdevice->info.gen >= 8 &&
|
||||||
.shaderInt64 = pdevice->info.gen >= 8,
|
pdevice->info.has_64bit_types,
|
||||||
|
.shaderInt64 = pdevice->info.gen >= 8 &&
|
||||||
|
pdevice->info.has_64bit_types,
|
||||||
.shaderInt16 = false,
|
.shaderInt16 = false,
|
||||||
.shaderResourceMinLod = false,
|
.shaderResourceMinLod = false,
|
||||||
.variableMultisampleRate = false,
|
.variableMultisampleRate = false,
|
||||||
|
Reference in New Issue
Block a user