mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
rsx: Make const explicitly unsigned
- Can silence some GLSL compiler noise in mesa
This commit is contained in:
parent
a5c3e303c7
commit
40eda1b972
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue