shader-slang / slang

Making it easier to work with shaders
MIT License
2k stars 171 forks source link

WGSL: Intrinsics: derivatives & misc #5083

Closed aleino-nv closed 16 hours ago

aleino-nv commented 2 days ago

9 (functions), bitcast, all, any, select, arrayLength

jkwak-work commented 1 day ago

This refers to the functions listed in the following sections on the WGSL spec document, https://www.w3.org/TR/WGSL/#derivative-builtin-functions https://www.w3.org/TR/WGSL/#bit-reinterp-builtin-functions https://www.w3.org/TR/WGSL/#logical-builtin-functions https://www.w3.org/TR/WGSL/#array-builtin-functions