rsx: Make const explicitly unsigned

- Can silence some GLSL compiler noise in mesa
This commit is contained in:
kd-11 2024-04-17 03:19:09 +03:00 committed by kd-11
parent a5c3e303c7
commit 40eda1b972
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ R"(
#if defined(_ENABLE_ROP_OUTPUT_ROUNDING) || defined(_ENABLE_PROGRAMMABLE_BLENDING)
// Truncate float by discarding lower 12-bits of the mantissa
#define _fx12_truncate(x) uintBitsToFloat(floatBitsToUint(x) & 0xfffff000)
#define _fx12_truncate(x) uintBitsToFloat(floatBitsToUint(x) & 0xfffff000u)
// Default. Used when we're not utilizing native fp16
vec4 round_to_8bit(const in vec4 v4)