Revert "mesa: Remove pointless comparison of unsigned integer with a negative constant."
authorVinson Lee <vlee@vmware.com>
Fri, 5 Mar 2010 01:40:36 +0000 (17:40 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 5 Mar 2010 01:41:20 +0000 (17:41 -0800)
commit45df4bad9fc0379f05197bee10c03fd351f24094
tree043c760f02c0d9ea9ffcb217588b6d0468e03ba9
parentbb35000b4b6dfe60048b2f5d60bc102c4a7fd791
Revert "mesa: Remove pointless comparison of unsigned integer with a negative constant."

This reverts commit a05fdbcb719ac64e6be842372813f0f4ca2f4f93.

Removing the comparison is wrong. The comparison with -1 should be changed
to another value (probably PROGRAM_UNDEFINED) along with another
change in the shader assembler.

Conflicts:

src/mesa/shader/prog_execute.c
src/mesa/shader/prog_execute.c