sushi shaders is broken
SuperLavaHair1 opened this issue ยท 10 comments
What happened?
sushi shaders is broken in 1.21 plz fix im stuck on 1.20 cuz of this bug i am using lunar client that might help
Screenshots
No response
Log output
No response
Minecraft Version
1.21
Iris Version
1.7.3+mc1.21
Operating System
windows 10
What is your GPU?
evga rtx 2070 xc ultra
Additional context
every time i load my shaders it says it failed to load and it doesnt do it in 1.20 there isnt a log file i can go off of but here is the thing in the chat it said
composite.fsh: composite.fsh: 0(213) : error C7537: OpenGL does not allow 'sample' after a type specifier
0(213) : error C0000: syntax error, unexpected '=', expecting ';' or '(' at token "="
0(214) : error C0000: syntax error, unexpected ')', expecting "::" at token ")"
0(215) : error C1503: undefined variable "sprojpos"
0(216) : error C0000: syntax error, unexpected ')', expecting "::" at token ")"
0(217) : error C1503: undefined variable "dist"
0(369) : error C7537: OpenGL does not allow 'sample' after a type specifier
0(369) : error C0000: syntax error, unexpected '=', expecting ';' or '(' at token "="
0(370) : error C0000: syntax error, unexpected '', expecting "::" at token ""
Seems to be a similar problem as in #2404 and #2399 (comment)
does that mean its possible to fix with a mod update or do i have to update the shader myself as it isnt being updated anymore
A workaround for the problem (which is in Iris itself) is to simply to find-replace sample
with any unused name
I've made a fork of the shader pack which does exactly this, and should work perfectly :)
https://github.com/Luracasmus/Sushi-Shader-Iris-Sample-Workaround
yea theres no downloads for it from what my peanut brain can tell so i tried finding all the sample things to replace them with samp and i couldnt find half of them
Sorry for not responding either; Iris 1.8 fixes this too, if you want to update.
Oh, it's fixed already? Awesome!
That should probably close these as well:
#2404
#2399 (comment)
#2431