Not pretty, but with this, you can switch MSAA level at runtime.

This commit is contained in:
Henrik Rydgård committed 2022-12-01 23:41:31 +01:00
1 parent 28e1b532bd
commit 8a3e92aa38
12 files changed
+40 -15

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ extern const float one_over_255_x4[4];
extern const float exactly_255_x4[4];
// Utilities useful for filling in std140-layout uniform buffers, and similar.
// NEON intrinsics: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491f/BABDCGGF.html
// NEON intrinsics: https://developer.arm.com/documentation/den0018/a/NEON-Intrinsics?lang=en
// LSBs in f[0], etc.
inline void Uint8x4ToFloat4(float f[4], uint32_t u) {