[Mesa-dev] [PATCH] gen7: fix GPU hang on WebGL texture-size test
eric at anholt.net
Mon Jun 17 15:28:57 PDT 2013
Jordan Justen <jordan.l.justen at intel.com> writes:
> 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 <jordan.l.justen at intel.com>
> Cc: Eric Anholt <eric at anholt.net>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> Cc: Paul Berry <stereotype441 at gmail.com>
> Given all of Eric's help, this is probably more his patch than mine... :)
Hey, if I'd put in the effort, I would have had a patch on the list
first. You win.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev