Page 1 of 1

SwiftShader 3.2 nologo for ReactOS

Posted: Thu Nov 09, 2017 5:48 am
by rboxeur
As you might now, SwiftShader is open-source since 2016 https://github.com/google/swiftshader
SwiftShader is a high-performance CPU-based implementation of the OpenGL ES and Direct3D 9 graphics APIs. Its goal is to provide hardware independence for advanced 3D graphics.
Unfortunately binaries available at https://goo.gl/5MOcdb were built for Windows 7 and over. Windows XP is not supported anymore. :cry:

The last version available on the Web -- which works with ReactOS -- is "SwiftShader 3.0 Build 5003" but with the logo of Transgaming :cry:

I took decision to rebuild SwiftShader for ReactOS by 8-)
  • removing the watermark/logo of Transgaming.
  • reverting a commit to fix memory issues for the game 'Parasite in City 1.03'
After spending a couple of days in their code, I was able to build a nice d3d9.dll. Here are a couple of links
Notice: I am sharing documentation on how d3d9.dll was generated to show that there is no virus in my file and that it is not a fake

d3d9.all was resized/compressed using petite compressor ( http://www.un4seen.com/petite/)

Hope it could be useful to someone.
Regards.

Re: SwiftShader 3.2 nologo for ReactOS

Posted: Wed Nov 15, 2017 6:40 pm
by grumly
This topic is in the wrong section of the forum.

The dll looks useful, there's a chance to run more programs and fill the epic win thread. I tried the dll and I was able to start Moment of Inspiration in Virtual box (the first time, I had to deactivate 3d acceleration, I'm not sure if it's relevant). Before, it couldn't run because it said dx9 couldn't be initialised, but now at last it starts. Unfortunately, I can only move and zoom the viewport but not drawn anything. Maybe someone else will have better luck.

[ external image ]

Re: SwiftShader 3.2 nologo for ReactOS

Posted: Sat Nov 18, 2017 7:38 pm
by rboxeur
Thanks for replying and for your notification for EPIC WIN.

I will post it in the EPIC WIN.

Regards

Re: SwiftShader 3.2 nologo for ReactOS

Posted: Sun Apr 19, 2020 11:13 pm
by Zero3K
Someone should make a new build of it to see if it speeds up the FPS of games any. I get more FPS with the wined3d from the official site + Mesa3D in ROSAPPS + Microsoft's DirectX 9.0c than with your build of SwiftShader + Microsoft's DirectX 9.0c.

Re: SwiftShader 3.2 nologo for ReactOS

Posted: Fri Apr 24, 2020 8:30 am
by Patchworks
Interesting (technical) discussion about SS @ Haiku community forum:
https://discuss.haiku-os.org/t/3d-graph ... hader/9407