freedreno/ir3: Use regid() helper when setting up precolor regs
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:44:33 +0000 (16:44 -0800)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:46:21 +0000 (16:46 -0800)
commit4a4fad7f40f13b47ff09d0f1dd43459ea18a327e
treeb84ccc887bf56c241331900870037e38280706fc
parent3699a74a4323a8e0873a1be3e2f788786b813bf7
freedreno/ir3: Use regid() helper when setting up precolor regs

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_compiler_nir.c