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

Iago Toral itoral at igalia.com
Mon Dec 10 09:01:35 UTC 2018


Sure, will do that.

On Fri, 2018-12-07 at 14:11 -0600, Jason Ekstrand wrote:
> 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;
> > 
> >        }
> > 
> > 
> > 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181210/e1e070a7/attachment-0001.html>


More information about the mesa-dev mailing list