gnmdriver: Implement neo mode differences. (#2011)

* gnmdriver: Implement neo mode differences.

* gnmdriver: Move init sequences to separate file.
This commit is contained in:
squidbus 2025-01-03 12:22:27 -08:00 committed by GitHub
parent 2951788afc
commit 9434cae458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 696 additions and 282 deletions

View file

@ -204,6 +204,11 @@ struct PM4CmdSetData {
static constexpr u32* SetShReg(u32* cmdbuf, Args... data) {
return WritePacket<PM4ItOpcode::SetShReg>(cmdbuf, type, data...);
}
template <PM4ShaderType type = PM4ShaderType::ShaderGraphics, typename... Args>
static constexpr u32* SetUconfigReg(u32* cmdbuf, Args... data) {
return WritePacket<PM4ItOpcode::SetUconfigReg>(cmdbuf, type, data...);
}
};
struct PM4CmdNop {