[Mesa-dev] [Bug 102467] src/mesa/state_tracker/st_cb_readpixels.c:178]: (warning) Redundant assignment
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 29 10:44:10 UTC 2017
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 at lists.freedesktop.org
Reporter: dcb314 at hotmail.com
QA Contact: mesa-dev at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170829/e6877698/attachment.html>
More information about the mesa-dev
mailing list