mesa/src
Matt Turner 1af5c4a526 i965: Allow exec_list sentinels as arguments to insert functions.
To insert an instruction at the end of a basic block, we typically do
something like

   inst = block->last_non_control_flow_inst();
   inst->insert_after(block, new_inst);

But blocks can consist of a single control flow instruction, so inst
will actually be the exec_list's head sentinel. We shouldn't use it as
if it were a regular instruction, but it is safe to insert something after
it.

This patch avoids assert-failing because an exec_list sentinel wasn't in
the basic block's instruction list.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2015-02-17 20:44:09 -08:00
..
egl egl: Soften several HAVE_DRM_PLATFORM to HAVE_LIBDRM 2015-02-12 13:20:22 +00:00
gallium r600g/sb: treat undefined values like constants 2015-02-18 11:13:06 +10:00
gbm gbm: Define _DEFAULT_SOURCE to avoid warning 2015-01-16 21:54:54 -08:00
getopt
glsl Avoid fighting with Solaris headers over isnormal() 2015-02-17 18:16:33 -08:00
glx darwin: build fix 2015-02-10 22:22:33 -08:00
gtest gtest: Add headers to distribution. 2014-12-12 12:11:46 -08:00
hgl hgl: traverse add-on entries 2014-12-10 14:01:01 +00:00
loader loader: Remove NEED_OPENGL_COMMON check. 2015-01-23 14:28:44 -08:00
mapi mesa: implement GL_AMD_pinned_memory 2015-02-17 17:31:48 +01:00
mesa i965: Allow exec_list sentinels as arguments to insert functions. 2015-02-17 20:44:09 -08:00
util Use __typeof instead of typeof with Solaris Studio compilers 2015-02-17 18:16:33 -08:00
Makefile.am glsl: Build a libglsl_util library. 2015-01-23 14:28:44 -08:00
SConscript egl: Fix non-dri SCons builds re #87657 2014-12-25 10:34:49 -05:00