Skip to content

panfrost: ARB_depth_clamp support

Icecream95 requested to merge icecream95/mesa:depth-clamp into master

Significantly improves shadows in OpenMW, and clipping through walls in LZDoom. Possibly other games are affected, but those are the ones that use it unconditionally and caused Mesa to print GL_INVALID_ENUM errors...

I haven't added the interaction with glDepthRange, but it shouldn't be to hard to lower it if anything actually depends on it.

Merge request reports