From: Mika Isojärvi Date: Tue, 17 Mar 2015 00:24:42 +0000 (-0700) Subject: Remove incomplete integer texture gather tests. X-Git-Tag: upstream/0.1.0~1873^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20e61971e5db3fe9f0c7b7d38841fa43f68fddd0;p=platform%2Fupstream%2FVK-GL-CTS.git Remove incomplete integer texture gather tests. Sampling floating point values from incomplete texture always produces (0, 0, 0, 1), but sampling integer or unsigned integer values return undefined values. Bug: 19733810 Change-Id: I32e8c6dcdc9ed7fd0a875857174d91fc605d958a --- diff --git a/modules/gles31/functional/es31fTextureGatherTests.cpp b/modules/gles31/functional/es31fTextureGatherTests.cpp index 42316ac..f5a5540 100644 --- a/modules/gles31/functional/es31fTextureGatherTests.cpp +++ b/modules/gles31/functional/es31fTextureGatherTests.cpp @@ -2267,7 +2267,9 @@ void TextureGatherTests::init (void) } } - if (!isDepthFormat(format)) // What shadow textures should return for incomplete textures is unclear. + // What shadow textures should return for incomplete textures is unclear. + // Integer and unsigned integer lookups from incomplete textures return undefined values. + if (!isDepthFormat(format) && !isSIntFormatType(format.type) && !isUIntFormatType(format.type)) { TestCaseGroup* const incompleteGroup = new TestCaseGroup(m_context, "incomplete", "Test that textureGather* takes components from (0,0,0,1) for incomplete textures"); formatGroup->addChild(incompleteGroup);