commit | c2ee82d6931ad180334b2fcb0028050d65cdd40d | [log] [tgz] |
---|---|---|
author | Ian Romanick <ian.d.romanick@intel.com> | Wed Jul 22 15:27:31 2009 -0700 |
committer | Ian Romanick <ian.d.romanick@intel.com> | Wed Jul 22 15:27:31 2009 -0700 |
tree | c900665eaa8afd98b5fb0c2bb83fbab7e74237e0 | |
parent | 44843c753301db0e8f8343745777479465f34ccc [diff] [blame] |
parser: Set NumParameters
diff --git a/src/mesa/shader/program_parse.y b/src/mesa/shader/program_parse.y index 6881562..81b06ac 100644 --- a/src/mesa/shader/program_parse.y +++ b/src/mesa/shader/program_parse.y
@@ -2175,6 +2175,8 @@ } state->prog->NumInstructions++; + state->prog->NumParameters = state->prog->Parameters->NumParameters; + /* * Initialize native counts to logical counts. The device driver may * change them if program is translated into a hardware program.