glsl: Fix setting of OutputsWritten for whole array dereference.
authorEric Anholt <eric@anholt.net>
Wed, 7 Sep 2011 18:00:03 +0000 (11:00 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 9 Sep 2011 03:20:49 +0000 (20:20 -0700)
commitd00deae3ef3a7828de1e566ad95b3a5b1ab7034d
treebcfe1b7622f618bf7df577fc03b73b0e63b240fd
parentce64b6d612dc167c4b8c00594d87517d6ed0e5fa
glsl: Fix setting of OutputsWritten for whole array dereference.

We just want to mark the whole thing used, not mark from each element
the whole size in use.  Fixes undefined URB entry writes on i965,
which blew up with debugging enabled.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir_set_program_inouts.cpp