You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a @inline attribute would cause the function body to be copy-pasted in place of the function call.
Why would we want this? In my current understanding of driver's shader compilation, we don't. Because since shader code has very few side-effects, drivers already inline functions by themselves.
It would be nice to get some insider's confirmation of this, or study whether that is really the case and if there can be any performance implications when inlining manually.
The text was updated successfully, but these errors were encountered:
a
@inline
attribute would cause the function body to be copy-pasted in place of the function call.Why would we want this? In my current understanding of driver's shader compilation, we don't. Because since shader code has very few side-effects, drivers already inline functions by themselves.
It would be nice to get some insider's confirmation of this, or study whether that is really the case and if there can be any performance implications when inlining manually.
The text was updated successfully, but these errors were encountered: