From bbb32c0c5d80fbda391f8c653f9073bfef27dd14 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Tue, 29 Nov 2011 15:41:01 -0800 Subject: [PATCH] Fix a bug where uniform/varying pointers aren't mangled differently --- type.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/type.cpp b/type.cpp index 0217a598..725320c5 100644 --- a/type.cpp +++ b/type.cpp @@ -832,7 +832,8 @@ PointerType::Mangle() const { if (baseType == NULL) return ""; - return std::string("ptr<") + baseType->Mangle() + std::string(">"); + return (isUniform ? std::string("uptr<") : std::string("vptr<")) + + baseType->Mangle() + std::string(">"); }