Run Minecraft: runtime HLE, D3D12.X device on the host GPU, shader IR
Loader: map title-shipped DLLs, patch static TLS loads to slot 0, crash reporter, title paths for GetModuleFileName*. HLE: task queue and async, XUser (one offline user), system ids, title id, features, invites, game events, persistent local storage, GameInput with no devices, xmem, console audio hardware queues, life cycle (close suspends, then terminates), and a file layer with virtual drives rewritten in path-taking imports. GPU: D3D12.X device, DXGI chain, heaps, resources, fences, queues and command lists translated onto a host D3D12 device; clears, barriers, copies, resolves and PresentX into the title's window. Shaders: SGD5 reader and `victory translate`; SSA IR with node splitting for irreducible flow; structurisation removing EXEC. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
12caefe804
commit
754619f30e
61 files changed
+12775
-88
No files matched your search
@@ -9,7 +9,9 @@
|
||||
pub mod dxbc;
|
||||
pub mod dxil;
|
||||
pub mod gfx10;
|
||||
pub mod ir;
|
||||
pub mod native;
|
||||
pub mod structure;
|
||||
|
||||
pub use dxbc::{Container, FourCC, Part};
|
||||
pub use dxil::{DxilProgram, ShaderKind, XboxExtras};
|
||||
@@ -23,4 +25,7 @@ pub enum ShaderError {
|
||||
Malformed(&'static str),
|
||||
#[error("GFX10 code at {offset:#x}: {reason}")]
|
||||
Isa { offset: usize, reason: &'static str },
|
||||
/// Valid code the translator cannot handle yet: an opcode name or a construct.
|
||||
#[error("GFX10 code at {offset:#x}: {what} is not supported")]
|
||||
Unsupported { offset: usize, what: &'static str },
|
||||
}
|
||||
Reference in new issue
Block a user