Skip to content

lima: lower bool to float when building shaders

Icenowy Zheng requested to merge icenowy/mesa:lima-lower-bool into master

Both processors of Mali Utgard are float-only, so bool are not acceptable data type of them. Fortunately the NIR compiler infrastructure has a lower pass to lower bool to float.

Call this lower pass to lower bool to float for both GP and PP. This makes Glamor on Xorg server 1.20.3 at least doesn't hang when starting gtk3-demo.

Signed-off-by: Icenowy Zheng icenowy@aosc.io

Merge request reports