Define dereferencing varying pointer to uniform struct with 'bound uniform' member.

This commit is contained in:
Vsevolod Livinskiy
2016-02-05 14:49:42 +03:00
parent 243d6c2625
commit 0ef3d3b429
3 changed files with 76 additions and 4 deletions

3
ctx.h
View File

@@ -481,7 +481,8 @@ public:
pointer values given by the lvalue. If the lvalue is not varying,
then both the mask pointer and the type pointer may be NULL. */
llvm::Value *LoadInst(llvm::Value *ptr, llvm::Value *mask,
const Type *ptrType, const char *name = NULL);
const Type *ptrType, const char *name = NULL,
bool one_elem = false);
llvm::Value *LoadInst(llvm::Value *ptr, const char *name = NULL);