i965: Fix the test for variable indexing of shader inputs.
authorEric Anholt <eric@anholt.net>
Thu, 26 Aug 2010 16:10:19 +0000 (09:10 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 Aug 2010 16:53:01 +0000 (09:53 -0700)
commitb72c85df5567713293452db6b60c537cd913dcc1
treee8c745215759180391af5219cb4be65a9ef7df46
parentde3b40d8cdc42cc1cd71dd65c90d6d569d922fc6
i965: Fix the test for variable indexing of shader inputs.

Shader inputs appear in source registers, not dst registers.  Catches
unsupported shaders in glsl-fs-varying-array and Humus
RaytracedShadows.
src/mesa/drivers/dri/i965/brw_program.c