lima: Godot3.4 assertion `!(reg->index & 0x3) && "ppir: output regs don't have swizzle"' failed.
I'm working on some changes to nir_move_vec_src_uses_to_dest
and wanted to test on lima as one of the few users, but running shader-db with a debug build hits crashes at several different places, godot3.4/28-18.shader_test
from the vanila shader-db is one of them:
run: ../src/gallium/drivers/lima/ir/pp/regalloc.c:591: ppir_regalloc_prog_try: Assertion
!(reg->index & 0x3) && "ppir: output regs don't have swizzle"' failed.`
Could be the fact that I'm testing on x86_64 with drm-shim and that I'm not using it correctly, I'm running like this:
LD_PRELOAD=/path/to/liblima_noop_drm_shim.so MESA_LOADER_DRIVER_OVERRIDE=lima ./run godot3.4/28-18.shader_test
So please correct me if this is wrong.