| 2637 | }; |
| 2638 | |
| 2639 | InlineString GetEntryPointName( PatchShaderType shaderType, ASTNode* callNode ) |
| 2640 | { |
| 2641 | switch( shaderType ) |
| 2642 | { |
| 2643 | case PatchShaderType::VERTEX: |
| 2644 | return MakeInlineString( "mainVS" ); |
| 2645 | case PatchShaderType::PIXEL: |
| 2646 | return MakeInlineString( "mainPS" ); |
| 2647 | case PatchShaderType::COMPUTE: |
| 2648 | return MakeInlineString( "mainCS" ); |
| 2649 | default: |
| 2650 | return callNode->GetSymbol()->name; |
| 2651 | } |
| 2652 | } |
| 2653 | |
| 2654 | InlineString GetShaderAttribute( PatchShaderType shaderType ) |
| 2655 | { |
no test coverage detected