Oculus

Oculus

60M Downloads

Failed to resolve uniform isSwamp, reason: Unknown variable: BIOME_MANGROVE_SWAMP

Auuki opened this issue ยท 0 comments

commented

What happened?

There's a warning on shader change that seems to be coming from Mangrove Swamp variable that was accidentally backported to 1.18.

Screenshots

No response

Relevant log output

[00:06:44] [Render thread/INFO]: Starting custom uniform resolving
[00:06:44] [Render thread/WARN]: Failed to resolve uniform isSwamp, reason: Unknown variable: BIOME_MANGROVE_SWAMP ( = FunctionCall{smooth {[Number{4}, FunctionCall{if {[FunctionCall{in {[Id{biome}, Id{BIOME_SWAMP}, Id{BIOME_MANGROVE_SWAMP}]} }, Number{1}, Number{0}]} }, Number{10}, Number{10}]} })
java.lang.RuntimeException: Unknown variable: BIOME_MANGROVE_SWAMP
	at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:219) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:73) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:133) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:190) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:73) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:133) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:120) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:190) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpressionInternal(ExpressionResolver.java:73) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveCallExpression(ExpressionResolver.java:133) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveExpressionInternal(ExpressionResolver.java:190) ~[oculus-1.5.2.jar%23143!/:?]
	at kroppeb.stareval.resolver.ExpressionResolver.resolveExpression(ExpressionResolver.java:42) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.uniforms.custom.CustomUniforms.<init>(CustomUniforms.java:53) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.uniforms.custom.CustomUniforms$Builder.build(CustomUniforms.java:317) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.uniforms.custom.CustomUniforms$Builder.build(CustomUniforms.java:329) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.pipeline.newshader.NewWorldRenderingPipeline.<init>(NewWorldRenderingPipeline.java:215) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.Iris.createPipeline(Iris.java:652) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.pipeline.PipelineManager.preparePipeline(PipelineManager.java:34) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.Iris.reload(Iris.java:594) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.apiimpl.IrisApiV0ConfigImpl.setShadersEnabledAndApply(IrisApiV0ConfigImpl.java:28) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.gui.screen.ShaderPackScreen.applyChanges(ShaderPackScreen.java:521) ~[oculus-1.5.2.jar%23143!/:?]
	at net.coderbot.iris.gui.screen.ShaderPackScreen.lambda$init$1(ShaderPackScreen.java:206) ~[oculus-1.5.2.jar%23143!/:?]
	at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:111) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:528) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar%2348!/:build 10]
	at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar%2344!/:build 10]
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar%2348!/:build 10]
	at com.mojang.blaze3d.systems.RenderSystem.m_69495_(RenderSystem.java:197) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at com.mojang.blaze3d.platform.Window.m_85435_(Window.java:333) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1068) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:665) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%23177!/:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.2.2.jar%2317!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?]
[00:06:44] [Render thread/WARN]: [deferred1] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [composite] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [composite1] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [basic] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [basic_color] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [textured] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [textured_color] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [sky_basic] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [sky_basic_color] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [clouds] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [terrain_solid] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [terrain_cutout] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [terrain_cutout_mipped] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [terrain_translucent] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [moving_block] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [entities_alpha] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [entities_solid] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [entities_solid_diffuse] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [entities_solid_bright] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [entities_cutout] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [entities_cutout_diffuse] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [entities_translucent] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [hand_cutout] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [hand_cutout_bright] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [hand_cutout_diffuse] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [hand_text] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [hand_text_intensity] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [hand_translucent] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [hand_water_bright] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [hand_water_diffuse] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [lightning] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [leash] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [particles] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [weather] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [text] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [text_intensity] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [text_be] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [text_intensity_be] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [block_entity] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [block_entity_bright] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [block_entity_diffuse] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/WARN]: [lines] Unsupported uniform: float isSwamp
[00:06:44] [Render thread/INFO]: Stopping worker threads
[00:06:44] [Render thread/INFO]: Started 10 worker threads
[00:06:45] [Render thread/WARN]: [<sodium shaders>] Unsupported uniform: float isSwamp
[00:06:45] [Render thread/WARN]: [<sodium shaders>] Unsupported uniform: float isSwamp
[00:06:45] [Render thread/WARN]: [<sodium shaders>] Unsupported uniform: float isSwamp

Minecraft Version

1.18.2

Oculus Version

1.5.2

Rubidium Version

0.5.6

Operating System

Windows 10

What is your GPU?

Nvidia GeForce GTX 1070

Java Version

Java 17

Additional context

No response