mesa/src
Lionel Landwerlin c4fac8fbbe anv: rework sample location
On Gfx7 we can only give the sample location for a given multisample
number. This means everytime the multisampling value changes, we have
to re-emit the locations. It's fine because it's also where
(3DSTATE_MULTISAMPLE) the number of samples is stored.

On Gfx8+ though, 3DSTATE_MULTISAMPLE only holds the number of samples
and all the sample locations for all number of samples are located in
3DSTATE_SAMPLE_PATTERN. So to be more effecient there, we need to
track the locations for all sample numbers and compare new values with
the relevant sample count when touching the dynamic state.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
(cherry picked from commit 168b13364f)
2022-05-04 16:04:51 -07:00
..
amd radv: re-emit dynamic line stipple state if the primitive topology changed 2022-05-04 16:04:09 -07:00
android_stub
asahi asahi: Port driver to macOS 12.x ABI 2022-03-22 00:19:30 +00:00
broadcom v3dv: Add emulated timeline semaphore support 2022-04-13 17:22:14 +00:00
compiler nir: Don't set writes_memory for reading XFB 2022-05-04 16:04:09 -07:00
drm-shim drm-shim: Implement a shim function for close 2022-04-12 10:01:39 +00:00
egl egl: don't make LIBGL_ALWAYS_SOFTWARE and MESA_LOADER_DRIVER_OVERRIDE=zink exclusive 2022-04-13 00:14:57 +00:00
etnaviv ci: update various ci result files 2022-03-11 09:58:28 +00:00
freedreno turnip: Move autotune buffers to suballoc. 2022-04-12 01:01:56 +00:00
gallium wgl: don't auto-load zink before software drivers 2022-05-04 08:37:10 -04:00
gbm gallium: Learn about kopper 2022-04-07 00:17:40 +00:00
getopt
glx glx/kopper: Wire up a way for SwapBuffers to fail 2022-04-28 21:53:00 -04:00
gtest
hgl
imagination pvr: Implement vkCreateQueryPool() and vkDestroyQueryPool(). 2022-04-13 17:58:03 +00:00
imgui
intel anv: rework sample location 2022-05-04 16:04:51 -07:00
loader gallium/dri: add missing PIPE_BIND_DRI_PRIME handling 2022-02-08 00:13:07 +00:00
mapi glthread: call _mesa_glthread_BindBuffer unconditionally 2022-02-01 06:11:22 +00:00
mesa mesa: add missing error-path 2022-05-02 10:46:38 -07:00
microsoft microsoft/compiler: Unload DXIL validator library *after* calling Release() 2022-05-02 10:46:35 -07:00
nouveau
panfrost pan/bi: Use texture index instead of sampler for message preloading 2022-05-02 10:46:41 -07:00
tool ci: Use a dlclose-disabling preload library for leak checking in Vulkan. 2022-01-27 23:47:46 +00:00
util util: Keep quiet NaNs quiet when converting to half float. 2022-05-03 09:41:32 -07:00
virtio venus: prepare and feed renderer protocol info into cs 2022-04-09 00:19:05 +00:00
vulkan vulkan/wsi/wayland: Fix double free on error condition 2022-05-03 09:41:32 -07:00
meson.build microsoft: Initial vulkan-on-12 driver 2022-03-25 16:21:45 +00:00