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

Bug Fixed - inheritance check in resource check #103

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

onehundredfeet
Copy link

When the main entry points are checked for resource usage, they only check for containment in the current class. I added a simple fix to walk up the inheritance tree to find a match

there may be better ways to do this, feel free to re-write, but this technically fixes it.

When resources are referenced by the entry point functions, they will miss resources that are declared inside base classes. This has been fixed in this commit.
Any shader set that is defined solely based on the VertexShader and FragmentShader attributes was being missed .This will find that 'set' and allow compilation to continue.
@onehundredfeet
Copy link
Author

My Git knowledge seems to have failed me. I have also rolled a second bug fix into this pull request somehow.

The second fix enables the ability for the shader set to be automatically generated with just a VertexShader and FragmentShader. There was logic in there, but it was stale.

@onehundredfeet
Copy link
Author

Yay! Light is green!

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

Successfully merging this pull request may close these issues.

1 participant