• Niklas Haas's avatar
    shaders: refactor shader creation API · 729e4aee
    Niklas Haas authored
    - I wanted to add new parameters, and rather than having the function
      signature grow out of control, I decided to switch to the same
      `params`-style as the rest of libplacebo, for future forwards
      compatibility.
    
    - We need to expose the identifier, because users of raw shaders might
      want to combine multiple shaders into the same GLSL program.
    
    This kills off the hacky `_ex` functions and uses a params struct. Also
    organizes some fields around, for reasons.
    729e4aee
Name
Last commit
Last update
demos Loading commit data...
src Loading commit data...
subprojects Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
compile Loading commit data...
cross_mingw_i686.txt Loading commit data...
cross_mingw_x86_64.txt Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...