[Mesa-dev] [Bug 101340] i915_surface.c:108:4: error: too few arguments to function ‘util_blitter_default_src_texture’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 8 06:59:50 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101340

            Bug ID: 101340
           Summary: i915_surface.c:108:4: error: too few arguments to
                    function ‘util_blitter_default_src_texture’
           Product: Mesa
           Version: git
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: pedretti.fabio at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

I get the following error since yesterday.
Full build log here:
https://launchpadlibrarian.net/323078543/buildlog_ubuntu-yakkety-i386.mesa_17.2~git1706080730.f1ba51~gd~y_BUILDING.txt.gz

../../../../../../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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170608/f73b174c/attachment-0001.html>


More information about the mesa-dev mailing list