| Summary: | src/mesa/state_tracker/st_cb_readpixels.c:178]: (warning) Redundant assignment | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | dcb314 |
| Component: | Mesa core | Assignee: | mesa-dev |
| Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 17.2 | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Fixed by 2b2c61f0df5c18355b65772d21be36339ba5e1d9. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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; }