From: Marek Olšák Date: Mon, 18 May 2015 00:21:47 +0000 (+0200) Subject: tgsi/text: enable parsing tessellation shaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1266f28d6af7788e19634f0d36257e78d1139be;p=mesa.git tgsi/text: enable parsing tessellation shaders Reviewed-by: Ilia Mirkin --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index a9734db6355..a6675c5168d 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c @@ -297,6 +297,10 @@ static boolean parse_header( struct translate_ctx *ctx ) processor = TGSI_PROCESSOR_VERTEX; else if (str_match_nocase_whole( &ctx->cur, "GEOM" )) processor = TGSI_PROCESSOR_GEOMETRY; + else if (str_match_nocase_whole( &ctx->cur, "TESS_CTRL" )) + processor = TGSI_PROCESSOR_TESS_CTRL; + else if (str_match_nocase_whole( &ctx->cur, "TESS_EVAL" )) + processor = TGSI_PROCESSOR_TESS_EVAL; else if (str_match_nocase_whole( &ctx->cur, "COMP" )) processor = TGSI_PROCESSOR_COMPUTE; else {