| 136 | } |
| 137 | |
| 138 | bool Tr2IndirectDrawBufferWriter::HasMaterialConstants( Tr2RenderContextEnum::ShaderType stage ) const |
| 139 | { |
| 140 | #if TRINITY_PLATFORM == TRINITY_DIRECTX12 |
| 141 | return m_layout.m_materialOffsets[stage] != 0xffffffff; |
| 142 | #elif TRINITY_PLATFORM == TRINITY_METAL |
| 143 | return m_layout.m_hasMaterialData[stage]; |
| 144 | #else |
| 145 | return false; |
| 146 | #endif |
| 147 | } |
| 148 | |
| 149 | bool Tr2IndirectDrawBufferWriter::HasPerObjectData( Tr2RenderContextEnum::ShaderType stage ) const |
| 150 | { |
no outgoing calls
no test coverage detected