i965 meta up/downsample: Fix renderbuffer _BaseFormat
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 15 May 2014 06:06:47 +0000 (06:06 +0000)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 15 May 2014 17:49:05 +0000 (10:49 -0700)
commit103057b2b7c0cf26c28b40fe5802acb8c6195c77
tree0d6e49aeb84724b3bddbca73b56142708ac751f6
parent255357f79b6bfba1583346a77f0bfa7cfc174883
i965 meta up/downsample: Fix renderbuffer _BaseFormat

mt->format is of type mesa_format, and therefore can't be
used with _mesa_base_fbo_format which requires a GLenum input.

On gen8, this fixes various piglit fbo-depthstencil tests with
samples > 1.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_meta_updownsample.c