OSDN Git Service

tgsi: fix tgsi_util_get_inst_usage_mask
authorRoland Scheidegger <sroland@vmware.com>
Wed, 18 Oct 2017 21:13:58 +0000 (23:13 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 19 Oct 2017 14:33:39 +0000 (16:33 +0200)
commit77b8392858815625ee7909cf9e866043dab9d074
tree10e783f1a1d1e4d57bb443323d8cc6c6cdbacc39
parenta6c55243b9266d3e63d2ebd2e568990bbe493596
tgsi: fix tgsi_util_get_inst_usage_mask

The logic for handling shadow coords was completely broken.
Fixes be3ab867bd444594f9d9e0f8e59d305d15769afd.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103265

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