ShaderGen icon indicating copy to clipboard operation
ShaderGen copied to clipboard

Bug Fixed - inheritance check in resource check

Open onehundredfeet opened this issue 4 years ago • 2 comments

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.

onehundredfeet avatar Aug 11 '20 00:08 onehundredfeet

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 avatar Aug 11 '20 00:08 onehundredfeet

Yay! Light is green!

onehundredfeet avatar Aug 11 '20 06:08 onehundredfeet