2023-02-08 19:05:55 +11:00
# Broken Shader Presets
The following shaders are known to be broken due to various issues.
2024-10-07 06:44:05 +11:00
This list is updated as of [slang-shaders@`33876b3` ](https://github.com/libretro/slang-shaders/commit/33876b3578baac8302b6189ac7acbb052013919e )
2023-02-08 19:05:55 +11:00
2023-02-08 19:37:21 +11:00
## Broken due to parsing errors
2023-02-08 19:05:55 +11:00
librashader's preset parser is somewhat stricter than RetroArch in what it accepts. All shaders and textures in a preset must
resolve to a fully canonical path to properly parse. The following shaders have broken paths.
2024-10-07 06:44:05 +11:00
* No known broken presets.
2023-02-08 19:05:55 +11:00
librashader's parser is fuzzed with slang-shaders and will accept invalid keys like `mipmap1` or `filter_texture = linear`
to account for shader presets that use these invalid constructs. No known shader presets fail to parse due to syntax errors
that haven't already been accounted for.
2023-02-08 19:37:21 +11:00
## Broken due to preprocessing errors
The preprocessor resolves `#include` pragmas in each `.slang` shader and recursively flattens files into a single compute unit.
2024-10-07 06:44:05 +11:00
* `bezel/Mega_Bezel/shaders/hyllian/crt-super-xbr/crt-super-xbr.slangp` : GLSL error: `ERROR: common-functions-bezel.inc:63: 'HSM_GetInverseScaledCoord' : no matching overloaded function found `