diff options
author | Eric Anholt <[email protected]> | 2011-08-23 10:51:16 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-23 11:23:04 -0700 |
commit | abbb8fc3a7d49066ecca10cb9db0b4756a1bbef0 (patch) | |
tree | f730579d14a0b99ca5093ddfae3a924a80237eae | |
parent | 9d4b98eb9eadecc17cd1cda0074b420a39e74647 (diff) |
i965: Fix typo in 2b224d66a01f3ce867fb05558b25749705bbfe7a
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
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index a4524fc7889..e76832515fe 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -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); } |