Only changed dwords go back into title memory; cheap safe copies; title's own arguments; more shader forms
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
7913a98a3d
commit
66afb2b4cb
16 files changed
+973
-29
No files matched your search
@@ -178,7 +178,7 @@ fn translate(container: &[u8]) -> Result<Translated, String> {
|
||||
// The translation depends on it (a view index past a capped heap).
|
||||
crate::descriptor::host::probe_view_limit();
|
||||
let c = Container::parse(container).map_err(|e| e.to_string())?;
|
||||
let programs = match c.part(FourCC::DXIL) {
|
||||
let programs = match c.part(FourCC::DXIL).or(c.part(FourCC::ACCC)) {
|
||||
Some(part) => victory_shader::native_programs(part.data).map_err(|e| e.to_string())?,
|
||||
None => Vec::new(),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user