https://bugs.winehq.org/show_bug.cgi?id=38475
Bug ID: 38475 Summary: Unused variable in glsl_shader.c Product: Wine Version: 1.7.41 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: isakov-sl@bk.ru
if (shader->limits->constant_float + extra_constants_needed + 1 < gl_info->limits.glsl_ps_float_constants) { shader_addline(buffer, "uniform vec4 ycorrection;\n"); extra_constants_needed++; } ---- What is the sense to do extra_constants_needed++ if this variable is no more used? May be some part of codes missed here?
https://bugs.winehq.org/show_bug.cgi?id=38475
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=38475
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- Is this still valid?
I searched a string "if (shader->limits->constant_float + extra_constants_needed"
and the only place I could find it was
http://source.winehq.org/git/wine.git/?a=search&h=HEAD&st=grep&s...
and there is only a fixme after that line.
https://bugs.winehq.org/show_bug.cgi?id=38475
--- Comment #2 from Sergey Isakov isakov-sl@bk.ru --- Code changed so the bug can be closed as FIXED.
https://bugs.winehq.org/show_bug.cgi?id=38475
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Keywords| |source Fixed by SHA1| |f08896aa738fcf99fd03292002b | |ffdf3adad9311 Resolution|--- |FIXED
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Sergey Isakov from comment #2)
Code changed so the bug can be closed as FIXED.
Fixed.
https://bugs.winehq.org/show_bug.cgi?id=38475
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.15.