The game is no longer named in the tree
Comments, documents and descriptions now say "the title". No code changes. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
90228a7dc6
commit
4e17478b9c
55 files changed
+161
-161
No files matched your search
@@ -141,7 +141,7 @@ const CASES: &[(&str, &str)] = &[
|
||||
}"#,
|
||||
),
|
||||
// 16-bit outputs and inputs (one value per dword with the 2020
|
||||
// compiler; Grand Theft Auto VI's two per dword cannot be compiled
|
||||
// compiler; the title's two per dword cannot be compiled
|
||||
// here) and the front face.
|
||||
(
|
||||
"16-bit varyings and front face",
|
||||
@@ -354,7 +354,7 @@ const CS_CASES: &[(&str, &str)] = &[
|
||||
uint4(w * 7 + h, l + asuint(r), n * 5 + ns * 3 + st, b + raw.Load(4 * (i & 31))));
|
||||
}"#,
|
||||
),
|
||||
// Typed loads (`tbuffer_load_format_*`, Grand Theft Auto VI's vertex
|
||||
// Typed loads (`tbuffer_load_format_*`, the title's vertex
|
||||
// fetch) convert by the format the instruction names: the PC reads the
|
||||
// same bytes through typed views in those formats. Channels past the
|
||||
// format's read (0, 0, 0, 1); a byte format at unaligned offsets.
|
||||
@@ -587,7 +587,7 @@ const MS_CASES: &[(&str, u32, &str)] = &[
|
||||
}
|
||||
}"#,
|
||||
),
|
||||
// Two waves per group, as Grand Theft Auto VI's mesh programs run: the
|
||||
// Two waves per group, as the title's mesh programs run: the
|
||||
// second wave's lanes are threads 64-127.
|
||||
(
|
||||
"two waves",
|
||||
@@ -605,7 +605,7 @@ const MS_CASES: &[(&str, u32, &str)] = &[
|
||||
tris[i] = i & 1 ? uint3(c + 1, c + 10, c + 9) : uint3(c, c + 1, c + 9);
|
||||
}"#,
|
||||
),
|
||||
// Quad reads (DPP quad permutations on the console; Grand Theft Auto VI's
|
||||
// Quad reads (DPP quad permutations on the console; the title's
|
||||
// tessellating mesh programs swizzle within quads too).
|
||||
(
|
||||
"quad reads",
|
||||
|
||||
@@ -1063,8 +1063,8 @@ pub(super) fn reads_mask_as_data(st: &Structured, i: &Inst) -> bool {
|
||||
/// second row. An element that shares a register behind another one (the
|
||||
/// signature packs a short element into the free columns of an earlier
|
||||
/// register) is NOT in that row's halves: it follows in the first
|
||||
/// parameter, in row order, that has whole dwords left. Grand Theft Auto
|
||||
/// VI's packed pedestrian shaders show both cases: TEXCOORD7 (register 1,
|
||||
/// parameter, in row order, that has whole dwords left.
|
||||
/// The title's packed pedestrian shaders show both cases: TEXCOORD7 (register 1,
|
||||
/// columns 2-3, behind the two columns of TEXCOORD0) is exported in dword 3
|
||||
/// of parameter 0, after TEXCOORD1's two dwords; TEXCOORD6 (register 4,
|
||||
/// column 3, behind the three columns of TEXCOORD4) in dword 3 of
|
||||
@@ -4260,8 +4260,8 @@ impl<'a> Lower<'a> {
|
||||
if name == "ds_bpermute_b32" {
|
||||
// Backward permute: no LDS is touched. Each lane takes the data
|
||||
// register of the lane its address names, (address + offset) / 4
|
||||
// within the wave; a source lane outside EXEC gives 0. (Grand
|
||||
// Theft Auto VI's checkerboard shadow-mask generators read their
|
||||
// within the wave; a source lane outside EXEC gives 0. (
|
||||
// the title's checkerboard shadow-mask generators read their
|
||||
// neighbours' samples with it; without them every shadowed light
|
||||
// was multiplied by an empty mask.)
|
||||
// shortcut: a source lane that is not at this instruction on the
|
||||
@@ -5346,8 +5346,8 @@ impl<'a> Lower<'a> {
|
||||
// heap holds a buffer view there, not a constant buffer: read as
|
||||
// raw bytes, as a table's SRV is below. Read as a constant buffer
|
||||
// (the host's validation: "Descriptor Type in Heap: SRV, Register
|
||||
// Type: CBV", heap index 17) the loads gave nothing: Grand Theft
|
||||
// Auto VI's meshlet culling (BatchCullMeshlets,
|
||||
// Type: CBV", heap index 17) the loads gave nothing:
|
||||
// the title's meshlet culling (BatchCullMeshlets,
|
||||
// BatchCullPreSkinnedMeshlets, BatchCullBatchCSMeshlets) reads its
|
||||
// batch records, mesh headers and instance transforms this way, so
|
||||
// it passed no meshlet and every indirect mesh draw ran empty.
|
||||
@@ -9438,8 +9438,8 @@ impl<'a> Lower<'a> {
|
||||
// are read at the level instead, in the gather's
|
||||
// order: (u0,v1) (u1,v1) (u1,v0) (u0,v0).
|
||||
// With an offset too (`image_gather4_l_o`): the
|
||||
// offset is in texels of that level. Grand Theft
|
||||
// Auto VI's meshlet culling takes a 4x4 block of
|
||||
// offset is in texels of that level.
|
||||
// The title's meshlet culling takes a 4x4 block of
|
||||
// the pyramid as one gather and three offset ones
|
||||
// ((2,0), (0,2), (2,2)); the three read level 0,
|
||||
// two texels beside the first one's place, so a
|
||||
@@ -10802,7 +10802,7 @@ mod tests {
|
||||
assert_eq!(p.get(&5), None);
|
||||
}
|
||||
|
||||
/// The packed pedestrian layouts of Grand Theft Auto VI: an element
|
||||
/// The packed pedestrian layouts of the title: an element
|
||||
/// behind another one in its register follows in the first parameter
|
||||
/// with a dword left, and is not a half of its register's row.
|
||||
#[test]
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
//! `b<i>` / `t<i>` in [`ROOT_CBV_SPACE`], `i` the title's root parameter
|
||||
//! index ([`HostShader::root_cbvs`], [`HostShader::root_srvs`]); the
|
||||
//! address the title sets is the buffer's.
|
||||
//! * **Vertex fetch** (added 2026-11-23). Grand Theft Auto VI's mesh and
|
||||
//! * **Vertex fetch** (added 2026-11-23). The title's mesh and
|
||||
//! vertex programs fetch vertices themselves with typed-format loads
|
||||
//! (`tbuffer_load_format_*`): the format (8_8_8_8 unorm, 16_16 snorm,
|
||||
//! 2_10_10_10 unorm, 8_8_8_8 and 16_16_16_16 uint...) is in the
|
||||
@@ -612,7 +612,7 @@ fn emit_program(
|
||||
// primitives) (the code divides by that); the thread count is in PSV0
|
||||
// from runtime info version 2 on.
|
||||
// shortcut: older containers fall back to the group's lane count, right
|
||||
// when the HLSL group fills its waves (Grand Theft Auto VI's do).
|
||||
// when the HLSL group fills its waves (the title's do).
|
||||
let mesh_stride = match &native.io {
|
||||
crate::native::StageIo::Ms(ms) => {
|
||||
let psv = c.part(FourCC::PSV0).map(|p| p.data);
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
//! arguments stay the title's, and each rectangle arrives here as one
|
||||
//! triangle.
|
||||
//!
|
||||
//! Which vertex is the corner between the other two varies: Grand Theft
|
||||
//! Auto VI's full-screen rectangles come as top left, bottom left, bottom
|
||||
//! Which vertex is the corner between the other two varies:
|
||||
//! the title's full-screen rectangles come as top left, bottom left, bottom
|
||||
//! right (the second), its tiled lighting as top left, bottom left, top
|
||||
//! right (the first). The corner is the vertex that shares x with one of
|
||||
//! the others and y with the other; the fourth vertex lies opposite it,
|
||||
|
||||
Reference in new issue
Block a user