parser: Initialize unused instruction source registers
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 22 Jul 2009 19:29:48 +0000 (12:29 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 22 Jul 2009 19:29:48 +0000 (12:29 -0700)
commitaec429170681567414de70814f69244758323e75
tree6b4e03c405d8e547327adcddf5c0dd243ebb51ab
parent69d3d19b54c46cb7b0e05c04a5304830a1ee2691
parser: Initialize unused instruction source registers

The 965 driver expects unused source registers (e.g., SrcReg[2] of a
DP3 instruction) to have a register file of PROGRAM_UNDEFINED.
Initializing these source registers ensures that this happens.
src/mesa/shader/program_parse.tab.c
src/mesa/shader/program_parse.y