Experiencing error when loading shaderpack
SethBurkart123 opened this issue ยท 4 comments
What happened?
When I tried loading a shader pack on Iris I ran into:
No more available texture units while activating sampler shadowcolor0
Screenshots
No response
Log output
Relevant section of the log:
[17:14:39] [Render thread/WARN]: Unable to resolve shader pack option menu element "DEBUG_COUNTER" defined in shaders.properties
[17:14:39] [Render thread/WARN]: Unable to resolve shader pack option menu element "SODIUM_TEMPFIX" defined in shaders.properties
[17:14:39] [Render thread/INFO]: Profile: High (+0 options changed by user)
[17:14:40] [Render thread/WARN]: 3D Custom texture was 34766848 bytes; expected 34603008. This is allowed, but you probably don't want this.
[17:14:40] [Render thread/WARN]: 3D Custom texture was 34766848 bytes; expected 34603008. This is allowed, but you probably don't want this.
[17:14:40] [Render thread/INFO]: Using shaderpack: iterationT 3.2.0.zip
[17:14:40] [Render thread/INFO]: Creating pipeline for dimension minecraft:overworld
[17:14:40] [Render thread/WARN]: Program link log for centerDepthSmooth: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'Position' to match BindAttributeLocation request.
[17:14:40] [Render thread/WARN]: Program link log for deferred: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Output of vertex shader 'iris_FogFragCoord' not read by fragment shader
[17:14:40] [Render thread/WARN]: Program link log for deferred1: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Output of vertex shader 'iris_FogFragCoord' not read by fragment shader
[17:14:40] [Render thread/WARN]: Program link log for deferred2: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Output of vertex shader 'iris_FogFragCoord' not read by fragment shader
[17:14:40] [Render thread/WARN]: Program link log for deferred3: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Output of vertex shader 'timeMidnight' not read by fragment shader
WARNING: Output of vertex shader 'colorMoonlight' not read by fragment shader
WARNING: Output of vertex shader 'iris_FogFragCoord' not read by fragment shader
WARNING: Output of vertex shader 'colorSunSkylight' not read by fragment shader
WARNING: Output of vertex shader 'colorSunlight' not read by fragment shader
WARNING: Output of vertex shader 'shadowVector' not read by fragment shader
WARNING: Output of vertex shader 'colorTorchlight' not read by fragment shader
WARNING: Output of vertex shader 'colorMoonSkylight' not read by fragment shader
[17:14:40] [Render thread/WARN]: Program link log for deferred4: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Output of vertex shader 'iris_FogFragCoord' not read by fragment shader
[17:14:40] [Render thread/WARN]: Program link log for deferred5: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Output of vertex shader 'iris_FogFragCoord' not read by fragment shader
[17:14:40] [Render thread/WARN]: Program link log for deferred6: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Output of vertex shader 'iris_FogFragCoord' not read by fragment shader
[17:14:40] [Render thread/WARN]: Program link log for composite: WARNING: Could not find vertex shader attribute 'at_tangent' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_midTexCoord' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'UV0' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'iris_Entity' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'at_midBlock' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'mc_Entity' to match BindAttributeLocation request.
WARNING: Output of vertex shader 'timeMidnight' not read by fragment shader
WARNING: Output of vertex shader 'colorMoonlight' not read by fragment shader
WARNING: Output of vertex shader 'iris_FogFragCoord' not read by fragment shader
WARNING: Output of vertex shader 'colorSunlight' not read by fragment shader
WARNING: Output of vertex shader 'colorSkylight' not read by fragment shader
WARNING: Output of vertex shader 'timeNoon' not read by fragment shader
[17:14:40] [Render thread/INFO]: [CHAT] Iris encountered an issue trying to load the shader; please report this to Iris developers. Copy Info
[17:14:40] [Render thread/ERROR]: Failed to create shader rendering pipeline, disabling shaders!
java.lang.IllegalStateException: No more available texture units while activating sampler shadowcolor0
at knot/net.irisshaders.iris.gl.program.ProgramSamplers$Builder.addDynamicSampler(ProgramSamplers.java:198) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.gl.program.ProgramSamplers$Builder.addDynamicSampler(ProgramSamplers.java:170) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.gl.sampler.SamplerHolder.addDynamicSampler(SamplerHolder.java:28) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.gl.program.ProgramBuilder.addDynamicSampler(ProgramBuilder.java:130) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.gl.program.ProgramSamplers$CustomTextureSamplerInterceptor.addDynamicSampler(ProgramSamplers.java:303) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.samplers.IrisSamplers.addShadowSamplers(IrisSamplers.java:148) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.pipeline.CompositeRenderer.createProgram(CompositeRenderer.java:384) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.pipeline.CompositeRenderer.<init>(CompositeRenderer.java:127) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.pipeline.IrisRenderingPipeline.<init>(IrisRenderingPipeline.java:340) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.Iris.createPipeline(Iris.java:630) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.pipeline.PipelineManager.preparePipeline(PipelineManager.java:33) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.Iris.reload(Iris.java:581) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.apiimpl.IrisApiV0ConfigImpl.setShadersEnabledAndApply(IrisApiV0ConfigImpl.java:28) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.gui.screen.ShaderPackScreen.applyChanges(ShaderPackScreen.java:637) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.irisshaders.iris.gui.screen.ShaderPackScreen.lambda$init$7(ShaderPackScreen.java:274) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.minecraft.class_4185.method_25306(class_4185.java:96) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_4264.method_25348(class_4264.java:43) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_339.method_25402(class_339.java:141) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_4069.method_25402(class_4069.java:43) ~[client-intermediary.jar:?]
at knot/net.irisshaders.iris.gui.screen.ShaderPackScreen.method_25402(ShaderPackScreen.java:235) ~[iris-fabric-1.8.8+mc1.21.4.jar:?]
at knot/net.minecraft.class_312.mixinextras$bridge$method_25402$50(class_312.java) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_312.wrapOperation$bhi000$fabric-screen-api-v1$invokeMouseClickedEvents(class_312.java:2545) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_312.method_1601(class_312.java:114) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_312.method_22686(class_312.java:215) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1255.execute(class_1255.java:110) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_312.method_22684(class_312.java:215) ~[client-intermediary.jar:?]
at knot/org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) [lwjgl-glfw-3.3.3.jar:?]
at knot/org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.3.jar:?]
at knot/org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438) [lwjgl-glfw-3.3.3.jar:?]
at knot/com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:149) [client-intermediary.jar:?]
at knot/com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:170) [client-intermediary.jar:?]
at knot/net.minecraft.class_1041.method_15998(class_1041.java:318) [client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1523(class_310.java:1361) [client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1514(class_310.java:922) [client-intermediary.jar:?]
at knot/net.minecraft.client.main.Main.main(Main.java:267) [client-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.14.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.14.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.14.jar:?]
Minecraft Version
1.21.4
Iris Version
iris-v1.8.8mc+1.21.4
Operating System
MacOS
What is your GPU?
Apple M4
Additional context
This issue was with the iterationT shaderpack which you can get right here if you wish/need: https://drive.google.com/file/d/1DaTk09neaD3FqE1b1ipDKcfisni_eIKQ/view?usp=sharing
It doesn't look to be a macos specific issue by me which is why I opened this issue (or maybe I'm just a bit dumb if it is)