[Mesa-dev] [PATCH 0/2] v5: Fix array overrun with too many uniforms

Petri Latvala petri.latvala at intel.com
Thu Feb 27 06:15:03 PST 2014


Fixing https://bugs.freedesktop.org/show_bug.cgi?id=71254 once again.

Rebased for current master, plumbing-class changes to patch 1/2. Fixed
one of the asserts in patch 2/2.

Full piglit run shows no regressions.

Petri Latvala (2):
  i965: Allocate vec4_visitor's uniform_size and uniform_vector_size
    arrays     dynamically.
  i965: Assert array index on access to vec4_visitor's arrays.

 src/mesa/drivers/dri/i965/brw_vec4.cpp         |  2 ++
 src/mesa/drivers/dri/i965/brw_vec4.h           |  5 +++--
 src/mesa/drivers/dri/i965/brw_vec4_gs.c        |  5 +++++
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 17 +++++++++++++++++
 src/mesa/drivers/dri/i965/brw_vs.c             |  8 ++++++++
 5 files changed, 35 insertions(+), 2 deletions(-)

-- 
1.8.4.rc3



More information about the mesa-dev mailing list