Fix a bug where uniform/varying pointers aren't mangled differently
This commit is contained in:
3
type.cpp
3
type.cpp
@@ -832,7 +832,8 @@ PointerType::Mangle() const {
|
|||||||
if (baseType == NULL)
|
if (baseType == NULL)
|
||||||
return "";
|
return "";
|
||||||
|
|
||||||
return std::string("ptr<") + baseType->Mangle() + std::string(">");
|
return (isUniform ? std::string("uptr<") : std::string("vptr<")) +
|
||||||
|
baseType->Mangle() + std::string(">");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user