mesa/src
Tony Wasserka 97c97781f6 aco: Fix vector::reserve() being called with the wrong size
The container is moved from before and hence returns size 0. To get the
correct value, the new instruction container must be used instead.

This was flagged by clang-tidy. The fixed call still triggers the
corresponding diagnostic, hence this change silences it by adding a
redundant clear() after move.

Fixes: 7f1b537304 ("aco: add new NOP insertion pass for GFX6-9")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9432>
2021-03-08 10:44:20 +01:00
..
amd aco: Fix vector::reserve() being called with the wrong size 2021-03-08 10:44:20 +01:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom mesa: fix fbo attachment size check for RBs, make it trigger in ES2 2021-03-06 20:29:41 +00:00
compiler nir/lower_viewport_transform: Allow geom/tess 2021-03-07 17:57:04 +00:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl egl: android: use num_planes param in createImageFromDmaBufs() 2021-02-25 16:15:24 +00:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno ir3: disallow moving memory writes over discard 2021-03-04 11:40:58 +00:00
gallium st/nine: Set default dynamic_texture_workaround to true 2021-03-07 13:13:53 +00:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx Adjust dylib compatibility versions to match what was set by mesa-18.3's autotools-based builds 2021-02-22 21:27:19 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: fix MI_PREDICATE_RESULT write 2021-03-05 16:19:20 +00:00
loader loader: Silence a warning at -Og 2021-02-18 20:59:43 +00:00
mapi glapi: keep declspec(thread) msvc-specific 2021-02-24 13:47:30 +00:00
mesa mesa: fix fbo attachment size check for RBs, make it trigger in ES2 2021-03-06 20:29:41 +00:00
microsoft nir: add has_txs flag 2021-02-23 14:04:30 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/bi: Treat +DISCARD.f32 as message-passing 2021-03-07 15:10:28 +00:00
util st/nine: Set default dynamic_texture_workaround to true 2021-03-07 13:13:53 +00:00
virtio virgl: Add support for querying detailed memory info 2021-03-04 17:14:14 +01:00
vulkan vulkan: Update dispatch table gen for Windows 2021-02-26 04:29:52 +10:00
meson.build nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
SConscript