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
@@ -400,7 +400,7 @@ fn translate(
|
||||
let Ok(container) = Container::parse(&bytes) else {
|
||||
return t.fail("no DXIL part (SM5 or older)".into(), example);
|
||||
};
|
||||
let Some(dxil) = container.part(FourCC::DXIL).map(|p| p.data) else {
|
||||
let Some(dxil) = container.part(FourCC::DXIL).or(container.part(FourCC::ACCC)).map(|p| p.data) else {
|
||||
return t.fail("no DXIL part (SM5 or older)".into(), example);
|
||||
};
|
||||
// `~`: the hash of the code alone; containers that differ only around
|
||||
|
||||
Reference in new issue
Block a user