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

Dave Airlie airlied at gmail.com
Mon Jan 9 05:38:33 UTC 2017


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?

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


More information about the mesa-dev mailing list