[Mesa-dev] [PATCH] anv: Don't advertise Float64 or Int64 on HW withou 64-bit types
Anuj Phogat
anuj.phogat at gmail.com
Tue May 1 17:57:01 UTC 2018
On Mon, Apr 30, 2018 at 3:15 PM, Jason Ekstrand <jason at jlekstrand.net>
wrote:
> ---
> src/intel/vulkan/anv_device.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index adcd506..e82f294 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -757,8 +757,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 = true,
> --
> 2.5.0.400.gff86faf
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
s/withou/without in subject. With typo fixed:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180501/6cdd7ac5/attachment-0001.html>
More information about the mesa-dev
mailing list