added addrspace(3,4)->addrspace(0) convertion to ctx->GetElementPtrInst. Appears to work now.

This commit is contained in:
Evghenii
2014-01-08 19:31:28 +01:00
parent cc53fa4c14
commit 5f859e4885
4 changed files with 19 additions and 12 deletions

View File

@@ -328,7 +328,7 @@ volume_task(uniform float density[], uniform int _nVoxels[3],
{
if (taskIndex >= taskCount) return;
#if 0 /* cannot pass shared memory pointers to functions, need to find a way to solve this one :S */
#if 1 /* cannot pass shared memory pointers to functions, need to find a way to solve this one :S */
uniform int nVoxels[3];
nVoxels[0] = _nVoxels[0];
nVoxels[1] = _nVoxels[1];