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

            Bug ID: 102467
           Summary: src/mesa/state_tracker/st_cb_readpixels.c:178]:
                    (warning) Redundant assignment
           Product: Mesa
           Version: 17.2
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: dcb...@hotmail.com
        QA Contact: mesa-dev@lists.freedesktop.org

mesa-17.1.8/src/mesa/state_tracker/st_cb_readpixels.c:178]: (warning) Redundant
assignment of 'templ.u.tex.last_layer' to itself.

Source code is

      if (view_target != PIPE_TEXTURE_3D) {
         templ.u.tex.first_layer = surface->u.tex.first_layer;
         templ.u.tex.last_layer = templ.u.tex.last_layer;
      } else {
         addr.constants.layer_offset = surface->u.tex.first_layer;
      }

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to