
Any shader causes a GL_INVALID_OPERATION error
VeraDev0 opened this issue ยท 0 comments
What happened?
This bug has been bugging me for a while, It only happens when i don't use Vanilla shaders.
Fixes itself when you try reloading resource packs & then reload shaders (doesn't always works)
When shaders are working, it will break when i go to a dimension or press reload shaders a few times.
This happens with ANY shader meaning this is not a problem with the shaders i am using (in this case, BSL)
Log file is the latest.log file, and shortened due to being 25 MB.
I cannot provide any reproduction steps because i literally don't even know how this bug is happening. (Because on a other modpack, same version. It worked fine)
Screenshots
This varies as sometimes it is a black screen, sometimes it can give someone a seizure and etc. Each screenshot is a variant of what the bug is causing.
Log output
Minecraft Version
Minecraft 1.20.4
Iris Version
iris-1.7.2+mc1.20.4.jar
Operating System
Windows 10 Enterprise
What is your GPU?
Nvidia GeForce RTX 3050 OEM
Additional context
NVIDIA drivers don't seem to be the issue
Forcing it to use OpenGL 4 doesn't change anything
The only OpenGL errors i get:
[03/03/2025 15:33:51 pm] [Render thread/INFO] OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Wrong component type or count.'
[03/03/2025 15:33:51 pm] [Render thread/INFO] OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Uniform must be a matrix type in call to UniformMatrix*.'
[03/03/2025 15:33:51 pm] [Render thread/INFO] OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. <apiElementType> value is invalid; expected GL_INT or GL_UNSIGNED_INT64_NV.'
[03/03/2025 15:33:51 pm] [Render thread/INFO] OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. <location> is invalid.'