Source
- URL: https://x.com/FabriceNEYRET/status/1888964615742099529
- Author: Fabrice NEYRET - pro (@FabriceNEYRET)
- Posted: 2025-02-10 14:53:54
Branch
1/ @FabriceNEYRET
@iquilezles
This comes from common misunderstanding of divergence on GPU ( magic thinking of hiding all supposedly evil IF by something that may be costlier )
https://shadertoyunofficial.wordpress.com/2023/11/26/performance-tricks/
- only appropriate is when x is a vector
- … or if it is a placeholder for a future smoothstep (for AA 😉 )