broadcom/vc5: Move texture return channel setup into the compiler.
authorEric Anholt <eric@anholt.net>
Tue, 2 Jan 2018 19:26:58 +0000 (11:26 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 3 Jan 2018 22:25:23 +0000 (14:25 -0800)
commitba965084b60e702b41beaea75237bfa39335b6cb
treebfeafcc80363bac6f1930209e506398176b81c4f
parentac4054ca1766b5ab4ee2059e7e0f8590c219730d
broadcom/vc5: Move texture return channel setup into the compiler.

The compiler decides how many LDTMUs we're going to emit, and that must
match the P1 flags.  This brings the return channel counting to a single
place (so all that's passed into the compiler is "how many return channels
you may request from this texture's format), and was a necessary step for
shadow samplers once we stop using OVRTMUOUT=0.
src/broadcom/cle/v3d_packet_v33.xml
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/gallium/drivers/vc5/vc5_state.c
src/gallium/drivers/vc5/vc5_uniforms.c