aboutsummaryrefslogtreecommitdiffstats
path: root/m4/ax_gcc_builtin.m4
diff options
context:
space:
mode:
authorIcenowy Zheng <[email protected]>2019-04-11 23:54:03 +0800
committerIcenowy Zheng <[email protected]>2019-04-12 13:40:47 +0800
commit400f0bfba123e829fafa6449e6d45e11b6f20e78 (patch)
tree9b1a0220dec51258efc25540e0941173b0e18191 /m4/ax_gcc_builtin.m4
parent8f1c686bca3f98ef8b1e5f1e6b781a8dd2f2c417 (diff)
lima: lower bool to float when building shaders
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. The old map of nir op bcsel is changed to fcsel, and the map of b2f32 in PP is dropped because it's not needed now (it's originally only mapped to ppir_op_mov). Signed-off-by: Icenowy Zheng <[email protected]> Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'm4/ax_gcc_builtin.m4')
0 files changed, 0 insertions, 0 deletions