diff options
author | Jordan Justen <[email protected]> | 2013-06-17 14:05:21 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2013-06-18 14:06:46 -0700 |
commit | adeda5afd428e2e4a2c0ef0b6367956d94c4d054 (patch) | |
tree | 471ed8265ac1797eeb5d5608627c346fa396c816 /src/mesa/drivers/windows/gdi | |
parent | 248fddecd8e813b9cb0c98327ab4cd3c836f7398 (diff) |
gen7: fix GPU hang on WebGL texture-size test
When rendering to a texture with BaseLevel set, the miptree may be laid
out such that BaseLevel is in level 0 of the miptree (to avoid wasting
memory on unused levels between 0 and BaseLevel-1). In that case, we
have to shift our render target's level down to the appropriate level of
the smaller miptree.
The WebGL test in combination with a meta code relating to
glGenerateMipmap also triggered a similar failure scenario.
This GPU hang regression was introduced by c754f7a8.
Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=65324
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/windows/gdi')
0 files changed, 0 insertions, 0 deletions