freedreno/ir3: stop hard-coding FS input regs
authorRob Clark <robdclark@gmail.com>
Fri, 10 Aug 2018 15:57:26 +0000 (11:57 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 14 Aug 2018 21:59:02 +0000 (17:59 -0400)
commitfdd35f497bd9fe840b5bcc4a21464967e7abf866
tree22bf077794e6c8c63ca4ec2f46716e5b75642e40
parente97b56172cd5f7f3ccc8a609713e556a8b9552ec
freedreno/ir3: stop hard-coding FS input regs

We originally did this because at the time we didn't know all the
bitfields to configure where various frag shader sysval's went.  But
we do.

So switch to using sysvals for all the frag shader inputs.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c
src/gallium/drivers/freedreno/a5xx/fd5_program.c
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
src/gallium/drivers/freedreno/ir3/ir3_ra.c
src/gallium/drivers/freedreno/ir3/ir3_shader.c
src/gallium/drivers/freedreno/ir3/ir3_shader.h