| 507 | } |
| 508 | |
| 509 | bool HasRegisterBinding( const Symbol* symbol, const char* shaderProfile, char registerType, int registerNumber ) |
| 510 | { |
| 511 | auto found = symbol->registerSpecifier.find( MakeInlineString( shaderProfile ) ); |
| 512 | if( found == symbol->registerSpecifier.end() ) |
| 513 | { |
| 514 | found = symbol->registerSpecifier.find( MakeInlineString( "" ) ); |
| 515 | } |
| 516 | if( found != symbol->registerSpecifier.end() ) |
| 517 | { |
| 518 | return found->second.registerType == registerType && found->second.registerNumber == registerNumber; |
| 519 | } |
| 520 | return false; |
| 521 | } |
| 522 | |
| 523 | int GetCBufferIndex( const InlineString& name ) |
| 524 | { |
no test coverage detected