diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-29 20:50:17 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-29 22:00:58 -0400 |
| commit | 45934dd0c5f90762cf467b5b7042cfb34c732102 (patch) | |
| tree | 4215762637a83882895ae58e00ac672791669bc4 /Source/Core/InputCommon/ControllerInterface/evdev | |
| parent | e28d08e9734a271e840db5a7cf255be2e45f2e58 (diff) | |
VideoCommon/PixelShaderGen: Make arrays immutable
Many of the arrays defined within this file weren't declared as
immutable, which can inhibit the strings being put into the read-only
segment. We can declare them constexpr to make them immutable.
While we're at it, we can use std::array, to allow bounds conditional
bounds checking with standard libraries. The declarations can also be
shortened in the future when all platform toolchain versions we use
support std::array deduction guides. Currently macOS and FreeBSD
builders fail on them.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
0 files changed, 0 insertions, 0 deletions
