<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - i915_surface.c:108:4: error: too few arguments to function ‘util_blitter_default_src_texture’"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101340">101340</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>i915_surface.c:108:4: error: too few arguments to function ‘util_blitter_default_src_texture’
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pedretti.fabio@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>I get the following error since yesterday.
Full build log here:
<a href="https://launchpadlibrarian.net/323078543/buildlog_ubuntu-yakkety-i386.mesa_17.2~git1706080730.f1ba51~gd~y_BUILDING.txt.gz">https://launchpadlibrarian.net/323078543/buildlog_ubuntu-yakkety-i386.mesa_17.2~git1706080730.f1ba51~gd~y_BUILDING.txt.gz</a>
../../../../../../src/gallium/drivers/i915/i915_surface.c: In function
‘i915_surface_copy_render’:
../../../../../../src/gallium/drivers/i915/i915_surface.c:108:37: warning:
passing argument 1 of ‘util_blitter_default_src_texture’ from incompatible
pointer type [-Wincompatible-pointer-types]
util_blitter_default_src_texture(&src_templ, src, src_level);
^
In file included from
../../../../../../src/gallium/drivers/i915/i915_context.h:41:0,
from
../../../../../../src/gallium/drivers/i915/i915_blit.h:31,
from
../../../../../../src/gallium/drivers/i915/i915_surface.c:31:
../../../../../../src/gallium/auxiliary/util/u_blitter.h:271:6: note: expected
‘struct blitter_context *’ but argument is of type ‘struct pipe_sampler_view *’
void util_blitter_default_src_texture(struct blitter_context *blitter,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../../src/gallium/drivers/i915/i915_surface.c:108:49: warning:
passing argument 2 of ‘util_blitter_default_src_texture’ from incompatible
pointer type [-Wincompatible-pointer-types]
util_blitter_default_src_texture(&src_templ, src, src_level);
^~~
In file included from
../../../../../../src/gallium/drivers/i915/i915_context.h:41:0,
from
../../../../../../src/gallium/drivers/i915/i915_blit.h:31,
from
../../../../../../src/gallium/drivers/i915/i915_surface.c:31:
../../../../../../src/gallium/auxiliary/util/u_blitter.h:271:6: note: expected
‘struct pipe_sampler_view *’ but argument is of type ‘struct pipe_resource *’
void util_blitter_default_src_texture(struct blitter_context *blitter,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../../src/gallium/drivers/i915/i915_surface.c:108:54: warning:
passing argument 3 of ‘util_blitter_default_src_texture’ makes pointer from
integer without a cast [-Wint-conversion]
util_blitter_default_src_texture(&src_templ, src, src_level);
^~~~~~~~~
In file included from
../../../../../../src/gallium/drivers/i915/i915_context.h:41:0,
from
../../../../../../src/gallium/drivers/i915/i915_blit.h:31,
from
../../../../../../src/gallium/drivers/i915/i915_surface.c:31:
../../../../../../src/gallium/auxiliary/util/u_blitter.h:271:6: note: expected
‘struct pipe_resource *’ but argument is of type ‘unsigned int’
void util_blitter_default_src_texture(struct blitter_context *blitter,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../../src/gallium/drivers/i915/i915_surface.c:108:4: error: too few
arguments to function ‘util_blitter_default_src_texture’
util_blitter_default_src_texture(&src_templ, src, src_level);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
../../../../../../src/gallium/drivers/i915/i915_context.h:41:0,
from
../../../../../../src/gallium/drivers/i915/i915_blit.h:31,
from
../../../../../../src/gallium/drivers/i915/i915_surface.c:31:
../../../../../../src/gallium/auxiliary/util/u_blitter.h:271:6: note: declared
here
void util_blitter_default_src_texture(struct blitter_context *blitter,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../../src/gallium/drivers/i915/i915_surface.c: In function
‘i915_surface_copy_blitter’:
../../../../../../src/gallium/drivers/i915/i915_surface.c:213:26: warning:
unused variable ‘spt’ [-Wunused-variable]
struct pipe_resource *spt = &src_tex->b.b;
^~~
Makefile:722: recipe for target 'i915_surface.lo' failed</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>