shader-slang / slang

Making it easier to work with shaders
http://shader-slang.com
MIT License
2.17k stars 187 forks source link

WGSL: Intrinsics: texture #5082

Closed aleino-nv closed 1 month ago

aleino-nv commented 1 month ago

15 functions

aleino-nv commented 1 month ago

@jkwak-work The texture-related functionality seems pretty complex and looks like it's leaning on a lot of Slang-specific functionality. I'm assigning this to you since you're in Yong's timezone -- I have a feeling this will require some amount of consultation.

jkwak-work commented 1 month ago

No worries, I spend good amount of time working on texture side things for Metal and GLSL. I will be a good fit for this task.

jkwak-work commented 1 month ago

This refers to the functions listed in the following section of WGSL spec document, https://www.w3.org/TR/WGSL/#texture-builtin-functions