From: Mika Isojärvi Date: Fri, 6 Mar 2015 23:22:49 +0000 (-0800) Subject: Remove unused variables. X-Git-Tag: upstream/0.1.0~1911^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5cf8749449961428acaefaa31a05fa906df47cd;p=platform%2Fupstream%2FVK-GL-CTS.git Remove unused variables. Change-Id: I8d7b221580128ea1d258bb5e7010880cd608aedc --- diff --git a/modules/gles31/functional/es31fCopyImageTests.cpp b/modules/gles31/functional/es31fCopyImageTests.cpp index 625dd26..cc23bf1 100644 --- a/modules/gles31/functional/es31fCopyImageTests.cpp +++ b/modules/gles31/functional/es31fCopyImageTests.cpp @@ -575,7 +575,6 @@ void genTextureImage (const glw::Functions& gl, { const int texelBlockSize = getTexelBlockSize(info.getFormat()); const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(info.getFormat()); - const IVec3 size = info.getSize(); levels.resize(getLevelCount(info)); @@ -2012,7 +2011,6 @@ void addCopyTests (TestCaseGroup* root, deUint32 srcFormat, deUint32 dstFormat) for (int srcTargetNdx = 0; srcTargetNdx < DE_LENGTH_OF_ARRAY(targets); srcTargetNdx++) { const deUint32 srcTarget = targets[srcTargetNdx]; - const IVec3 srcTexelBlockPixelSize = getTexelBlockPixelSize(srcFormat); const bool srcIs3D = srcTarget == GL_TEXTURE_2D_ARRAY || srcTarget == GL_TEXTURE_3D; if (glu::isCompressedFormat(srcFormat) && srcTarget == GL_RENDERBUFFER) @@ -2027,7 +2025,6 @@ void addCopyTests (TestCaseGroup* root, deUint32 srcFormat, deUint32 dstFormat) for (int dstTargetNdx = 0; dstTargetNdx < DE_LENGTH_OF_ARRAY(targets); dstTargetNdx++) { const deUint32 dstTarget = targets[dstTargetNdx]; - const IVec3 dstTexelBlockPixelSize = getTexelBlockPixelSize(dstFormat); const bool dstIs3D = dstTarget == GL_TEXTURE_2D_ARRAY || dstTarget == GL_TEXTURE_3D; if (glu::isCompressedFormat(dstFormat) && dstTarget == GL_RENDERBUFFER) @@ -2044,10 +2041,6 @@ void addCopyTests (TestCaseGroup* root, deUint32 srcFormat, deUint32 dstFormat) const IVec3 targetSize2D (128, 128, 1); const IVec3 targetSize3D (128, 128, 16); - const IVec3 targetPos2D (32, 32, 0); - const IVec3 targetPos3D (16, 16, 2); - const IVec3 targetCopySize (16, 16, 4); - const IVec3 srcSize = getTestedSize(srcTarget, srcFormat, (srcIs3D ? targetSize3D : targetSize2D)); const IVec3 dstSize = getTestedSize(dstTarget, dstFormat, (dstIs3D ? targetSize3D : targetSize2D));