From 7b6f2704eb7333689531cc1572648a31319cb5ac Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 8 Jun 2018 14:38:14 +1000 Subject: virgl: add ARB_tessellation_shader support. (v2) This should add all the pieces to enable tess shaders on virgl. v2: fixup transform to handle tess and strip out precise. set default for max patch varyings to work around issue when tess gets enabled from v1 caps but v2 caps aren't in place. (Elie) Reviewed-by: Elie Tournier --- src/gallium/auxiliary/tgsi/tgsi_transform.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gallium/auxiliary') diff --git a/src/gallium/auxiliary/tgsi/tgsi_transform.c b/src/gallium/auxiliary/tgsi/tgsi_transform.c index cd076c9e79e..4b2b10f50ad 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_transform.c +++ b/src/gallium/auxiliary/tgsi/tgsi_transform.c @@ -140,10 +140,6 @@ tgsi_transform_shader(const struct tgsi_token *tokens_in, return -1; } procType = parse.FullHeader.Processor.Processor; - assert(procType == PIPE_SHADER_FRAGMENT || - procType == PIPE_SHADER_VERTEX || - procType == PIPE_SHADER_GEOMETRY); - /** ** Setup output shader -- cgit v1.2.3