commit | f820dde201f82763b5165dfe6516f20e9c80795b | [log] [tgz] |
---|---|---|
author | Timur Kristóf <timur.kristof@gmail.com> | Sat Aug 22 20:45:54 2020 +0200 |
committer | Timur Kristóf <timur.kristof@gmail.com> | Mon Aug 24 15:55:14 2020 +0200 |
tree | 4ef97115020d3ec155658dc4a6b2aef2e9600e25 | |
parent | 0d194a70c6497ea77bb57aa22e229c4fceabb653 [diff] |
aco: Fix convert_to_SDWA when instruction has 3 operands. Previously, when the instruction had 3 operands, this would cause possible corruption because of writing to sdwa->sel[2]. This was noticed thanks to GCC 10's -Wstringop-overflow warning. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6436>