Created attachment 145077 [details]
Amber test exposing the problem
Running the attached test using Amber (https://github.com/google/amber):
should lead to the test passing.
Instead, I get a DEVICE_LOST error, and sometimes this leads to my machine locking up or rebooting.
Build: Mesa 19.2.0-devel (git-861c2b8d31) (Debug)
Device: Intel(R) HD Graphics 630 (Kaby Lake GT2)
Thanks, I've sent a MR https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1710
hi, I tested patch from Danylo. It works with this amber test
[den@den-pc Debug]$ ./amber '/home/den/Downloads/write-red-after-search.amber'
Summary: 1 pass, 0 fail
Should be fixed by:
nir/loop_unroll: Prepare loop for unrolling in wrapper_unroll
Without loop_prepare_for_unroll loops are losing phis.
Fixes: 5db98195 "nir: add loop unroll support for wrapper loops"
Signed-off-by: Danylo Piliaiev <email@example.com>
Reviewed-by: Timothy Arceri <firstname.lastname@example.org>