I am using a 2D layered texture with six layers
I load in six bitmaps and copy them to a single array in memory, then upload that array to a cuda 3d array which is bound to a layered texture
When I use this in my code tex2Dlayered returns the correct value for layers 4 and 5 but garbage for layers 0-3
Has anyone come across anything like this before?
I've searched all over the web and cannot see anything similar
Ok I have fixed it.
Was my bad, the textures I was loading were 32 bit and I was expecting 24
stainless smacks himself in the head