tgsi/scan: fix scanning fragment shaders with PrimID and Position/Face
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 May 2017 00:04:29 +0000 (02:04 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 5 Jun 2017 16:29:42 +0000 (18:29 +0200)
commit4b1e6ed49a2840e4aca2a177fe3a1c1b4e710c90
treed6145ad0f4795092f3016e6467573316d4ed391c
parent708664159e18487b6676fd5b4c33f52003f81d9e
tgsi/scan: fix scanning fragment shaders with PrimID and Position/Face

Not relevant to radeonsi, because Position/Face are system values
with radeonsi, while this codepath is for drivers where Position and
Face are ordinary inputs.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c