-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-compilation of SkyBox.ps.slang fails #100
Comments
Thanks. That should be an easy fix. |
Note to self: hopefully just missing some |
Not an issue anymore. I was about to fix it and then I noticed that what I really want to use is |
Cool. Let's leave this open so I can get to it sooner or later. |
Note to self: the "sample with clamp" operations seem to be a GLSL extension (sparse textures, IIRC), and not something built-in. If we need these they will have to be tagged to enable the right extension. |
Closing. We are far past this point in cross-compilation support. |
The last statement in the Slang file is
return gTexture.Sample(gSampler, normalize(dir), 0);
Which is converted to the following illegal statement in GLSL
gTexture.Sample(gSampler, normalize(dir), float(0));
To reproduce run the Effects/EnvMap sample
The text was updated successfully, but these errors were encountered: