There's no runtime conditional compilation stuff in SPIR-V. You would create all variants, or use static/uniform/coherent branching to select.
PromitMember Since 29 Jul 2001
Online Last Active Today, 08:12 AM
Game dev in Neuroscience @ Johns Hopkins Medicine, Max & Haley LLC. Built SlimDX, SlimTune. Moderator at https://t.co/fo7iKhCK8Y.
- Group Moderators
- Active Posts 15,453
- Profile Views 30,801
- Submitted Links 0
- Member Title Moderator - Graphics Programming and Theory | Baron von Bacon Po
- Age 28 years old
- Birthday March 30, 1987
Expert Community Member
- Website URL http://promitroy.com