mesa/src
Tapani Pälli 446c5726ec i965: fix blorp stage_prog_data->param leak
Patch uses mem_ctx for allocation to ensure param array gets freed
later.

==6164== 48 bytes in 1 blocks are definitely lost in loss record 61 of 193
==6164==    at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
==6164==    by 0x12E31C6C: ralloc_size (ralloc.c:121)
==6164==    by 0x130189F1: fs_visitor::assign_constant_locations() (brw_fs.cpp:2095)
==6164==    by 0x13022D32: fs_visitor::optimize() (brw_fs.cpp:5715)
==6164==    by 0x13024D5A: fs_visitor::run_fs(bool, bool) (brw_fs.cpp:6229)
==6164==    by 0x1302549A: brw_compile_fs (brw_fs.cpp:6570)
==6164==    by 0x130C4B07: blorp_compile_fs (blorp.c:194)
==6164==    by 0x130D384B: blorp_params_get_clear_kernel (blorp_clear.c:79)
==6164==    by 0x130D3C56: blorp_fast_clear (blorp_clear.c:332)
==6164==    by 0x12EFA439: do_single_blorp_clear (brw_blorp.c:1261)
==6164==    by 0x12EFC4AF: brw_blorp_clear_color (brw_blorp.c:1326)
==6164==    by 0x12EFF72B: brw_clear (brw_clear.c:297)

Fixes: 8d90e28839 ("intel/compiler: Allocate pull_param in assign_constant_locations")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
2017-10-30 08:19:37 +02:00
..
amd radv: Implement VK_AMD_shader_info 2017-10-29 00:28:45 +02:00
broadcom meson: Fix vc5 deps on the XML-generated headers. 2017-10-20 17:16:00 -07:00
compiler nir: Make nir_gather_info collect a uses_fddx_fddy flag. 2017-10-29 20:52:20 -07:00
egl wayland-egl: fix wayland cflags 2017-10-27 11:57:03 +01:00
gallium etnaviv: add ext_texture_srgb support 2017-10-28 21:20:42 +02:00
gbm meson: build libEGL 2017-10-20 16:46:48 -07:00
getopt
glx meson: rename all instances of xf86vm to xxf86vm 2017-10-27 11:06:07 -07:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel i965: fix blorp stage_prog_data->param leak 2017-10-30 08:19:37 +02:00
loader loader: drop empty function alias 2017-10-26 16:25:33 +01:00
mapi scons: fix scons build to find generated glapitable.h 2017-10-27 16:26:26 -06:00
mesa i965: correctly assign SamplerCount of INTERFACE_DESCRIPTOR_DATA 2017-10-29 22:41:23 -07:00
util radeonsi: update hack for HTILE corruption in ARK: Survival Evolved 2017-10-27 10:47:30 +02:00
vulkan vulkan: Update headers and registry to 1.0.64 2017-10-26 05:17:57 +10:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00
meson.build meson: build classic osmesa 2017-10-27 11:06:45 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00