summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-05-18 13:52:30 +0200
committerMarek Olšák <[email protected]>2015-05-26 11:46:28 +0200
commit0d84b6cf84971f3378bb95c85f7d39e0c6680b8f (patch)
tree2f0865b7f925dfa64f5ba5188ba0212c2a5eae13 /src/gallium/auxiliary/tgsi/tgsi_scan.c
parent92c31bb0dd8149d3e5db48b8dec62b242be80d28 (diff)
gallium: rename TGSI tessellation processor types to match pipe shader names
I forgot to do this when pushing the interface changes. Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index 3f94bab4496..d821072935a 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c
@@ -74,8 +74,8 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
assert(procType == TGSI_PROCESSOR_FRAGMENT ||
procType == TGSI_PROCESSOR_VERTEX ||
procType == TGSI_PROCESSOR_GEOMETRY ||
- procType == TGSI_PROCESSOR_TESSCTRL ||
- procType == TGSI_PROCESSOR_TESSEVAL ||
+ procType == TGSI_PROCESSOR_TESS_CTRL ||
+ procType == TGSI_PROCESSOR_TESS_EVAL ||
procType == TGSI_PROCESSOR_COMPUTE);
info->processor = procType;
@@ -239,8 +239,8 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
if (procType == TGSI_PROCESSOR_VERTEX ||
procType == TGSI_PROCESSOR_GEOMETRY ||
- procType == TGSI_PROCESSOR_TESSCTRL ||
- procType == TGSI_PROCESSOR_TESSEVAL) {
+ procType == TGSI_PROCESSOR_TESS_CTRL ||
+ procType == TGSI_PROCESSOR_TESS_EVAL) {
if (semName == TGSI_SEMANTIC_CLIPDIST) {
info->num_written_clipdistance +=
util_bitcount(fulldecl->Declaration.UsageMask);