Skip to content

Lower transform pos.w in fragement shader

Gert Wollny requested to merge gerddie/mesa:sumbit-fix-reading-POS.w into msclc-d3d12

In the fragement shader the value POS.w is the reciprocal of what we expect, so clean up and extend the existing lowering pass and apply it for fragment shaders.

This fixes: dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_w

Edited by Gert Wollny

Merge request reports