diff options
author | Rob Clark <[email protected]> | 2015-07-24 13:07:33 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-07-27 13:51:05 -0400 |
commit | 56462a30080c1f25a81ae566d59a25d2ad6bb809 (patch) | |
tree | 54c8c61c6d55ff3b72c7d61eeb7868ded06a4ece /src/gallium/drivers/svga | |
parent | 0815729d964f4e8e6e263acf70b5b91577de027a (diff) |
freedreno/ir3: move emit_const to ir3
Details of the cmdstream packets are different between a3xx and a4xx,
but the logic about the layout of const registers is the same, as that
is dictated by the ir3 shader compiler. So rather than duplicating
logic that is tightly coupled to ir3 between a3xx and a4xx, move this
into ir3 and use per-generation callbacks for to build the cmdstream
packets.
This should make it easier to pass additional const regs (such as for
transform feedback). And it also keeps the layout internal to ir3 in
case we want to make the layout more dynamic some day.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
0 files changed, 0 insertions, 0 deletions