Re: [Mesa-dev] [PATCH] gen7: fix GPU hang on WebGL texture-size test

2013-06-18 Thread Eric Anholt
Paul Berry writes: > On 18 June 2013 01:09, Jordan Justen wrote: > >> 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

Re: [Mesa-dev] [PATCH] gen7: fix GPU hang on WebGL texture-size test

2013-06-17 Thread Paul Berry
On 18 June 2013 01:09, Jordan Justen wrote: > 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'

Re: [Mesa-dev] [PATCH] gen7: fix GPU hang on WebGL texture-size test

2013-06-17 Thread Eric Anholt
Jordan Justen 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 ap

[Mesa-dev] [PATCH] gen7: fix GPU hang on WebGL texture-size test

2013-06-17 Thread Jordan Justen
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 m