Skip to content

lima: ppir: use dummy program if FS has empty body

Vasily Khoruzhick requested to merge anarsoul/mesa:lima-emptyfs into main

What does this MR do and why?

As per spec, any colors, or color components, associated with a fragment that are not written by the fragment shader are undefined.

So we might as well just write vec4(1.0) to output, since HW doesn't allow us to have an empty FS.

Edited by Vasily Khoruzhick

Merge request reports

Loading