optifine icon indicating copy to clipboard operation
optifine copied to clipboard

[Shader] Shader options does not check compute shader with suffixes

Open GeForceLegend opened this issue 2 years ago • 1 comments

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.

GeForceLegend avatar Jan 03 '23 13:01 GeForceLegend

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.

ComputeShaderOptionTest.zip

GeForceLegend avatar Sep 26 '24 03:09 GeForceLegend