Fix two compile time errors to allow SOA pointer and array be passed as function argument.
This commit is contained in:
4
type.cpp
4
type.cpp
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user