[Mesa-dev] [Bug 45622] New: incorrect constant used with pipe_resource field?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 4 08:43:18 PST 2012


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

             Bug #: 45622
           Summary: incorrect constant used with pipe_resource field?
    Classification: Unclassified
           Product: Mesa
           Version: 7.11
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: jlawall at hotmail.com


In gallium/drivers/nvfx/nvfx_transfer.c, the function
nvfx_transfer_inline_write contains the code:

                nvfx_buffer_dirty_interval(buffer, begin, size,
                                !!(pr->flags & PIPE_TRANSFER_UNSYNCHRONIZED));

Elsewhere nearby the flags field of a pipe_resource structure is used with
constants like NVFX_RESOURCE_FLAG_LINEAR and PIPE_TRANSFER_UNSYNCHRONIZED is
used with the usage field of a pipe_transfer structure.  So perhaps there is a
problem here?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list