Retroarch quick glsl shader recompile

Playing with RetroPie/Retroarch on the Raspberry Pi 2, I found the glsl shader selection to be lacking somewhat, especially in the retro visual department.
Specifically I wanted to play with the ntsc and crt filters from the main Retroarch common-shader tree, but they’re all Cg shaders.
The NTSC shader chains tend to fail, don’t really know why. crt-caligari.glsl works a treat.
So here it is, the common-shaders tree from the libretro git on 10/3/2015. Do with it what you will, I take no responsibility for it blowing up your Pi/Pi2.
retroarch-glsl-shaders.tar.gz

Here are the ones that explicitly failed to recompile:
Failed shaders:
common-shaders/blurs/blur6x6shared.cg
common-shaders/blurs/blur12x12shared-gamma-encode-every-fbo.cg
common-shaders/blurs/blur12x12shared-last-pass-gamma-encode-every-fbo.cg
common-shaders/blurs/blur8x8shared-gamma-encode-every-fbo.cg
common-shaders/blurs/blur6x6shared-last-pass-gamma-encode-every-fbo.cg
common-shaders/blurs/blur10x10shared-last-pass-gamma-encode-every-fbo.cg
common-shaders/blurs/blur8x8shared-last-pass.cg
common-shaders/blurs/blur6x6shared-last-pass.cg
common-shaders/blurs/blur8x8shared.cg
common-shaders/blurs/blur6x6shared-gamma-encode-every-fbo.cg
common-shaders/blurs/blur8x8shared-last-pass-gamma-encode-every-fbo.cg
common-shaders/blurs/blur12x12shared-last-pass.cg
common-shaders/blurs/blur10x10shared-last-pass.cg
common-shaders/blurs/blur10x10shared.cg
common-shaders/blurs/blur12x12shared.cg
common-shaders/blurs/blur10x10shared-gamma-encode-every-fbo.cg
common-shaders/borders/resources/bigblur-horiz.cg
common-shaders/borders/resources/bigblur-vert.cg
common-shaders/xbr/legacy/3xbr-v2.1.cg
common-shaders/3dfx/3dfx_pass_2.cg
common-shaders/handheld/lcd-shader/backup/lcd-pass-0.cg
common-shaders/handheld/lcd-shader/backup/lcd-pass-1.cg
common-shaders/crt/crt-royale/src/crt-royale-bloom-horizontal-reconstitute.cg
common-shaders/crt/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask-fake-bloom.cg
common-shaders/crt/crt-royale/src/crt-royale-brightpass.cg
common-shaders/crt/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask.cg
common-shaders/crt/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask-fake-bloom-intel.cg
common-shaders/crt/crt-royale/src/crt-royale-bloom-approx-intel.cg
common-shaders/crt/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask-intel.cg
common-shaders/crt/crt-royale/src/crt-royale-bloom-approx.cg

Happy gaming!

Here’s the shaders again if you forgot to get them above.

1 Comment

  1. james (Post author)

    Ok, the shader package has been updated with the missing resource files some of the .glslp pseudoshaders require.
    Apologies!

    This doesn’t fix all of them, several still don’t compile at runtime but this does fix some.

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.