Error when combining mdapt with gdapt in the vulkan driver

Hi! Well I tried to combine these two antidithers in slangp and it fails, but the same does not happen if I combine in glslp. I even compared the two files in the noteblock, because RetroArch generates the preset in slangp, but does not apply it.

I’m a regular RetroArch user, so forgive me for any ignorance of how shaders are made. I will be grateful to anyone who can help me.