[Bug 79202] valgrind errors in glsl-fs-uniform-array-loop-unroll.shader_test; random code generation
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 11 02:14:33 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=79202
Iago Toral <itoral at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Iago Toral <itoral at igalia.com> ---
Fixed with:
commit 6ac1bc90c4a7a6f32901a9782e14b090f6fe5270
Author: Iago Toral Quiroga <itoral at igalia.com>
Date: Tue Mar 10 11:36:43 2015 +0100
i965: Fix out-of-bounds accesses into pull_constant_loc array
The piglit test glsl-fs-uniform-array-loop-unroll.shader_test was designed
to do an out of bounds access into an uniform array to make sure that we
handle that situation gracefully inside the driver, however, as Ken
describes
in bug 79202, Valgrind reports that this is leading to an out-of-bounds
access
in fs_visitor::demote_pull_constants().
Before accessing the pull_constant_loc array we should make sure that
the uniform we are trying to access is valid.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79202
Reviewed-by: Matt Turner <mattst88 at gmail.com>
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150311/0cf99541/attachment.html>
More information about the intel-3d-bugs
mailing list