| 136 | } |
| 137 | |
| 138 | ALResult Tr2ShaderAL::GetBytecode( Tr2ShaderBytecodeAL& bytecode ) const |
| 139 | { |
| 140 | if( m_type == INVALID_SHADER ) |
| 141 | { |
| 142 | bytecode = Tr2ShaderBytecodeAL(); |
| 143 | return E_FAIL; |
| 144 | } |
| 145 | |
| 146 | bytecode.bytecode = m_bytecode.empty() ? nullptr : m_bytecode.get(); |
| 147 | bytecode.size = m_bytecode.size(); |
| 148 | return S_OK; |
| 149 | } |
| 150 | |
| 151 | const Tr2ShaderSignatureAL& Tr2ShaderAL::GetSignature() const |
| 152 | { |
no test coverage detected