i965: Fix typo in 2b224d66a0

Unfortunately, since a previous efficiency improvement, we no longer
have any open-source testcases producing register spilling, so this
code was untested in the fragment shader path.  That should change
when we get proper temporary array support in the fragment shader.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40194
This commit is contained in:
Eric Anholt 2011-08-23 10:51:16 -07:00
parent 9d4b98eb9e
commit abbb8fc3a7
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ bool do_wm_prog(struct brw_context *brw,
if (c->last_scratch) {
c->prog_data.total_scratch = brw_get_scratch_size(c->last_scratch);
brw_get_scratch_bo(intel, &brw->vs.scratch_bo,
brw_get_scratch_bo(intel, &brw->wm.scratch_bo,
c->prog_data.total_scratch * brw->wm_max_threads);
}