https://bugs.winehq.org/show_bug.cgi?id=55926
Bug ID: 55926 Summary: D3DCompile2 doesn't support feature of linear centroid Product: vkd3d Version: 1.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: shimpei.sawada@gmail.com Distribution: ---
Created attachment 75492 --> https://bugs.winehq.org/attachment.cgi?id=75492 A sample code to reproduce the bug
D3DCompile2 doesn't support feature of linear centroid. D3DCompile2 fails to compile a code which contains linear centroid.
linear centroid is an interpolation modifiers.
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hls...
00dc:err:d3dcompiler:D3DCompile2 Error : shader:11:1: E5000: syntax error, unexpected NEW_IDENTIFIER
https://bugs.winehq.org/show_bug.cgi?id=55926
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #1 from Vijay Kamuju infyquest@gmail.com --- Is there any sample application which uses this feature.
https://bugs.winehq.org/show_bug.cgi?id=55926
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- (In reply to Vijay Kamuju from comment #1)
Is there any sample application which uses this feature.
This was attached.
https://bugs.winehq.org/show_bug.cgi?id=55926
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- I'm not completely sure, but I think 'linear centroid' and 'centroid' are the same thing, so this is a small change to make.
https://bugs.winehq.org/show_bug.cgi?id=55926
--- Comment #4 from Shimpei Sawada shimpei.sawada@gmail.com --- Microsoft writes that the centroid modifier must be combined with either the linear or noperspective modifier.
'linear centroid' and 'centroid' are the same thing. But 'linear centroid' is correct.
https://bugs.winehq.org/show_bug.cgi?id=55926
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/496
https://bugs.winehq.org/show_bug.cgi?id=55926
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|D3DCompile2 doesn't support |'linear centroid' modifier |feature of linear centroid |is not supported by the | |compiler
https://bugs.winehq.org/show_bug.cgi?id=55926
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |6a4a9a4518689a7db5eff362cc5 | |e0fff0994a7af Resolution|--- |FIXED
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Marking fixed, https://source.winehq.org/git/vkd3d.git/commit/6a4a9a4518689a7db5eff362cc5e0....
https://bugs.winehq.org/show_bug.cgi?id=55926
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.10.