aco: Use bytes() instead of size() in emit_wqm
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Mon, 28 Aug 2023 07:36:50 +0000 (09:36 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 1 Sep 2023 07:23:33 +0000 (07:23 +0000)
commit9af91edda95d4a786797fb3cb972dd6ee0b79da7
treedaa98cfd4c4fd0779793f2fe73cea9b250d2b81f
parent1ddf8378cb40b1b51dcd4535c8040c130d5d124d
aco: Use bytes() instead of size() in emit_wqm

This should get most of the cases that would fail validation.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24906>
src/amd/compiler/aco_instruction_selection.cpp