Re: [Mesa-dev] [PATCH] mesa: pass target through to driver when choosing texture format

2014-05-07 Thread Brian Paul
On 05/06/2014 02:33 AM, Ilia Mirkin wrote: This only matters for TextureView where the texObj's target has not been set yet, in all other instances, texObj->target should be the same as the passed-in target parameter. Signed-off-by: Ilia Mirkin --- I ran into an assert in mesa/st when choosing

[Mesa-dev] [PATCH] mesa: pass target through to driver when choosing texture format

2014-05-06 Thread Ilia Mirkin
This only matters for TextureView where the texObj's target has not been set yet, in all other instances, texObj->target should be the same as the passed-in target parameter. Signed-off-by: Ilia Mirkin --- I ran into an assert in mesa/st when choosing the texture format because the target was 0.