diff options
author | Dave Airlie <[email protected]> | 2018-06-08 14:38:14 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-06-14 10:36:31 +1000 |
commit | 7b6f2704eb7333689531cc1572648a31319cb5ac (patch) | |
tree | 74c0a026138877d905f31562dd79cd80166f127b /src/gallium/auxiliary/tgsi | |
parent | babd1d526be4690204964f5e0a42f5df12f7f83b (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_transform.c | 4 |
1 files changed, 0 insertions, 4 deletions
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 |