i915g: Add blitter_context argument.
authorVinson Lee <vlee@freedesktop.org>
Thu, 8 Jun 2017 07:15:59 +0000 (00:15 -0700)
committerVinson Lee <vlee@freedesktop.org>
Thu, 8 Jun 2017 20:47:39 +0000 (13:47 -0700)
commit142536a0e32455a485d979d11188fd861882f437
tree46d72894662b9f2869df5cf80ba5a19491476967
parent978e6876f1cd8ccc8850a5665e9619a3e29b731e
i915g: Add blitter_context argument.

Fix build error.

  CC       i915_surface.lo
i915_surface.c:108:63: error: too few arguments to function call, expected 4, have 3
   util_blitter_default_src_texture(&src_templ, src, src_level);
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           ^
../../../../src/gallium/auxiliary/util/u_blitter.h:271:1: note: 'util_blitter_default_src_texture' declared here
void util_blitter_default_src_texture(struct blitter_context *blitter,
^

Fixes: a893c9169733 ("gallium/u_blitter: use 2D_ARRAY for cubemap blits if possible")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101340
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/i915/i915_surface.c