gallium: add more exceptions to tgsi_util_get_inst_usage_mask
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 19 Oct 2017 14:13:46 +0000 (09:13 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 19 Oct 2017 17:49:32 +0000 (12:49 -0500)
commit33bdbc1db47cffc9c8b79d7daee51fcdcb52837e
treeac5070057a3a1bf44762c887a19277ae4e805995
parent113a6a639fec88631411d4a53d8e68cdebe15865
gallium: add more exceptions to tgsi_util_get_inst_usage_mask

A number of double/int64 operations don't have matching
read and write usage masks, which the fallthrough case of
tgsi_util_get_inst_usage_mask assumes for componentwise
tagged instructions.

No regressions in llvmpipe piglit; fixes a large number of
swr regressions.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/tgsi/tgsi_util.c