http://bugs.winehq.org/show_bug.cgi?id=32932
Bug #: 32932 Summary: NullDC cannot be ran with wine's d3dcompiler_43 Product: Wine Version: 1.5.23 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: rcaridade145@gmail.com Classification: Unclassified
When trying to run nullDC 1.0.4 r136 with wine's d3dcompiler_43 i get the following warning
err:d3dcompiler:compile_shader HLSL shader parsing failed. vs_hlsl.fx:44:22: error: syntax error, unexpected KW_REGISTER, expecting VAR_IDENTIFIER or TYPE_IDENTIFIER or NEW_IDENTIFIER
Using the native compiler does allow the emulator to run. The offending file -> http://code.google.com/p/nulldc/source/browse/trunk/nulldc/plugins/drkPvr/vs...
http://bugs.winehq.org/show_bug.cgi?id=32932
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org Component|directx-d3d |directx-d3dx9
http://bugs.winehq.org/show_bug.cgi?id=32932
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|wine-bugs@winehq.org |
http://bugs.winehq.org/show_bug.cgi?id=32932
Mahen mahen@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mahen@free.fr
http://bugs.winehq.org/show_bug.cgi?id=32932
--- Comment #1 from Mahen mahen@free.fr 2013-02-11 05:26:38 CST --- Rul, thanks for the tip.
It does enable me to run NullDC 1.0.3/1.0.4. However, emulation is extremely slow (while it's OK in NullDC 1.0.0b6 although keyboard input doesn't work).
Do you also encounter this issue when replacing the shader compiler ? (I am clueless but I guess it's not supposed to have an impact at runtime ?)
http://bugs.winehq.org/show_bug.cgi?id=32932
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=32932
--- Comment #2 from Rui Caridade rcaridade145@gmail.com 2013-02-11 11:17:21 CST --- (In reply to comment #1)
Rul, thanks for the tip.
It does enable me to run NullDC 1.0.3/1.0.4. However, emulation is extremely slow (while it's OK in NullDC 1.0.0b6 although keyboard input doesn't work).
Do you also encounter this issue when replacing the shader compiler ? (I am clueless but I guess it's not supposed to have an impact at runtime ?)
Your welcome :) I did notice that too. As far as i could gather online, the NullDC AICA plugin can make the whole emulator slow. Perhaps change plugins.For your reference http://forums.ngemu.com/showthread.php?t=123988 .
http://bugs.winehq.org/show_bug.cgi?id=32932
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #3 from Christian Costa titan.costa@gmail.com 2013-04-28 10:58:56 CDT --- Indeed this can be reproduced with the hlsl compiler from the DXSDK with the follwing command line:
wine fxc /T vs_1_0 vs_hlsl.fx /E VertexShader_main
The offending line is:
44 -> float W_min: register(c0);
It seems the compiler does not like that a shader map a variable to a register.
https://bugs.winehq.org/show_bug.cgi?id=32932
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=32932
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |matteo.mystral@gmail.com Resolution|--- |DUPLICATE
--- Comment #4 from Matteo Bruni matteo.mystral@gmail.com --- Bug 28875 seems identical to me.
*** This bug has been marked as a duplicate of bug 28875 ***
https://bugs.winehq.org/show_bug.cgi?id=32932
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com --- Closing.