turnip: Reuse tu6_stage2opcode() more.
authorEric Anholt <eric@anholt.net>
Tue, 3 Dec 2019 00:44:52 +0000 (16:44 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 5 Dec 2019 04:32:15 +0000 (20:32 -0800)
commit1f4e8f3c46c8ca348e127eff2078bf0ae77a2a49
tree34a18a37a208252d7b47f591fcdd4818e42afa32
parent5b23671f6a3f5737c2fff9554214cbfd143e4ff9
turnip: Reuse tu6_stage2opcode() more.

A bit of cleanup for adding more stages later.

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/freedreno/vulkan/tu_cmd_buffer.c