mesa/src
Francisco Jerez 147e71242c i965/fs: Take into account lower frequency of conditional blocks in spilling cost heuristic.
The individual branches of an if/else/endif construct will be executed
some unknown number of times between 0 and 1 relative to the parent
block.  Use some factor in between as weight while approximating the
cost of spill/fill instructions within a conditional if-else branch.
This favors spilling registers used within conditional branches which
are likely to be executed less frequently than registers used at the
top level.

Improves the framerate of the SynMark2 OglCSDof benchmark by ~1.9x on
my SKL GT4e.  Should have a comparable effect on other platforms.  No
significant regressions.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2017-04-11 15:28:54 -07:00
..
amd radv: Implement pipeline statistics queries. 2017-04-11 09:33:17 +02:00
compiler glsl: use the BA1 macro for textureQueryLevels() 2017-04-11 10:24:57 +02:00
egl Android: drop Android 4.4 (KitKat) support 2017-03-22 17:53:31 +00:00
gallium swr: return true for PIPE_CAP_DOUBLES 2017-04-11 13:16:43 -05:00
gbm gbm: Assert modifiers and count are copacetic 2017-04-09 09:29:57 -07:00
getopt
glx glx: silence uninitialized var warning 2017-04-07 13:46:44 -06:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel i965/fs: Take into account lower frequency of conditional blocks in spilling cost heuristic. 2017-04-11 15:28:54 -07:00
loader loader: use drmGetDevice[s]2 API 2017-03-15 11:37:55 +00:00
mapi mesa: add GL_ARB_shader_ballot boilerplate 2017-04-05 15:25:40 +02:00
mesa i965: Set kernel features before computing max GL version. 2017-04-11 08:58:16 -07:00
util util: fix MSVC warning in u_align_u32() 2017-04-03 13:09:05 -06:00
vulkan vulkan/wsi/wayland: Pass damage through to the compositor 2017-04-03 13:51:08 -07:00
Makefile.am intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
SConscript