Fix two compile time errors to allow SOA pointer and array be passed as function argument.

This commit is contained in:
Peng Tu
2012-12-11 17:20:15 -08:00
parent 16b0806d40
commit 6ba7368ab0
4 changed files with 10 additions and 5 deletions

View File

@@ -874,8 +874,8 @@ PointerType::PointerType(const Type *t, Variability v, bool ic, bool is,
PointerType *
PointerType::GetUniform(const Type *t) {
return new PointerType(t, Variability(Variability::Uniform), false);
PointerType::GetUniform(const Type *t, bool is) {
return new PointerType(t, Variability(Variability::Uniform), false, is);
}