lima/gpir: Fix schedule_first insertion logic
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 2 Sep 2019 20:31:00 +0000 (22:31 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 9 Sep 2019 10:41:35 +0000 (17:41 +0700)
commit2955875381c18290a8f6f798ab78dc53cf3daa47
tree59bb2e103cd5ed46f6257ba209d21002cf2a89a3
parent63acdb5ce68b77443bed06729d109145ca8dfa77
lima/gpir: Fix schedule_first insertion logic

The idea was to make sure schedule_first nodes were always first in the
ready list. I made sure they were inserted first, but not that other
nodes wouldn't later be scheduled ahead of them. Fixes
spec@glsl-1.10@execution@built-in-functions@vs-exp-float and probably
others.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/gp/scheduler.c