freedreno/ir3: create all inputs in first block
authorRob Clark <robdclark@gmail.com>
Fri, 10 Aug 2018 14:39:08 +0000 (10:39 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 14 Aug 2018 21:59:02 +0000 (17:59 -0400)
commit066930e54d7859f151083980157bd02964b9a963
tree25682dd75298de69efabd9b192b8c9012e5d2890
parent62da068fd370ed48e508dcfa34fcfe9aa8745a20
freedreno/ir3: create all inputs in first block

create_input()/create_input_compmask() should take the ctx as arg,
rather than block, to enforce that all inputs are created in the first
block, so that RA sees them as live at the start of the shader.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c