Skip to content
Snippets Groups Projects
Forked from VideoLAN / libplacebo
Source project has a limited visibility.
  • Niklas Haas's avatar
    shaders: add GLSL macro preprocessor · 938b95a9
    Niklas Haas authored
    After a long deliberation period, I settled on this design to improve
    both the workflow of writing shaders, as well as runtime performance of
    shader generation.
    
    To integrate our own #pragma GLSL into the compilation, we need to
    preprocess C sources using a python script, with a horrible hand-written
    regex-based parser.
    
    Should mostly work. Hopefully.
    938b95a9