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