We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following vertex shader assembly line fails :
mad oFog /* removed swizzle */, -r3, c150.z, c150.w
It can be fixed by adding this regexp to Direct3DDevice8::CreateVertexShader() :
SourceCode = std::regex_replace(SourceCode, std::regex("mad (oFog|oPts)(.*), (-?)([crv][0-9]+(?![\\.0-9])), (.+)\\n"), "mad $1$2, $3$4.x /* select single component */, $5\n");
The result is :
mad oFog /* removed swizzle */, -r3.x /* select single component */, c150.z, c150.w
..which succesfully compiles. (Not sure if the .x component is the right choice.)
.x
Test-case : Cxbx-Reloaded, running Morrowind.
The text was updated successfully, but these errors were encountered:
Do you want to make this into a pull request?
Sorry, something went wrong.
No time, I'm sorry
52a32ef
You neither it seems ;)
? It's fixed in 52a32ef?
No branches or pull requests
The following vertex shader assembly line fails :
It can be fixed by adding this regexp to Direct3DDevice8::CreateVertexShader() :
The result is :
..which succesfully compiles. (Not sure if the
.x
component is the right choice.)Test-case : Cxbx-Reloaded, running Morrowind.
The text was updated successfully, but these errors were encountered: