diff options
author | Francisco Jerez <[email protected]> | 2012-03-18 19:09:18 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2012-05-11 12:39:40 +0200 |
commit | 63428372cadc73a7124f4e7d383eb86a0c7affd7 (patch) | |
tree | 9cc8a956b7494e2bca767ff03cee730e3d0c4115 /src/gallium/auxiliary/tgsi/tgsi_text.c | |
parent | 1279923d72942ee201fcc6ad40d552143f651f03 (diff) |
gallium/tgsi: Introduce the compute processor.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_text.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_text.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index 7269f5343ec..04862759b7f 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c @@ -238,6 +238,8 @@ static boolean parse_header( struct translate_ctx *ctx ) processor = TGSI_PROCESSOR_VERTEX; else if (str_match_no_case( &ctx->cur, "GEOM" )) processor = TGSI_PROCESSOR_GEOMETRY; + else if (str_match_no_case( &ctx->cur, "COMP" )) + processor = TGSI_PROCESSOR_COMPUTE; else { report_error( ctx, "Unknown header" ); return FALSE; |