diff --git a/projects/hip/tests/src/texture/simpleTexture3D.cpp b/projects/hip/tests/src/texture/simpleTexture3D.cpp index 673e373dcf..569eaf994b 100644 --- a/projects/hip/tests/src/texture/simpleTexture3D.cpp +++ b/projects/hip/tests/src/texture/simpleTexture3D.cpp @@ -84,10 +84,10 @@ void runTest(int width,int height,int depth,texturechannelDesc; hipArray *arr; - HIPCHECK(hipMalloc3DArray(&arr, &channelDesc, make_hipExtent(width, height, depth), hipArrayCubemap)); + HIPCHECK(hipMalloc3DArray(&arr, &channelDesc, make_hipExtent(width, height, depth), hipArrayDefault)); hipMemcpy3DParms myparms = {0}; myparms.srcPos = make_hipPos(0,0,0); myparms.dstPos = make_hipPos(0,0,0); @@ -100,6 +100,7 @@ void runTest(int width,int height,int depth,textureaddressMode[0] = hipAddressModeWrap; tex->addressMode[1] = hipAddressModeWrap; + tex->addressMode[2] = hipAddressModeWrap; tex->filterMode = hipFilterModePoint; tex->normalized = false;