optifine
optifine copied to clipboard
[Shader] Shader options does not check compute shader with suffixes
Shader options does not check xxx_x.csh (in my case, composite_a.csh), which means if some options only exist in these compute shaders, they will be treated as invalid options, and does not appear in shader option menu.
If options in these compute shaders exist in other normal shaders and get detected by optifine, they will act correctly.
Still exist in 1.21.1 J1. Here is an example pack, I defined 3 things in 3 shader files, TEST_FRAG in composite.fsh, TEST_COMP_NO_SUFFIX in composite.csh, and TEST_COMP_SUFFIX in composite_a.csh. But in shader option menu, only TEST_FRAG and TEST_COMP_NO_SUFFIX can be found.