tgsi/exec: initialise SysSemanticToIndex array to -1
authorDave Airlie <airlied@redhat.com>
Tue, 26 Apr 2016 04:31:24 +0000 (14:31 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 26 Apr 2016 23:00:46 +0000 (09:00 +1000)
commitf78bcb7638be3c2612fd1ab0371361a8b53104c7
tree6a64401eb2baaff81fd4c37b169afc5340e2c7e6
parentfbea4e177f12cd8655a26711af7e61c784bfa267
tgsi/exec: initialise SysSemanticToIndex array to -1

We want to use the SysSemanticToIndex to tell if we've seen
the semantics at all.

Acked-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c