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
d9a31188be
commit
7fa012814f
16 files changed
+973
-29
No files matched your search
@@ -284,6 +284,7 @@ pub fn translate(container: &[u8]) -> Result<HostShader, ShaderError> {
|
||||
let c = Container::parse(container)?;
|
||||
let dxil = c
|
||||
.part(FourCC::DXIL)
|
||||
.or(c.part(FourCC::ACCC))
|
||||
.ok_or(ShaderError::Malformed("no DXIL part"))?;
|
||||
let native = crate::native_programs(dxil.data)?
|
||||
.into_iter()
|
||||
|
||||
Reference in new issue
Block a user