https://bugs.winehq.org/show_bug.cgi?id=54484 Bug ID: 54484 Summary: Comma-separated variable declaration lists do no handle dependent initializers within the same list Product: vkd3d Version: 1.6 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs(a)winehq.org Reporter: bunglehead(a)gmail.com Distribution: --- Created attachment 74035 --> https://bugs.winehq.org/attachment.cgi?id=74035 test See attached test. Currently it produces an error: E5005: Identifier "i" is not declared. This happens because earlier declared variables are not declared within the context, so when occurred in following initializers they are treated as NEW_IDENTIFIER, instead of VAR_IDENTIFIER. My understanding is that declarations are added to the context after whole list is processed, and that probably should change. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.