It can but you need to do it in this order:
- Any chain of shaders as long as the final output is gamma corrected
- phosphor-luma.slang
- phosphor-chroma.slang
- A linearization shader that applies a 2.4 power gamma correction, because the output from phosphor-chroma is in linear space
- Any chain of shaders
This is because these shaders are part of Scanline Classic and there is a shader called scanline-advance that comes after it (does interlacing, geometry, and upscaling) and it requires a linearized input and does the gamma correction as the last step.
You also need to use float_framebuffer = true for both shaders.


