i915g: handle more formats in copy
authorStéphane Marchesin <marcheu@chromium.org>
Mon, 26 May 2014 13:48:11 +0000 (06:48 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Tue, 27 May 2014 06:08:49 +0000 (23:08 -0700)
commitb419ca937a666b0e5a6aca4cf179d8d43e0a3996
tree42b78d1fd6c0be448a3f887426cd52556bfa78a5
parenta26e2bc2e3578b50bd581c8f8d8e3c428c85158f
i915g: handle more formats in copy

We can handle depth, luminance,... copies by simply replacing the
format with a known format of the same bpp.
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/i915/i915_state.h
src/gallium/drivers/i915/i915_surface.c