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
This isn't a major issue, but something I noticed and figured it's worth documenting. No error is shown, instead you get corrupted results during rendering.
The generated shader code on metal will add the sampler as an argument on the end of the calc_something() function, but will call it with the sampler as the first argument...
The issue can be avoided by passing in all parameters in the code, like this:
This isn't a major issue, but something I noticed and figured it's worth documenting. No error is shown, instead you get corrupted results during rendering.
Example code (bad):
The generated shader code on metal will add the sampler as an argument on the end of the calc_something() function, but will call it with the sampler as the first argument...
The issue can be avoided by passing in all parameters in the code, like this:
The text was updated successfully, but these errors were encountered: