glsl: Correct the marking of InputsRead/OutputsWritten on in/out matrices.
authorEric Anholt <eric@anholt.net>
Thu, 9 Dec 2010 22:31:43 +0000 (14:31 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 9 Dec 2010 22:41:50 +0000 (14:41 -0800)
commitb13a2e640f749530d3bf40cbbc30504b1ed58470
treec05b97a1a84f0d1ff5b92e83068657590d5ba8b4
parent3fb18d67753fec8a21461266246ff6949fc0fe81
glsl: Correct the marking of InputsRead/OutputsWritten on in/out matrices.

If you used a constant array index to access the matrix, we'd flag a
bunch of wrong inputs/outputs as being used because the index was
multiplied by matrix columns and the actual used index was left out.

Fixes glsl-mat-attribute.
src/glsl/ir_set_program_inouts.cpp