<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - src/gallium/auxiliary/util/u_debug.c:626:23: error: too many arguments to function ‘pipe_get_tile_rgba’"
href="https://bugs.freedesktop.org/show_bug.cgi?id=55888">55888</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>maraeo@gmail.com
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>src/gallium/auxiliary/util/u_debug.c:626:23: error: too many arguments to function ‘pipe_get_tile_rgba’
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>mesa: 7b01bc1e4c9675d3b7519c8743cecc09ffb4317a
$ scons
[...]
Compiling src/gallium/auxiliary/util/u_debug.c ...
src/gallium/auxiliary/util/u_debug.c: In function ‘debug_dump_transfer_bmp’:
src/gallium/auxiliary/util/u_debug.c:626:23: warning: passing argument 1 of
‘pipe_get_tile_rgba’ from incompatible pointer type [enabled by default]
src/gallium/auxiliary/util/u_tile.h:77:1: note: expected ‘struct pipe_transfer
*’ but argument is of type ‘struct pipe_context *’
src/gallium/auxiliary/util/u_debug.c:626:23: warning: passing argument 3 of
‘pipe_get_tile_rgba’ makes integer from pointer without a cast [enabled by
default]
src/gallium/auxiliary/util/u_tile.h:77:1: note: expected ‘uint’ but argument is
of type ‘void *’
src/gallium/auxiliary/util/u_debug.c:626:23: warning: passing argument 7 of
‘pipe_get_tile_rgba’ makes pointer from integer without a cast [enabled by
default]
src/gallium/auxiliary/util/u_tile.h:77:1: note: expected ‘float *’ but argument
is of type ‘int’
src/gallium/auxiliary/util/u_debug.c:626:23: error: too many arguments to
function ‘pipe_get_tile_rgba’
src/gallium/auxiliary/util/u_tile.h:77:1: note: declared here
369e46888904c6d379b8b477d9242cff1608e30e is the first bad commit
commit 369e46888904c6d379b8b477d9242cff1608e30e
Author: Marek Olšák <<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>>
Date: Mon Oct 8 04:06:42 2012 +0200
gallium: unify transfer functions
"get_transfer + transfer_map" becomes "transfer_map".
"transfer_unmap + transfer_destroy" becomes "transfer_unmap".
transfer_map must create and return the transfer object and transfer_unmap
must destroy it.
transfer_map is successful if the returned buffer pointer is not NULL.
If transfer_map fails, the pointer to the transfer object remains unchanged
(i.e. doesn't have to be NULL).
Acked-by: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>