Skip to content
New issue

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

Shader compiler fails to parse some shaders #53

Closed
geneishouko opened this issue Apr 30, 2019 · 4 comments
Closed

Shader compiler fails to parse some shaders #53

geneishouko opened this issue Apr 30, 2019 · 4 comments

Comments

@geneishouko
Copy link

geneishouko commented Apr 30, 2019

The d9vk shader compiler fails to parse some shaders with invalid opcodes and out of range source registers

err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
err:   DxsoDecodeContext::decodeSourceRegister: source register out of range.
warn:  DxsoCompiler::processInstruction: unhandled opcode: Invalid Opcode (2337)
warn:  DxsoCompiler::processInstruction: unhandled opcode: Invalid Opcode (21062)
warn:  DxsoCompiler::processInstruction: unhandled opcode: Invalid Opcode (248)

Software information

Game is Artificial Academy 2. Default dxvk settings.

System information

  • GPU: Nvidia GTX 1050
  • Driver: 418.56
  • Wine version: 4.0
  • DXVK version: d9vk master

Apitrace files

https://mega.nz/#F!wYRXAYia!FQjOZi69z0sLf921baRw5g

Shader dumps

aa2edit-shadersv1.zip
aa2edit-shadersv2.zip

Log files

@geneishouko
Copy link
Author

@K0bin
Copy link
Contributor

K0bin commented Jul 17, 2019

Did you have Microsoft's d3dcompiler installed in your prefix when those errors appeared?

@geneishouko
Copy link
Author

@K0bin
Yes, I have all d3dcompiler 42 43 & 47 native overrides installed. Check out the most recent logs as of commit cb420d2
https://github.com/Joshua-Ashton/d9vk/files/3402043/AA2Edit_d3d9.log

@geneishouko
Copy link
Author

This issue has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants