lima: fix lima_blit with non-zero level source resource
authorQiang Yu <yuq825@gmail.com>
Thu, 16 May 2019 11:38:01 +0000 (19:38 +0800)
committerQiang Yu <yuq825@gmail.com>
Sat, 25 May 2019 04:41:44 +0000 (12:41 +0800)
commit1dc593e9b9318a73b49792435776faba02562806
treec95fd117174b83ef5c62ebb8478af28fa91ddeee
parent54490b0b368a6c58e1af72d4c151fdba415be210
lima: fix lima_blit with non-zero level source resource

lima_blit will do blit between resources with different levels.
When blit from a level!=0 source, it will sample from that level
of resource as texture.

Current texture setup won't respect level when not mipmap filter.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/lima_texture.c