mesa/src
Connor Abbott 3bd0733011 nir/instr_set: Use _mesa_set_search_or_add()
Before this change, we were searching for each instruction twice, once
when checking if it exists and once when figuring out where to insert
it. By using the new function, we can do everything we need to do in one
operation.

Compilation time numbers for my shader-db database:

Difference at 95.0% confidence
	-4.04706 +/- 0.669508
	-0.922142% +/- 0.151948%
	(Student's t, pooled s = 0.95824)

Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
2019-05-31 19:13:59 +02:00
..
amd radv: use RADV_CMD_DIRTY_DYNAMIC_* when restoring viewport/scissor 2019-05-31 08:50:16 +02:00
broadcom nir: Drop imov/fmov in favor of one mov instruction 2019-05-24 08:38:11 -05:00
compiler nir/instr_set: Use _mesa_set_search_or_add() 2019-05-31 19:13:59 +02:00
egl egl: Allow EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY in ES and GL 2019-05-17 15:13:15 -07:00
freedreno freedreno/ir3: fix input ncomp for vertex shaders 2019-05-31 12:21:23 -04:00
gallium panfrost: Remove link stage for jobs 2019-05-31 14:37:10 +02:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 13:16:44 +10:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: delete demo file 2019-05-21 14:40:22 +01:00
intel intel/compiler: Use compare rematerialization pass 2019-05-31 08:47:03 -07:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi meson: make nm binary optional 2019-05-03 10:58:05 -07:00
mesa Change a few frequented uses of DEBUG to !NDEBUG 2019-05-29 21:13:35 -04:00
util util/set: Add a _mesa_set_search_or_add() function 2019-05-31 19:13:45 +02:00
vulkan vk/util: suppress warning about out-of-enum android value 2019-05-23 15:28:43 +00:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript