Skip to content

dispatch: disable textureLod() when using non-normal samplers

Niklas Haas requested to merge haasn/libplacebo:texture_lod into master

I'm really unhappy with this solution, but I'm also really unhappy with the alternatives. I'm starting to think that we may actually want to go back to using texture() inside shaders and #defining texture textureLod(..., 0)

Or just stop using textureLod altogether.

Fixes: https://github.com/haasn/libplacebo/issues/195

Merge request reports

Loading