mesa/src
Mike Blumenkrantz a03d17ede7 zink: refcount zink_gfx_program objects
now that we're tracking these by shader, we want to ensure that they live through
each render pass successfully if there's no flush regardless of the timing when the
shader objects are destroyed. this becomes useful when we split up shader create and compile
functionality in future patches, at which point program refcounts can be changed
during successive draw calls, potentially resulting in a program being destroyed at that
point when it shouldn't be

with this patch, each shader used by the program gets a reference, with the renderpass
batch itself becoming the owner of the program such that it will be deleted
when the draw state gets invalidated and a new program is created

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5970>
2020-08-07 12:36:58 +00:00
..
amd radv: Add ETC2 support on RAVEN2. 2020-08-07 10:54:58 +00:00
android_stub ci: Include enough Android headers to let us compile test EGL 2020-08-05 18:08:07 +00:00
broadcom nir: Add a nir_foreach_uniform_variable helper 2020-07-29 17:38:58 +00:00
compiler glsl_to_nir: fix bitfield_extract with 16-bit operands 2020-08-05 22:04:47 +00:00
drm-shim drm-shim: Return -EINVAL instead of abort()ing on unknown ioctls. 2020-07-30 19:59:20 +00:00
egl egl/android: Remove unused variable 2020-08-05 18:08:06 +00:00
etnaviv etnaviv: replace all dup() with os_dupfd_cloexec() 2020-06-18 02:09:56 +00:00
freedreno freedreno/ir3: Clean up instrlen setup. 2020-08-05 23:06:55 +00:00
gallium zink: refcount zink_gfx_program objects 2020-08-07 12:36:58 +00:00
gbm gbm: document that gbm_bo_map exposes a linear view 2020-06-03 10:09:52 +00:00
getopt
glx glx: Fix build and warnings with -Dglx=dri -Dglx-direct=false 2020-07-23 01:23:12 +00:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel intel/dump_gpu: add an option to capture a single frame 2020-08-07 11:27:54 +00:00
loader Revert "loader/dri3: Check for window destruction in dri3_wait_for_event_locked" 2020-07-03 09:55:50 +00:00
mapi mapi: Mark TLS symbols as optional in glapi-symbols.txt 2020-08-05 18:08:07 +00:00
mesa st/mesa: Treat vertex outputs absent in outputMapping as zero in mesa_to_tgsi 2020-08-06 16:53:50 +00:00
panfrost panfrost: Drop compiler cmdstream deps 2020-08-06 23:54:24 +00:00
util util: Fix SCons build. 2020-08-05 22:55:06 -07:00
vulkan vulkan: Allow global symbol HMI for Android 2020-08-05 18:08:07 +00:00
meson.build ci: Include enough Android headers to let us compile test EGL 2020-08-05 18:08:07 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00