From 83bcaf04f76c8a2798a58493a5398eab2e3f1e8b Mon Sep 17 00:00:00 2001 From: James Helferty Date: Thu, 30 Mar 2017 15:15:59 -0400 Subject: [PATCH] Check correct error for exceeding texture limit This test should check for GL_INVALID_OPERATION instead of GL_INVALID_VALUE. Affects: dEQP-GLES31.functional.debug.negative_coverage.get_error.compute.exceed_texture_image_units_limit Component: AOSP VK-GL-CTS Issue: 340 Change-Id: I609f6fcb876978e715c52fd5b5c4144891dbaacf --- modules/gles31/functional/es31fNegativeComputeTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gles31/functional/es31fNegativeComputeTests.cpp b/modules/gles31/functional/es31fNegativeComputeTests.cpp index c0c36bc..a12f54a 100644 --- a/modules/gles31/functional/es31fNegativeComputeTests.cpp +++ b/modules/gles31/functional/es31fNegativeComputeTests.cpp @@ -248,7 +248,7 @@ void exceed_texture_image_units_limit (NegativeTestContext& ctx) ctx.beginSection("GL_INVALID_OPERATION error is generated if the sum of the number of active samplers for each active program exceeds the maximum number of texture image units allowed"); ctx.glDispatchCompute(1, 1, 1); - ctx.expectError(GL_INVALID_VALUE); + ctx.expectError(GL_INVALID_OPERATION); ctx.endSection(); } } -- 2.7.4