tgsi: implement tgsi_util_get_inst_usage_mask properly
authorMarek Olšák <marek.olsak@amd.com>
Mon, 2 Oct 2017 20:30:55 +0000 (22:30 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 6 Oct 2017 00:56:11 +0000 (02:56 +0200)
commitbe3ab867bd444594f9d9e0f8e59d305d15769afd
treee9d58b94a4b8ee1f96aaffb3e309882bb54410a8
parentbb8abc10bf562b0d20e7bd7d52ea566686f1dc09
tgsi: implement tgsi_util_get_inst_usage_mask properly

All opcodes are handled.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/tgsi/tgsi_util.c
src/gallium/auxiliary/tgsi/tgsi_util.h
src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c