Skip to content

Fix Veil spamming the log full when an Iris Shaderpack uses bool uniforms - #214

Merged
Ocelot5836 merged 1 commit into
FoundryMC:1.21from
SpacEagle17:fix-bool-uniform-log-spam
Nov 3, 2026
Merged

Ocelot5836 merged 1 commit into
FoundryMC:1.21from
SpacEagle17:fix-bool-uniform-log-spam

Conversation

@SpacEagle17

Copy link
Copy Markdown
Contributor

This is before the fix.
image

Shaderpacks use bool uniforms. For example https://shaders.properties/current/reference/uniforms/status/#isrighthanded-
image

Before this PR it would just spam the log full of errors every time a shader is used that uses bool uniforms

Iris itself extends bool uniforms to actually be 0/1 ints. See https://github.com/IrisShaders/Iris/blob/multiloader-1.21/common/src/main/java/net/irisshaders/iris/gl/uniform/BooleanUniform.java
image

@Ocelot5836
Ocelot5836 merged commit 4bc9a85 into FoundryMC:1.21 Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants