• 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
..
bench.c Loading commit data...
colorspace.c Loading commit data...
context.c Loading commit data...
dither.c Loading commit data...
dummy.c Loading commit data...
filters.c Loading commit data...
gpu_tests.h Loading commit data...
tests.h Loading commit data...
utils.c Loading commit data...
vulkan.c Loading commit data...