Jordan Justen <[email protected]> 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 <[email protected]>
> Cc: Eric Anholt <[email protected]>
> Cc: Kenneth Graunke <[email protected]>
> Cc: Paul Berry <[email protected]>
> ---
> 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 <[email protected]>

Attachment: pgpGltSwnJ7RV.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to