tgsi: Prevent emission of instructions with empty writemask.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 21 Nov 2013 13:11:30 +0000 (13:11 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 22 Nov 2013 15:03:36 +0000 (15:03 +0000)
commit69049555af0b0a8fe6005cfa5766f15fc91403a0
treea1ad4d21be00a94f7a69dc1c9c0e4e34d88d022d
parent4ade77f625cf3b29dabb6d7c151b7ab649def0d5
tgsi: Prevent emission of instructions with empty writemask.

These degenerate instructions can often be emitted by state trackers
when the semantics of instructions don't match precisely.

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