[Mesa-dev] [Bug 99953] device9.c:122:49: error:=?UTF-8?Q?=20=E2=80=98PIPE=5FCAP=5FUSER=5FINDEX=5FBUFFERS=E2=80=99=20undeclared=20?=(first use in this function)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 25 00:03:37 UTC 2017


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

            Bug ID: 99953
           Summary: device9.c:122:49: error: ‘PIPE_CAP_USER_INDEX_BUFFERS’
                    undeclared (first use in this function)
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: brianp at vmware.com, maraeo at gmail.com,
                    nhaehnle at gmail.com

mesa: c7878b0167bb7e652973c208e172b93c00956a1c (master 17.1.0-devel)

  CC       device9.lo
device9.c: In function ‘NineDevice9_ctor’:
device9.c:122:49: error: ‘PIPE_CAP_USER_INDEX_BUFFERS’ undeclared (first use in
this function)
 #define GET_PCAP(n) pScreen->get_param(pScreen, PIPE_CAP_##n)
                                                 ^
device9.c:476:36: note: in expansion of macro ‘GET_PCAP’
     This->driver_caps.user_ibufs = GET_PCAP(USER_INDEX_BUFFERS) &&
!This->csmt_active;
                                    ^~~~~~~~
device9.c:122:49: note: each undeclared identifier is reported only once for
each function it appears in
 #define GET_PCAP(n) pScreen->get_param(pScreen, PIPE_CAP_##n)
                                                 ^
device9.c:476:36: note: in expansion of macro ‘GET_PCAP’
     This->driver_caps.user_ibufs = GET_PCAP(USER_INDEX_BUFFERS) &&
!This->csmt_active;
                                    ^~~~~~~~

commit 4a883966c1f74f43afc145d2c3d27af7b8c5e01a
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Feb 17 02:28:20 2017 +0100

    gallium: remove PIPE_CAP_USER_INDEX_BUFFERS

    all drivers support it

    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Tested-by: Brian Paul <brianp at vmware.com>  (VMware driver only)

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


More information about the mesa-dev mailing list