Please sign in to comment.
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.
- Loading branch information...
Showing with 137 additions and 88 deletions.
Oops, something went wrong.