mesa/src
Rafael Antognolli 2b7ba9f239 anv: Only re-emit non-dynamic state that has changed.
On commit f6e7de41d7, we started emitting 3DSTATE_LINE_STIPPLE as part
of the non-dynamic state. That gets re-emitted every time we bind a new
VkPipeline. But that instruction is non-pipelined, and it caused a perf
regression of about 9-10% on Dota2.

This commit makes anv_dynamic_state_copy() return a mask with only the
state that has changed when copying it. 3DSTATE_LINE_STIPPLE won't be
emitted anymore unless it has changed, fixing the problem above.

v2: Improve commit message and add documentation about skipped checks
(Jason)

Fixes: f6e7de41d7 ("anv: Implement VK_EXT_line_rasterization")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-08-23 15:55:18 -07:00
..
amd ac/nir: Assert GS input index is constant 2019-08-23 11:05:31 +02:00
broadcom v3d: Use the correct opcodes for signed image min/max 2019-08-21 17:19:55 +00:00
compiler compiler/glsl: Fix warning about unused function 2019-08-23 13:25:27 -07:00
drm-shim meson: replace libmesa_util with idep_mesautil 2019-08-03 00:08:37 +00:00
egl egl: reset blob cache set/get functions on terminate 2019-08-23 08:14:08 +03:00
etnaviv etnaviv: Add valgrind support 2019-08-14 10:36:20 +02:00
freedreno nir: Add explicit signs to image min/max intrinsics 2019-08-21 17:19:55 +00:00
gallium tgsi: Remove unused local 2019-08-23 13:25:27 -07:00
gbm gbm: Add buffer handling and visuals for fp16 formats 2019-08-21 18:36:57 +00:00
getopt
glx glx: Fix up glXQueryGLXPbufferSGIX on macOS. 2019-08-23 11:05:23 -04: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: bump imgui memory editor copy 2019-06-18 15:34:13 +00:00
intel anv: Only re-emit non-dynamic state that has changed. 2019-08-23 15:55:18 -07:00
loader dri: Add fp16 formats 2019-08-21 18:36:57 +00:00
mapi mesa: add ext_dsa GetMultiTexLevelParameterEXT 2019-08-19 18:50:08 -04:00
mesa i965: Silence brw_blorp uninitialized warning 2019-08-23 13:25:27 -07:00
panfrost pan/decode: Validate and quiet helper invocation flag 2019-08-23 15:51:25 -07:00
util util: fix compilation on macos 2019-08-23 23:45:25 +03:00
vulkan vulkan: Update the XML and headers to 1.1.119 2019-08-12 14:56:33 +00:00
meson.build v3d: Introduce a DRM shim for calling out to the simulator. 2019-07-25 08:56:19 -07:00
SConscript