freedreno: set missing internal_format when importing texture
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 22 Dec 2017 05:27:50 +0000 (00:27 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 22 Dec 2017 14:56:02 +0000 (09:56 -0500)
commit0dbdb070705ea063430ed4ff1fbdbc87d86165ea
treee8421622dd6c051bab9baa5987bdc49a5c1be762
parent38f9b87af24762d932891e67ff25db97cdbde6b5
freedreno: set missing internal_format when importing texture

Fixes running piglits without -fbo. Probably lots of other stuff too.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_resource.c