mesa/src/amd
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
..
addrlib amd: update addrlib 2021-02-15 09:15:10 +00:00
ci ci/piglit: Stop including the test counts at the end of expectations. 2021-02-24 18:55:02 +00:00
common ac/rgp: move radv/sqtt functions to ac 2021-03-05 13:10:11 +00:00
compiler aco: Fix vector::reserve() being called with the wrong size 2021-03-08 10:44:20 +01:00
llvm ac/llvm: open code fpow on LLVM 12 using fmul.legacy 2021-03-03 20:06:09 +00:00
registers radeonsi: skip s_sendmsg(gs_alloc_req) for NGG passthrough on new chips 2021-02-13 04:56:05 +00:00
vulkan radv: cache pipeline statistics 2021-03-05 17:01:16 +00:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk android: amd/registers: switch to new generated register definitions 2020-09-06 20:20:34 +02:00
Android.compiler.mk android: aco/isel: Move context initialization code to a dedicated file 2020-09-14 21:26:53 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources ac/rgp: add helper function to write rgp elf oject 2021-02-19 14:29:47 +00:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00