SWDEV-387958 - Fix incorrect slicePitch for ImageGL

Change-Id: I06183deeeed840f345ba988ecdbf4dc442c3c78a


[ROCm/clr commit: 5ee9e6c8c1]
This commit is contained in:
Ioannis Assiouras
2023-03-14 15:50:26 +00:00
committed by Maneesh Gupta
parent e4e9be476c
commit 49ab7a188f
+1 -1
View File
@@ -175,7 +175,7 @@ public:
GLenum glCubemapFace = 0)
: Image(amdContext, clType, clFlags, format, width, height, depth,
Format(format).getElementSize() * width,
Format(format).getElementSize() * width * depth)
Format(format).getElementSize() * width * height)
, GLObject(glTarget, gluiName, gliMipLevel, glInternalFormat,
static_cast<GLint>(width), static_cast<GLint>(height),
static_cast<GLint>(depth), clGLType, glCubemapFace,numSamples)