[Mesa-dev] [PATCH 03/11] spirv: Silence unsupported tessellation capability warnings.

Jason Ekstrand jason at jlekstrand.net
Mon Jan 9 16:21:59 UTC 2017


On Sun, Jan 8, 2017 at 9:38 PM, Dave Airlie <airlied at gmail.com> wrote:

> On 9 January 2017 at 15:26, Kenneth Graunke <kenneth at whitecape.org> wrote:
> > This is all implemented now.
>
> Do we want to key these off the nir_spirv_supported_extensions thing I
> added?
>

I think we do unless Dave thinks he can get tess support landed for radv
this week.

--Jason


> Dave.
>
> >
> > Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> > ---
> >  src/compiler/spirv/spirv_to_nir.c | 5 ++---
> >  1 file changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/src/compiler/spirv/spirv_to_nir.c
> b/src/compiler/spirv/spirv_to_nir.c
> > index 8f19afa77ee..2ea836bd7f6 100644
> > --- a/src/compiler/spirv/spirv_to_nir.c
> > +++ b/src/compiler/spirv/spirv_to_nir.c
> > @@ -515,7 +515,6 @@ struct_member_decoration_cb(struct vtn_builder *b,
> >        break;
> >
> >     case SpvDecorationPatch:
> > -      vtn_warn("Tessellation not yet supported");
> >        break;
> >
> >     case SpvDecorationSpecId:
> > @@ -2505,11 +2504,11 @@ vtn_handle_preamble_instruction(struct
> vtn_builder *b, SpvOp opcode,
> >        case SpvCapabilityInputAttachment:
> >        case SpvCapabilityImageGatherExtended:
> >        case SpvCapabilityStorageImageExtendedFormats:
> > +      case SpvCapabilityTessellation:
> > +      case SpvCapabilityTessellationPointSize:
> >           break;
> >
> >        case SpvCapabilityGeometryStreams:
> > -      case SpvCapabilityTessellation:
> > -      case SpvCapabilityTessellationPointSize:
> >        case SpvCapabilityLinkage:
> >        case SpvCapabilityVector16:
> >        case SpvCapabilityFloat16Buffer:
> > --
> > 2.11.0
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> 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/20170109/f8a1824e/attachment.html>


More information about the mesa-dev mailing list