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@lists.freedesktop.org
        ReportedBy: jlaw...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to