Hi!
Please could anyone explain to me what is going on in Technique::checkHardwareSupport() at the bottom where the pass is split and what the return value of Pass::_split() is?
As far as I understand it the pass returned by currPass->_split(numTexUnits) will never have more than numTexUnits units (it seems Pass::_split() does not do what the comment describes...) so the while loop in Technique::checkHardwareSupport() looks a little bit suspicious.
I am just quickly inspecting the code so it could be false alarm. But please have a look at the code and explain what is going on (especially the number of units in the pass returned by Pass::_split()).
Thank you very much!
Sherlock
Please explain Technique::checkHardwareSupport() + Pass::_sp
-
- Gnoblar
- Posts: 1
- Joined: Sat Jul 06, 2013 9:10 am