SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.
1.96k
stars
549
forks
source link
GLSL: Use SPIR-V intrinsics for N{Min,Max,Clamp}. #2330
Closed
HansKristian-Work closed 1 month ago
When targeting Vulkan semantics, we should emit code that is actually readable.
Also, make sure to use plain F{Min,Max,Clamp} on HLSL. HLSL has NaN-aware semantics by default.