summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_dump.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2014-09-20 08:32:39 -0600
committerBrian Paul <brianp@vmware.com>2014-09-22 16:56:24 -0600
commite7a614c60c21a961d88f8cfd78969052fa7a2685 (patch)
tree0f5d45d3696562cf6dcf1e43375805a454141ee7 /src/gallium/auxiliary/tgsi/tgsi_dump.c
parent9ce72ac1fa13e7e0cec3348816b70602a0982c55 (diff)
downloadexternal_mesa3d-e7a614c60c21a961d88f8cfd78969052fa7a2685.zip
external_mesa3d-e7a614c60c21a961d88f8cfd78969052fa7a2685.tar.gz
external_mesa3d-e7a614c60c21a961d88f8cfd78969052fa7a2685.tar.bz2
gallium: replace pipe_type enum with tgsi_return_type enum
The only place the enum pipe_type was used is for the TGSI sampler view return type. So make it a TGSI type. Note: it appears this part of TGSI isn't used by anyone so it may be removed in the future. v2: the new name is tgsi_return_type, not tgsi_type. This means we can drop the previously posted tgsi_type -> tgsi_opcode_type patch. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_dump.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c
index 08d3fde..972a37e 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_dump.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c
@@ -329,15 +329,15 @@ iter_declaration(
if ((decl->SamplerView.ReturnTypeX == decl->SamplerView.ReturnTypeY) &&
(decl->SamplerView.ReturnTypeX == decl->SamplerView.ReturnTypeZ) &&
(decl->SamplerView.ReturnTypeX == decl->SamplerView.ReturnTypeW)) {
- ENM(decl->SamplerView.ReturnTypeX, tgsi_type_names);
+ ENM(decl->SamplerView.ReturnTypeX, tgsi_return_type_names);
} else {
- ENM(decl->SamplerView.ReturnTypeX, tgsi_type_names);
+ ENM(decl->SamplerView.ReturnTypeX, tgsi_return_type_names);
TXT(", ");
- ENM(decl->SamplerView.ReturnTypeY, tgsi_type_names);
+ ENM(decl->SamplerView.ReturnTypeY, tgsi_return_type_names);
TXT(", ");
- ENM(decl->SamplerView.ReturnTypeZ, tgsi_type_names);
+ ENM(decl->SamplerView.ReturnTypeZ, tgsi_return_type_names);
TXT(", ");
- ENM(decl->SamplerView.ReturnTypeW, tgsi_type_names);
+ ENM(decl->SamplerView.ReturnTypeW, tgsi_return_type_names);
}
}