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

2
type.h
View File

@@ -430,7 +430,7 @@ public:
bool isSlice = false, bool frozen = false);
/** Helper method to return a uniform pointer to the given type. */
static PointerType *GetUniform(const Type *t);
static PointerType *GetUniform(const Type *t, bool isSlice = false);
/** Helper method to return a varying pointer to the given type. */
static PointerType *GetVarying(const Type *t);