mesa/src
Paulo Zanoni 181aa83027 anv/tr-tt: assert the bind size is a multiple of the granularity
If the size here is not a multiple of the granularity (64kb) then
we'll miss our "pages" estimation by 1. We could fix this with
DIV_ROUND_UP() or by simply putting a "+1" there, but the upper layers
should now be preventing this case so let's just put the assertion
here.

Previously it was possible to hit this case with Zink by running
under certain conditions piglit/arb_sparse_buffer-basic.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26454>
2023-12-06 00:29:58 +00:00
..
amd radv: set combinedImageSamplerDescriptorCount to 1 for multi-planar formats 2023-12-05 22:27:19 +00:00
android_stub
asahi asahi: Use the compat version of qsort_r 2023-11-29 17:01:09 +00:00
broadcom v3dv: drop duplicate flag 2023-12-04 04:13:39 +00:00
c11 util/meson: Getting mesa util core to be self contained 2023-08-02 03:41:24 +00:00
compiler compiler: Fix a comment 2023-12-05 23:12:32 +00:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl meson: work around meson 0.62 issue 2023-12-04 11:41:37 +00:00
etnaviv etnaviv: rs: Call etna_rs_gen_clear_surface(..) when needed 2023-11-27 06:59:05 +00:00
freedreno freedreno/ci: add more flakes seen on a630 2023-12-05 21:21:07 +00:00
gallium virgl: implemement resource_get_param() for modifier query 2023-12-05 23:55:05 +00:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx mesa/st, dri2, wgl, glx: Restore flush_objects interop backward compat 2023-11-21 23:15:32 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination pvr: update symbols that have become aliases for newer ones 2023-12-04 12:16:06 +00:00
imgui
intel anv/tr-tt: assert the bind size is a multiple of the granularity 2023-12-06 00:29:58 +00:00
loader dri: added build dependencies for systems using non-standard prefixed X11 libs. 2023-11-02 15:08:17 +00:00
mapi mesa: add GL_APPLE_sync support 2023-10-20 17:20:11 +00:00
mesa gallium: add PIPE_CAP_PERFORMANCE_MONITOR for GL_AMD_performance_monitor 2023-11-28 17:34:26 +00:00
microsoft dxil: Use mesa_prim consistently 2023-12-05 23:12:32 +00:00
nouveau nak: Add a barrier propagation pass 2023-12-05 18:59:40 +00:00
panfrost panfrost: Restrict job descriptor emission to JM hardware 2023-12-05 15:55:21 +00:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util venus: add dri option to enable multi-plane wsi modifiers 2023-12-05 23:55:05 +00:00
virtio venus: add dri option to enable multi-plane wsi modifiers 2023-12-05 23:55:05 +00:00
vulkan vk/overlay-layer: update symbols that have become aliases for newer ones 2023-12-04 23:27:29 +00:00
.clang-format util/rb_tree: Add augmented trees and interval trees 2023-11-02 21:03:46 +00:00
meson.build meson: Only include virtio when DRM available 2023-11-07 18:22:56 +00:00