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

Support for MonoGame 3.7.1 #21

Closed
fr0 opened this issue Mar 31, 2019 · 5 comments
Closed

Support for MonoGame 3.7.1 #21

fr0 opened this issue Mar 31, 2019 · 5 comments

Comments

@fr0
Copy link

fr0 commented Mar 31, 2019

I upgraded my project from MonoGame 3.6 to MonoGame 3.7.1, and now I'm getting these errors:

.../penumbra_hull.fx: ...\\penumbra_hull.fx(4,32-33): error X3530: invalid register specification, expected 'b' binding
...\\penumbra_hull.fx(9,31-32): error X3530: invalid register specification, expected 'b' binding

(similar errors in the other fx files).

@ddruganov
Copy link

simple solution: go to each specified line in the error log and change the register letter to 'b'
example:
cbuffer cbPerGrame : register(c1)
will become
cbuffer cbPerGrame : register(b1)
and so on

@discosultan
Copy link
Owner

Thanks for reporting! I will test with latest MonoGame soon.

@discosultan
Copy link
Owner

discosultan commented Apr 4, 2019

Made the following changes to fix for MG 3.7:

Can someone confirm if that solves it for em? I will then publish new nugets.


Related issue: #22

@ddruganov
Copy link

Can confirm that removing HLSL register specifications solved the issue of invalid register naming

@discosultan
Copy link
Owner

Thanks @SamTheT! I've published new nugets. If the issue persist, feel free to reopen.

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

3 participants