[Mesa-dev] [Bug 109945] pan_assemble.c:51:46: error: passing argument 2 of ‘tgsi_to_nir’ from incompatible pointer type [-Werror=incompatible-pointer-types]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 9 03:12:01 UTC 2019


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

            Bug ID: 109945
           Summary: pan_assemble.c:51:46: error: passing argument 2 of
                    ‘tgsi_to_nir’ from incompatible pointer type
                    [-Werror=incompatible-pointer-types]
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org

../src/gallium/drivers/panfrost/pan_assemble.c: In function
‘panfrost_shader_compile’:
../src/gallium/drivers/panfrost/pan_assemble.c:51:46: error: passing argument 2
of ‘tgsi_to_nir’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
                 s = tgsi_to_nir(cso->tokens, &ctx->base.screen);
                                              ^~~~~~~~~~~~~~~~~
In file included from ../src/gallium/drivers/panfrost/pan_assemble.c:31:
../src/gallium/auxiliary/nir/tgsi_to_nir.h:28:1: note: expected ‘struct
pipe_screen *’ but argument is of type ‘struct pipe_screen **’
 tgsi_to_nir(const void *tgsi_tokens,
 ^~~~~~~~~~~

-- 
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/20190309/4802e8db/attachment.html>


More information about the mesa-dev mailing list