Two dEQP tests fail for 32bit platforms only: deqp-gles31.functional.draw_indirect.negative.command_offset_not_in_buffer_signed32_wrap deqp-gles31.functional.draw_indirect.negative.command_offset_not_in_buffer_unsigned32_wrap Sample output: /tmp/build_root/m32/opt/deqp/modules/gles31/deqp-gles31 --deqp-case=dEQP-GLES31.functional.draw_indirect.negative.command_offset_not_in_buffer_signed32_wrap --deqp-log-images=disable --deqp-gl-config-name=rgba8888d24s8 --deqp-surface-width=400 --deqp-surface-height=300 --deqp-visibility=hidden dEQP Core git-ac9895c3cd060bb4414b0a932e2d09b0c47dbef2 (0xac9895c3) starting.. target implementation = 'X11 GLX' Test case 'dEQP-GLES31.functional.draw_indirect.negative.command_offset_not_in_buffer_signed32_wrap'.. Test case duration in microseconds = 10749 us Fail (Got unexpected error.)
Trivial integer overflow bug. Should have a patch shortly.
Fixed by: commit 2655265fcba9017e793026c76e490e04db088c8f Author: Kenneth Graunke <kenneth@whitecape.org> Date: Mon Apr 25 22:34:37 2016 -0700 mesa: Fix indirect draw buffer size check on 32-bit systems. Fixes dEQP-GLES31.functional subtests: draw_indirect.negative.command_offset_not_in_buffer_signed32_wrap draw_indirect.negative.command_offset_not_in_buffer_unsigned32_wrap These tests use really large values that overflow GLsizeiptr, at which point the buffer size isn't less than "end". Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95138 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Reviewed-by: Mark Janes <mark.a.janes@intel.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.