Closed haasn closed 1 year ago
Thanks! I didn't notice these changes.
Incidentally, we can probably also remove need for compute
variants by making CS support testable in conditions..
With my implementation compute/
shaders are usually slower than gather/
shaders for luma prescalers, but faster for -rgb
prescalers. So probably not a good idea to prefer it blindly.
I was actually thinking about removing gather/
shaders by testing HOOKED_gather
macro defined by libplacebo, but it will introduce more a lot of complexity to shader code and I eventually give up this idea.
libplacebo has supported rgba16f on vulkan since 2019, and on d3d11 since jan 2023. 'rgba16hf' shader variants are unnecessary