// Copyright (C) 2009-present, Panagiotis Christopoulos Charitos and contributors. // All rights reserved. // Code licensed under the BSD License. // http://www.anki3d.org/LICENSE #pragma once #include #include namespace anki { /// @addtogroup shader_compiler /// @{ /// RGA output. class RgaOutput { public: U32 m_vgprCount = 0; U32 m_sgprCount = 0; U32 m_isaSize = 0; String toString() const { return String().sprintf("VGPRs %u SGPRs %u ISA size %u", m_vgprCount, m_sgprCount, m_isaSize); } }; /// Run the mali offline compiler and get some info back. Error runRadeonGpuAnalyzer(ConstWeakArray spirv, ShaderType shaderType, RgaOutput& out); /// @} } // end namespace anki