https://bugs.freedesktop.org/show_bug.cgi?id=55888
Priority: medium Bug ID: 55888 CC: mar...@gmail.com Assignee: mesa-dev@lists.freedesktop.org Summary: src/gallium/auxiliary/util/u_debug.c:626:23: error: too many arguments to function ‘pipe_get_tile_rgba’ Severity: blocker Classification: Unclassified OS: All Reporter: v...@freedesktop.org Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Mesa core Product: Mesa 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 <mar...@gmail.com> 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 <bri...@vmware.com> -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev