-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
[linux + vulkan] using textureSize will create empty shader files #101
Comments
I can't reproduce that. |
Oooh, it's commented out in your shader, sneaky. |
Now I can reproduce it. But I can't reproduce it with
So it might not actually be about textureSize. |
Indeed, found an easier way. This will fail, but works when you change
|
But but but a is already a vec2. |
Sorry, copied the wrong shader, make it a vec3 and it fails. |
It was indeed completely unrelated to textureSize. Even unrelated to textures overall. It was about uniform alignment and by removing that one line you allowed the compiler to remove a uniform and thereby the problem. |
When i use https://registry.khronos.org/OpenGL-Refpages/gl4/html/textureSize.xhtml in a shader, krafix writes a 0 bytes file but it shows no error.
The text was updated successfully, but these errors were encountered: