Merge fork main a26859f (the first room renders right)
Descriptor records the title copies as bytes are mirrored before each submission. Views off their copy's elements: our rule (raw views too, and now typed views on 16 bytes), the fork's copies. Wave sums of halves: ours (the fork's test passes with it). Sizes of descriptors nothing uses: ours, then the fork's for 2D images. The fork's count of cut indirect groups is left out: up to WIDEST groups run as asked here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
f1650b7e45
13 files changed
+964
-109
No files matched your search
@@ -309,7 +309,23 @@ pub struct UserData {
|
||||
|
||||
/// Translates the vertex, pixel, compute or mesh program of a console
|
||||
/// shader container.
|
||||
///
|
||||
/// A program refused because the first half of an interpolation is read as
|
||||
/// data is translated once more with first halves evaluated as the pair
|
||||
/// they start (`lower::with_first_half_pairs`), and only such a program:
|
||||
/// with that on for every program, 8,551 pixel programs of the title that
|
||||
/// already translated came out changed (an extra evaluation in each), for
|
||||
/// the sake of 9 that did not translate.
|
||||
pub fn translate(container: &[u8]) -> Result<HostShader, ShaderError> {
|
||||
match translate_plain(container) {
|
||||
Err(ShaderError::Unsupported { what, .. }) if what == lower::FIRST_HALF => {
|
||||
lower::with_first_half_pairs(|| translate_plain(container))
|
||||
}
|
||||
other => other,
|
||||
}
|
||||
}
|
||||
|
||||
fn translate_plain(container: &[u8]) -> Result<HostShader, ShaderError> {
|
||||
let c = Container::parse(container)?;
|
||||
let dxil = c
|
||||
.part(FourCC::DXIL)
|
||||
|
||||
Reference in new issue
Block a user