[Mesa-dev] [PATCH 52/59] anv/device: expose shaderInt8 feature

Jason Ekstrand jason at jlekstrand.net
Fri Dec 7 20:11:39 UTC 2018


51 and 52 should probably be rolled together.  For that matter, I don't
think we need 6 patches just to add two SPIR-V capabilities and advertise
one extension.  Maybe roll the two SPIR-V patches together, add one or two
for the extension and the enables?

On Tue, Dec 4, 2018 at 1:18 AM Iago Toral Quiroga <itoral at igalia.com> wrote:

> ---
>  src/intel/vulkan/anv_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index caf25ad8a03..17b73c115cd 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -971,7 +971,7 @@ void anv_GetPhysicalDeviceFeatures2(
>           ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
>
>           features->shaderFloat16 = pdevice->info.gen >= 8;
> -         features->shaderInt8 = false;
> +         features->shaderInt8 = pdevice->info.gen >= 8;
>           break;
>        }
>
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181207/a80d889c/attachment-0001.html>


More information about the mesa-dev mailing list