profiles: delete amd-rdna3-radv, whose every cell is the Radeon 780M's
What: the RX 7900 XTX capture amd-rdna3-radv derives the same translation fingerprint as amd-780m-radv: the Radeon 780M and the RX 7900 XTX under one RADV build. So every golden and census cell of the profile equals the 780M's (dff8c48964). Nothing outside the translator derives from it: no runtime, conformance, harness or devtools use. Under the planner's rule, such a profile is deleted. - The profile file, its regen_device_profiles.py source entry, and its README row and venue sentence go. profiles/README.md now names amd-780m-hawkpoint-radv alone as the capture no venue runs on. - Its two opened-chains contexts go from opened_chains.txt (device and restricted). - The shared-fingerprint pairdff8c48964added to fingerprints_distinguish_committed_profiles goes, with its comment. - Rows of tables that already hold amd-780m-radv lose the rdna3 row: description.rs COMMITTED, profile.rs the_profile_holds_the_largest_whole_point_size (8191 on both), subgroup.rs GOLDEN and its own-limits table (equal rows), fetch/tests.rs, engine_device_replay.rs, engine_lane_reads.rs and engine_widest_pin.rs (equal rows). - Every other test stem "amd-rdna3-radv" is now "amd-780m-radv": 43 translator files (42 test files and metal/format/word.rs's test module), plus validation's c3, worker/device and candidate/platform/enables tests (one line there, depth_range_unrestricted_is_enabled_where_the_device_lists_it, which the 780M lists too). The two descriptions are equal in everything a translation reads (the fingerprint test's own equality check), so no asserted value changes. Comments that read "the committed RDNA3 description" stay true: the 780M is RDNA3. - corpus/observations/vulkan/shard_056.jsonl drops the row recorded under the old gpuinfo profile, which is gone: environment amd-780m-radv@engine@amd-rdna3-radv, case atomics-past-a-device-buffer (case_id fdbf7c9b9e09e38aff99a04768f8375ac8e7a604dfcacf21e236b2d2482b3896, air e1382758476864b76c1eab9d944b033c016808309fe44581fe38f539f23d67e5), executor vulkan-engine-v131. The shard keeps the same case's other row. - cutover/c1-reviewed.json's note names the profiles that remain in the bucket: intel-irisxe-anv and nvidia-rtx50-linux. - scripts/drm-shim.Dockerfile no longer lists the profile among the 26.2.3 captures. The example in scripts/linux-gate uses --chip rembrandt with amd-rdna2-apu-radv (the Radeon 680M, RADV REMBRANDT). Left to the next pin's bless: three generated tables still name the profile, and only a bless drops their columns. They are tests/golden_hashes.tsv (its profile row and column), tests/public_fixture_expectations_engine.tsv (its column) and corpus/authored-compile.tsv (its census column). Search: `git grep -n amd-rdna3-radv` gave 118 hits atdff8c48964. After this commit it gives 4, the three tables above. `git grep -n amd-rdna3-radv` in the consumer's checkout gives 0. Verified: m3-max-65582 at the series' tip 0f732c1141: fmt, signatures, clippy plain, --cfg m2v_gpu and --cfg m2v_cpu_icd, workspace Rustdoc -D warnings and the device-profile pyunit green; conformance 1025/1025; validation 1330/1331 and product 4015/4026 (24 skipped), every red a bless item: the golden table (1861 rdna3 cells gone), ten fixture-inventory tests on tests/public_fixture_expectations_engine.tsv (the column's drop; every one of its 3499 rows holds the same cell under amd-rdna3-radv as under amd-780m-radv), and the opened-chains pin left by the enables move. bless_engine_inventory needs metal-as, so that bless is the pin's, on a Mac.
This commit is contained in:
1 parent
af97fa1bee
commit
072eaaba18
59 files changed
+101
-19356
No files matched your search
@@ -1,2 +1 @@
|
||||
{"air_sha256":"e1382758476864b76c1eab9d944b033c016808309fe44581fe38f539f23d67e5","candidate_output_sha256":"bff87e3cb4c5f2d5968ab0c749d758991e21b98d2f1582c89be5bc4716305799","case_id":"fdbf7c9b9e09e38aff99a04768f8375ac8e7a604dfcacf21e236b2d2482b3896","census":{"device":{"host":3},"modules":[{"containment":{"buffers":"robust","images":"unused"},"precision":[],"stage":"kernel","strategies":["access.atomic.buffer.rmw","access.atomic.buffer.store","access.gep","access.load","arith.index_extension","arith.int"],"subgroup":{"full_subgroups":false,"required_size":null}}],"out_of_bounds":{"targets":[{"escaped":0,"form":"buffer_atomic","mechanism":{"check":"robust2","medium":"descriptor_view"},"past_end":0,"resource":{"binding":1,"kind":"buffer"},"written":true}]},"product":"753c148e9591bb04544417746c98b400cdb4eb0ff503fd301ec701a28b29d808","restricted_to":"amd-rdna3-radv"},"comparison":"exact","environment":{"api_version":4211042,"architecture":"x86_64","device":"AMD Radeon 780M Graphics (RADV PHOENIX)","device_id":5567,"driver_id":3,"driver_info":"Mesa 26.2.4-arch3.1","driver_name":"radv","driver_version":109060100,"executor":"engine-compute","layers":"Validation","max_sampler_anisotropy":16.0,"max_storage_buffer_range":4294967295,"multisample_array_image":false,"os":"linux","profile":"DeviceProfile { fields: ProfileFields { buffer_access: Addressed, pointer_domain: ResidentTable, handle_domain: Table, containment: On { robust: Rba2 }, isolation: On, framebuffer_fetch: RequireOrdered, leaf: LeafCaps { int8: true, int16: true, int64: true, float16: true, float64: true, storage_buffer_8bit: true, uniform_buffer_8bit: true, push_constant_8bit: true, storage_buffer_16bit: true, uniform_buffer_16bit: true, push_constant_16bit: true, input_output_16bit: true, workgroup_explicit_layout: true, workgroup_explicit_layout_8bit: true, workgroup_explicit_layout_16bit: true, buffer_int64_atomics: true, shared_int64_atomics: true, buffer_float32_atomic_add: true, buffer_float32_atomic_min_max: true, shared_float32_atomic_add: true, shared_float32_atomic_min_max: true, image_float32_atomic_add: false, image_float32_atomic_min_max: false, image_int64_atomics: true, vertex_stores_and_atomics: true, fragment_stores_and_atomics: true, zero_initialize_workgroup_memory: true, fma32: true }, subgroup: SubgroupModel { vertex: StageSubgroup { supported: true, ops: OpBits(255), api_size: 64, sizes: SubgroupSizes { min: 64, max: 64 }, pinnable: false, full_subgroups: false }, fragment: StageSubgroup { supported: true, ops: OpBits(255), api_size: 64, sizes: SubgroupSizes { min: 32, max: 64 }, pinnable: true, full_subgroups: false }, kernel: StageSubgroup { supported: true, ops: OpBits(255), api_size: 64, sizes: SubgroupSizes { min: 32, max: 64 }, pinnable: true, full_subgroups: true }, quad_all_stages: true, maximal_reconvergence: true, uniform_control_flow: true, max_compute_workgroup_subgroups: 4294967295 }, images: ImageCaps { storage_read_without_format: true, storage_write_without_format: true, storage_extended_formats: true, storage_multisample: true, cube_array: true, gather_extended: true, dynamic_sample_offset: true, min_lod: true, robust_image_access: true, robust_image_access2: true, sampler_anisotropy: true, sampler_filter_minmax: true, sampler_mirror_clamp_to_edge: true, compute_derivative_quads: true, compute_derivative_linear: true }, descriptors: DescriptorCaps { buffer_device_address: true, scalar_block_layout: true, uniform_buffer_standard_layout: true, runtime_descriptor_array: true, partially_bound: true, variable_descriptor_count: true, update_after_bind_sampled_image: true, update_after_bind_storage_image: true, update_after_bind_storage_buffer: true, non_uniform_sampled_image: true, non_uniform_storage_image: true, non_uniform_storage_buffer: true, non_uniform_uniform_texel_buffer: true, non_uniform_storage_texel_buffer: true, push_descriptor: true, null_descriptor: false }, fragment: FragmentCaps { demote_to_helper: true, terminate_invocation: true, pixel_interlock: true, sample_interlock: true, barycentric: true, stencil_export: true, sample_rate_shading: true, dual_src_blend: true, independent_blend: true, geometry_shader: true, tessellation_shader: true, output_layer: true, output_viewport_index: true, clip_distance: true, cull_distance: true, rasterization_order_color_access: false, dynamic_rendering_local_read: true, vertex_attribute_divisor: true, vertex_attribute_zero_divisor: true }, float_controls: FloatControls { f16: FloatWidthControls { denorm_preserve: true, denorm_flush_to_zero: true, rounding_rte: true, rounding_rtz: true, signed_zero_inf_nan_preserve: true }, f32: FloatWidthControls { denorm_preserve: true, denorm_flush_to_zero: true, rounding_rte: true, rounding_rtz: true, signed_zero_inf_nan_preserve: true }, f64: FloatWidthControls { denorm_preserve: true, denorm_flush_to_zero: true, rounding_rte: true, rounding_rtz: true, signed_zero_inf_nan_preserve: true }, denorm_independence: Only32Bit, roundinLine truncated
|
||||
{"air_sha256":"e1382758476864b76c1eab9d944b033c016808309fe44581fe38f539f23d67e5","candidate_output_sha256":"bff87e3cb4c5f2d5968ab0c749d758991e21b98d2f1582c89be5bc4716305799","case_id":"fdbf7c9b9e09e38aff99a04768f8375ac8e7a604dfcacf21e236b2d2482b3896","census":{"device":{"host":4},"modules":[{"containment":{"buffers":"robust","images":"unused"},"precision":[],"stage":"kernel","strategies":["access.atomic.buffer.rmw","access.atomic.buffer.store","access.gep","access.load","arith.index_extension","arith.int"],"subgroup":{"full_subgroups":false,"required_size":null}}],"out_of_bounds":{"targets":[{"escaped":0,"form":"buffer_atomic","mechanism":{"check":"robust2","medium":"descriptor_view"},"past_end":0,"resource":{"binding":1,"kind":"buffer"},"written":true}]},"product":"753c148e9591bb04544417746c98b400cdb4eb0ff503fd301ec701a28b29d808","restricted_to":"nvidia-rtx50-linux"},"comparison":"exact","environment":{"api_version":4211039,"architecture":"x86_64","device":"NVIDIA GeForce RTX 5080 Laptop GPU","device_id":11289,"driver_id":4,"driver_info":"615.71.09","driver_name":"NVIDIA","driver_version":2580660800,"executor":"engine-compute","layers":"Validation","max_sampler_anisotropy":16.0,"max_storage_buffer_range":4294967295,"multisample_array_image":false,"os":"linux","profile":"DeviceProfile { fields: ProfileFields { buffer_access: Addressed, pointer_domain: ResidentTable, handle_domain: Table, containment: On { robust: Rba2 }, isolation: On, framebuffer_fetch: RequireOrdered, leaf: LeafCaps { int8: true, int16: true, int64: true, float16: true, float64: true, storage_buffer_8bit: true, uniform_buffer_8bit: true, push_constant_8bit: true, storage_buffer_16bit: true, uniform_buffer_16bit: true, push_constant_16bit: true, input_output_16bit: false, workgroup_explicit_layout: true, workgroup_explicit_layout_8bit: true, workgroup_explicit_layout_16bit: true, buffer_int64_atomics: true, shared_int64_atomics: true, buffer_float32_atomic_add: true, buffer_float32_atomic_min_max: false, shared_float32_atomic_add: true, shared_float32_atomic_min_max: false, image_float32_atomic_add: true, image_float32_atomic_min_max: false, image_int64_atomics: true, vertex_stores_and_atomics: true, fragment_stores_and_atomics: true, zero_initialize_workgroup_memory: true, fma32: true }, subgroup: SubgroupModel { vertex: StageSubgroup { supported: true, ops: OpBits(255), api_size: 32, sizes: SubgroupSizes { min: 32, max: 32 }, pinnable: true, full_subgroups: false }, fragment: StageSubgroup { supported: true, ops: OpBits(255), api_size: 32, sizes: SubgroupSizes { min: 32, max: 32 }, pinnable: true, full_subgroups: false }, kernel: StageSubgroup { supported: true, ops: OpBits(255), api_size: 32, sizes: SubgroupSizes { min: 32, max: 32 }, pinnable: true, full_subgroups: true }, quad_all_stages: true, maximal_reconvergence: true, uniform_control_flow: true, max_compute_workgroup_subgroups: 32 }, images: ImageCaps { storage_read_without_format: true, storage_write_without_format: true, storage_extended_formats: true, storage_multisample: true, cube_array: true, gather_extended: true, dynamic_sample_offset: true, min_lod: true, robust_image_access: true, robust_image_access2: true, sampler_anisotropy: true, sampler_filter_minmax: true, sampler_mirror_clamp_to_edge: true, compute_derivative_quads: true, compute_derivative_linear: true }, descriptors: DescriptorCaps { buffer_device_address: true, scalar_block_layout: true, uniform_buffer_standard_layout: true, runtime_descriptor_array: true, partially_bound: true, variable_descriptor_count: true, update_after_bind_sampled_image: true, update_after_bind_storage_image: true, update_after_bind_storage_buffer: true, non_uniform_sampled_image: true, non_uniform_storage_image: true, non_uniform_storage_buffer: true, non_uniform_uniform_texel_buffer: true, non_uniform_storage_texel_buffer: true, push_descriptor: true, null_descriptor: false }, fragment: FragmentCaps { demote_to_helper: true, terminate_invocation: true, pixel_interlock: true, sample_interlock: true, barycentric: true, stencil_export: false, sample_rate_shading: true, dual_src_blend: true, independent_blend: true, geometry_shader: true, tessellation_shader: true, output_layer: true, output_viewport_index: true, clip_distance: true, cull_distance: true, rasterization_order_color_access: false, dynamic_rendering_local_read: true, vertex_attribute_divisor: true, vertex_attribute_zero_divisor: true }, float_controls: FloatControls { f16: FloatWidthControls { denorm_preserve: true, denorm_flush_to_zero: false, rounding_rte: true, rounding_rtz: false, signed_zero_inf_nan_preserve: true }, f32: FloatWidthControls { denorm_preserve: false, denorm_flush_to_zero: false, rounding_rte: true, rounding_rtz: true, signed_zero_inf_nan_preserve: true }, f64: FloatWidthControls { denorm_preserve: false, denorm_flush_to_zero: false, rounding_rte: true, rounding_rtz: true, signed_zero_inf_nan_preserve: true }, denorm_independence: All, rounding_independencLine truncated
|
||||
@@ -45,7 +45,7 @@
|
||||
"corpus-ab --c1-report at commit 1758b8a9 finds this bucket's rows (new census ed6999d3, old L3 ff4c349d)",
|
||||
"the user's sign-off of 2026-10-03"
|
||||
],
|
||||
"note": "The user signed it off on 2026-10-03. Both rows (3b6a7600, c4b9ba7a) are GPU-debug indirect-command-buffer vertex functions. Each loads a pointer at 16 + 8 * sext(stride * (start + vid)) from a {command_buffer; int; int} argument (air.buffer_size 16), so a signed index can reach the command-buffer field. What lies there is Metal's private command layout, which AIR does not describe, so no translation of it is sound. The old engine translated both, and its output passes L3 on moltenvk-m3, so it reads that layout as it guessed it: the old output is guessed, not Metal's. The same two rows are in this bucket on amd-rdna3-radv, intel-irisxe-anv, and nvidia-rtx50-linux (no entry: C1 is measured on the three C1 profiles).",
|
||||
"note": "The user signed it off on 2026-10-03. Both rows (3b6a7600, c4b9ba7a) are GPU-debug indirect-command-buffer vertex functions. Each loads a pointer at 16 + 8 * sext(stride * (start + vid)) from a {command_buffer; int; int} argument (air.buffer_size 16), so a signed index can reach the command-buffer field. What lies there is Metal's private command layout, which AIR does not describe, so no translation of it is sound. The old engine translated both, and its output passes L3 on moltenvk-m3, so it reads that layout as it guessed it: the old output is guessed, not Metal's. The same two rows are in this bucket on intel-irisxe-anv and nvidia-rtx50-linux (no entry: C1 is measured on the three C1 profiles).",
|
||||
"sign_off": {
|
||||
"state": "signed_off",
|
||||
"decision": "sign off as old output that was guessed (the user's answer of 2026-10-03)",
|
||||
|
||||
@@ -16,7 +16,6 @@ the files of this directory.
|
||||
| `below-floor/vk12-floor` | derived from `VP_LUNARG_minimum_requirements_1_2` | Vulkan 1.2 required features, minimum limits, and the unconditional Required Format Support entries only | – | 1.2.131 |
|
||||
| `nvidia-rtx50-linux` | gpuinfo report 51770 | NVIDIA GeForce RTX 5080, Linux | 615.71.09 | 1.4.351 |
|
||||
| `nvidia-pascal-linux` | gpuinfo report 52074 | NVIDIA GeForce GTX 1060 6GB, Linux | 580.178.04 | 1.4.312 |
|
||||
| `amd-rdna3-radv` | local `vulkaninfo --json`, plus its supplement | AMD Radeon RX 7900 XTX (RADV NAVI31), CachyOS | Mesa 26.2.6 | 1.4.354 |
|
||||
| `amd-rdna2-apu-radv` | gpuinfo report 51886 | AMD Radeon 680M (RADV REMBRANDT) | Mesa 26.2.3 | 1.4.354 |
|
||||
| `intel-arl-anv` | gpuinfo report 52029 | Intel(R) Graphics (ARL), ANV | Mesa 26.2.3 | 1.4.354 |
|
||||
| `intel-irisxe-anv` | gpuinfo report 51836 | Intel(R) Iris(R) Xe Graphics (TGL GT2), ANV | Mesa 26.2.2 | 1.4.354 |
|
||||
@@ -39,8 +38,7 @@ the venue's RPL-S device), `nvidia-rtx5080-laptop`. The venue list
|
||||
refuses a file that is not such a capture, whose device identity is not the one the venue
|
||||
declares for it, or that derives another translation key than the venue's profile. The gpuinfo
|
||||
files above are census profiles of devices in the wild; no venue names them. Nor does it
|
||||
name `amd-rdna3-radv`, a capture of an RX 7900 XTX that no venue runs on, or
|
||||
`amd-780m-hawkpoint-radv`, the Radeon 780M of Hawk Point: the GPU of `amd-780m-radv` under
|
||||
name `amd-780m-hawkpoint-radv`, the Radeon 780M of Hawk Point: the GPU of `amd-780m-radv` under
|
||||
another `deviceID` (0x1900), whose capture under the same RADV build differs from `amd-780m-radv`'s
|
||||
only there, so it takes the 780M's measured driver facts and derives the same translation key.
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -76,7 +76,7 @@ fn three_venues() -> Venues {
|
||||
VenueKind::NativeGpu,
|
||||
RADV,
|
||||
Population::MetalQualified,
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
));
|
||||
venues
|
||||
}
|
||||
@@ -2830,14 +2830,14 @@ fn a_device_gap_reads_c1s_entry_and_its_sign_off() {
|
||||
};
|
||||
|
||||
for class in [ListClass::DeviceLacks, ListClass::NearEquivalent] {
|
||||
let report = judge(vec![c1_entry("amd-rdna3-radv", class, awaiting.clone())]);
|
||||
let report = judge(vec![c1_entry("amd-780m-radv", class, awaiting.clone())]);
|
||||
let slot = slot(&report, RADV);
|
||||
assert_eq!(verdict_of(slot, &fetch), Verdict::DeviceGap);
|
||||
assert!(slot.holds());
|
||||
assert_eq!(
|
||||
report.device_gaps,
|
||||
[DeviceGapRow {
|
||||
profile: "amd-rdna3-radv".into(),
|
||||
profile: "amd-780m-radv".into(),
|
||||
outcome: "device_capability_missing".into(),
|
||||
key: "FramebufferFetch needs Feature(RasterizationOrderColorAttachmentAccess)"
|
||||
.into(),
|
||||
@@ -2856,7 +2856,7 @@ fn a_device_gap_reads_c1s_entry_and_its_sign_off() {
|
||||
date: "2026-10-03".into(),
|
||||
};
|
||||
let report = judge(vec![c1_entry(
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
ListClass::DeviceLacks,
|
||||
signed,
|
||||
)]);
|
||||
@@ -2874,7 +2874,7 @@ fn a_device_gap_reads_c1s_entry_and_its_sign_off() {
|
||||
),
|
||||
(
|
||||
vec![c1_entry(
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
ListClass::OldOutputWrong,
|
||||
awaiting.clone(),
|
||||
)],
|
||||
@@ -2887,7 +2887,7 @@ fn a_device_gap_reads_c1s_entry_and_its_sign_off() {
|
||||
assert!(!stated.holds());
|
||||
assert!(report.device_gaps.is_empty());
|
||||
let expected = proposed.then(|| GapProposal {
|
||||
profile: "amd-rdna3-radv".into(),
|
||||
profile: "amd-780m-radv".into(),
|
||||
outcome: "device_capability_missing".into(),
|
||||
key: "FramebufferFetch needs Feature(RasterizationOrderColorAttachmentAccess)".into(),
|
||||
cases: 1,
|
||||
@@ -3144,7 +3144,7 @@ fn metal_qualified() -> Venues {
|
||||
VenueKind::NativeGpu,
|
||||
RADV,
|
||||
Population::MetalQualified,
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
)],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,8 +4,6 @@ amd-780m-radv device f1b9afa37c1b943cde0c0ccc3f7bfd04acf769ae6eea0f584088fd768a7
|
||||
amd-780m-radv restricted 356f04d1217e3bed22ad5ae1fe4a21586fa95aee827ea5b3f03eaaac065090e0 members=144 extensions=31
|
||||
amd-rdna2-apu-radv device b469691d0d6127194bf901819902ad5fe041a6616dc9b0970482377c2ded6bc5 members=147 extensions=50
|
||||
amd-rdna2-apu-radv restricted 52597543de78c9fb51c4e26fab5afe2253fd7a6fafb05ed71d0c64d4f21d15b1 members=145 extensions=31
|
||||
amd-rdna3-radv device f1b9afa37c1b943cde0c0ccc3f7bfd04acf769ae6eea0f584088fd768a754994 members=146 extensions=50
|
||||
amd-rdna3-radv restricted 356f04d1217e3bed22ad5ae1fe4a21586fa95aee827ea5b3f03eaaac065090e0 members=144 extensions=31
|
||||
gate-lavapipe device 9825edd0da66d5a72b29443280f02a2dc7ed59c4fb92e08db236e422eab84cc7 members=145 extensions=47
|
||||
gate-lavapipe restricted 826fe6beec94e37683496d6c9cdeef8aaae466d85dc7892720382a4f554b1cca members=143 extensions=28
|
||||
gate-lavapipe-x86_64 device 9825edd0da66d5a72b29443280f02a2dc7ed59c4fb92e08db236e422eab84cc7 members=145 extensions=47
|
||||
|
||||
@@ -748,7 +748,7 @@ fn depth_range_unrestricted_is_not_enabled_where_the_device_lists_it() {
|
||||
use metal2vulkan::device::VkExtension as X;
|
||||
let name = c"VK_EXT_depth_range_unrestricted";
|
||||
for (stem, listed) in [
|
||||
("amd-rdna3-radv", true),
|
||||
("amd-780m-radv", true),
|
||||
("lavapipe", true),
|
||||
("moltenvk-m3", false),
|
||||
] {
|
||||
|
||||
@@ -583,14 +583,14 @@ fn a_refusal_names_the_device_it_was_refused_on() {
|
||||
}
|
||||
);
|
||||
// Restricted, as the parent asked.
|
||||
let restricted_to = restricted(DeviceType::Gpu, "amd-rdna3-radv");
|
||||
let restricted_to = restricted(DeviceType::Gpu, "amd-780m-radv");
|
||||
let named_restricted = DeviceOutput {
|
||||
refused_on: Some(opened(Some("amd-rdna3-radv"))),
|
||||
refused_on: Some(opened(Some("amd-780m-radv"))),
|
||||
..output(refusal.clone())
|
||||
};
|
||||
assert_eq!(
|
||||
outcome(&named_restricted, &restricted_to).refused_on,
|
||||
Some(opened(Some("amd-rdna3-radv")))
|
||||
Some(opened(Some("amd-780m-radv")))
|
||||
);
|
||||
// Another restriction than the parent's.
|
||||
for (report, input) in [(&named, &restricted_to), (&named_restricted, &stated)] {
|
||||
|
||||
+1
-1
@@ -418,7 +418,7 @@ fn the_ulong_atomic_view_fact_round_trips() {
|
||||
let Some(bc) = fixture("unk_ulong_atomics") else {
|
||||
return;
|
||||
};
|
||||
let dev = device("amd-rdna3-radv");
|
||||
let dev = device("amd-780m-radv");
|
||||
let f = Library::from_air(&bc)
|
||||
.expect("library")
|
||||
.function("unk_ulong_atomic_rw")
|
||||
|
||||
@@ -6,7 +6,6 @@ const COMMITTED: &[&str] = &[
|
||||
"amd-780m-hawkpoint-radv",
|
||||
"amd-780m-radv",
|
||||
"amd-rdna2-apu-radv",
|
||||
"amd-rdna3-radv",
|
||||
"gate-lavapipe",
|
||||
"gate-lavapipe-x86_64",
|
||||
"intel-arl-anv",
|
||||
@@ -395,7 +394,7 @@ fn portability_stride_alignment_follows_exposure() {
|
||||
"lavapipe",
|
||||
"nvidia-rtx50-linux",
|
||||
"runtime-floor",
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
] {
|
||||
assert_eq!(
|
||||
profile(stem)
|
||||
@@ -646,7 +645,7 @@ fn maintenance8_reads_its_extension_structure() {
|
||||
assert!(d.extensions.contains(&VkExtension::KhrMaintenance8));
|
||||
for (stem, expected) in [
|
||||
("amd-rdna2-apu-radv", true),
|
||||
("amd-rdna3-radv", true),
|
||||
("amd-780m-radv", true),
|
||||
("intel-arl-anv", true),
|
||||
("intel-irisxe-anv", true),
|
||||
("lavapipe", true),
|
||||
@@ -694,7 +693,7 @@ fn border_color_swizzle_and_format_extensions_are_read() {
|
||||
assert!(d.has(VkFeature::BorderColorSwizzleFromImage));
|
||||
assert!(d.extensions.contains(&VkExtension::ExtBorderColorSwizzle));
|
||||
assert!(d.extensions.contains(&VkExtension::ExtCustomBorderColor));
|
||||
for stem in ["amd-rdna3-radv", "intel-arl-anv", "lavapipe"] {
|
||||
for stem in ["amd-780m-radv", "intel-arl-anv", "lavapipe"] {
|
||||
assert!(
|
||||
profile(stem).has(VkFeature::BorderColorSwizzleFromImage),
|
||||
"{stem}"
|
||||
|
||||
@@ -158,7 +158,7 @@ fn memory_profiles_follow_bda_and_int64() {
|
||||
"runtime-floor",
|
||||
"moltenvk-m3",
|
||||
"nvidia-rtx50-linux",
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"intel-arl-anv",
|
||||
"lavapipe",
|
||||
] {
|
||||
@@ -258,7 +258,7 @@ fn vertex_layer_and_viewport_outputs_follow_the_features_not_the_extension() {
|
||||
#[test]
|
||||
fn robustness2_selects_the_rba2_encoding() {
|
||||
assert_eq!(
|
||||
device("amd-rdna3-radv").profile().fields().robustness,
|
||||
device("amd-780m-radv").profile().fields().robustness,
|
||||
Robustness::Rba2
|
||||
);
|
||||
// MoltenVK exposes VK_EXT_robustness2 but reports robustBufferAccess2 = false.
|
||||
@@ -401,9 +401,7 @@ fn streamed_fingerprint_equals_the_hash_of_the_rendering() {
|
||||
/// translation reads: at most in the device's identity (vendor, device, driver version, type) and
|
||||
/// its allocation sizes, as two captures of one GPU under its two `deviceID`s do
|
||||
/// (`amd-780m-hawkpoint-radv` and `amd-780m-radv`, the Radeon 780M of Hawk Point and of Phoenix),
|
||||
/// and as one GPU family on one driver does (`amd-780m-radv` and `amd-rdna3-radv`, the Radeon 780M
|
||||
/// and the Radeon RX 7900 XTX under one RADV build; `intel-irisxe-rplp-anv` and
|
||||
/// `intel-uhd770-rpls-anv`).
|
||||
/// and as one GPU family on one driver does (`intel-irisxe-rplp-anv` and `intel-uhd770-rpls-anv`).
|
||||
#[test]
|
||||
fn fingerprints_distinguish_committed_profiles() {
|
||||
let translated = |stem: &str| {
|
||||
@@ -433,7 +431,6 @@ fn fingerprints_distinguish_committed_profiles() {
|
||||
"amd-780m-hawkpoint-radv".to_string(),
|
||||
"amd-780m-radv".to_string()
|
||||
),
|
||||
("amd-780m-radv".to_string(), "amd-rdna3-radv".to_string()),
|
||||
(
|
||||
"intel-irisxe-rplp-anv".to_string(),
|
||||
"intel-uhd770-rpls-anv".to_string()
|
||||
@@ -717,7 +714,6 @@ fn the_profile_holds_the_largest_whole_point_size() {
|
||||
("nvidia-rtx5080-laptop", 2047),
|
||||
("nvidia-rtx50-linux", 2047),
|
||||
("amd-780m-radv", 8191),
|
||||
("amd-rdna3-radv", 8191),
|
||||
("intel-irisxe-rplp-anv", 255),
|
||||
("lavapipe", 256),
|
||||
("moltenvk-m3", 511),
|
||||
|
||||
@@ -51,7 +51,6 @@ const GOLDEN: &str = "\
|
||||
amd-780m-hawkpoint-radv: -,C,C,C,C,C,xW | -,D,D,D,D,D,D | -,L,D,D,D,D,D
|
||||
amd-780m-radv: -,C,C,C,C,C,xW | -,D,D,D,D,D,D | -,L,D,D,D,D,D
|
||||
amd-rdna2-apu-radv: -,C,C,C,C,C,xW | -,D,D,D,D,D,D | -,L,D,D,D,D,D
|
||||
amd-rdna3-radv: -,C,C,C,C,C,xW | -,D,D,D,D,D,D | -,L,D,D,D,D,D
|
||||
gate-lavapipe: -,xO,xO,xO,xO,xO,xM | -,P,P,P,P,P,xW | -,L,E,E,E,E,E
|
||||
gate-lavapipe-x86_64: -,xO,xO,xO,xO,xO,xM | -,P,P,P,P,P,xW | -,L,E,E,E,E,E
|
||||
intel-arl-anv: -,D,D,D,D,D,D | -,D,D,D,D,D,D | -,L,D,D,D,D,D
|
||||
@@ -427,7 +426,6 @@ fn no_profile_answers_more_than_an_apple_gpu() {
|
||||
("nvidia-pascal-linux", [1536, 49152, 8, 32768]),
|
||||
("nvidia-rtx50-linux", [1024, 49152, 8, 32768]),
|
||||
("nvidia-rtx5080-laptop", [1024, 49152, 8, 32768]),
|
||||
("amd-rdna3-radv", [1024, 65536, 8, 16384]),
|
||||
("amd-rdna2-apu-radv", [1024, 65536, 8, 16384]),
|
||||
("amd-780m-radv", [1024, 65536, 8, 16384]),
|
||||
("intel-arl-anv", [1024, 49152, 16, 16384]),
|
||||
|
||||
@@ -53,7 +53,6 @@ fn an_extended_range_blend_needs_rasterization_order_fetch() {
|
||||
("lavapipe", true),
|
||||
("gate-lavapipe-x86_64", true),
|
||||
("moltenvk-m3", false),
|
||||
("amd-rdna3-radv", false),
|
||||
("amd-780m-radv", false),
|
||||
("intel-arl-anv", false),
|
||||
("intel-irisxe-anv", false),
|
||||
|
||||
@@ -214,7 +214,7 @@ fn a_constexpr_anisotropic_sample_takes_metals_filter() {
|
||||
let Some(bc) = assemble(&what, &constexpr_fragment(words(MipFilter::Linear, aniso))) else {
|
||||
return;
|
||||
};
|
||||
for stem in ["lavapipe", "amd-rdna3-radv", "intel-irisxe-anv"] {
|
||||
for stem in ["lavapipe", "amd-780m-radv", "intel-irisxe-anv"] {
|
||||
let what = format!("{what}, {stem}");
|
||||
let a = ok(&bc, "k", &p(stem));
|
||||
assert_eq!(count(&a, OP_IMAGE_SAMPLE_IMPLICIT_LOD), 0, "{what}");
|
||||
@@ -283,7 +283,7 @@ fn a_runtime_slot_takes_metals_filter_where_its_word_states_anisotropy() {
|
||||
.iter()
|
||||
.any(|n| n.note == PrecisionNote::AnisotropicFilter)
|
||||
};
|
||||
for stem in ["lavapipe", "amd-rdna3-radv"] {
|
||||
for stem in ["lavapipe", "amd-780m-radv"] {
|
||||
let base = ok(&bc, "k", &p(stem));
|
||||
assert!(base.facts.contains(&fact), "{stem}: {:?}", base.facts);
|
||||
assert!(!degree(&base), "{stem}: {:?}", base.interface.read_keys());
|
||||
@@ -530,7 +530,7 @@ fn an_anisotropic_sample_out_of_reach_records_the_device_filter() {
|
||||
let Some(bc) = assemble(name, &text) else {
|
||||
return;
|
||||
};
|
||||
for stem in ["lavapipe", "amd-rdna3-radv", "intel-irisxe-anv"] {
|
||||
for stem in ["lavapipe", "amd-780m-radv", "intel-irisxe-anv"] {
|
||||
let what = format!("{name}, {stem}");
|
||||
let a = ok(&bc, "k", &p(stem));
|
||||
assert!(
|
||||
@@ -713,7 +713,7 @@ fn a_cubes_explicit_gradients_take_metals_level_and_taps() {
|
||||
let explicit = if taps { WRITTEN_TAPS as usize } else { 2 };
|
||||
let mut shader = Vec::new();
|
||||
let mut device = vec![("moltenvk-m3", full("moltenvk-m3"))];
|
||||
for stem in ["lavapipe", "amd-rdna3-radv", "intel-irisxe-anv"] {
|
||||
for stem in ["lavapipe", "amd-780m-radv", "intel-irisxe-anv"] {
|
||||
match taps {
|
||||
true => shader.push((stem, p(stem))),
|
||||
false => device.push((stem, p(stem))),
|
||||
|
||||
@@ -397,7 +397,7 @@ mod tests {
|
||||
Some(WordAttachment::Rgb9e5)
|
||||
);
|
||||
let radv = profile(
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
crate::device::DevicePolicy::RESIDENT_TABLES,
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
@@ -3511,7 +3511,7 @@ fn a_merged_fragment_reads_its_argument_buffer_through_its_command_s_table() {
|
||||
VertexAttributeDescriptor::new(metal::VertexFormat::UInt, 0, 1),
|
||||
);
|
||||
d.vertex_descriptor = Some(input);
|
||||
for stem in ["moltenvk-m3", "amd-rdna3-radv", "lavapipe"] {
|
||||
for stem in ["moltenvk-m3", "amd-780m-radv", "lavapipe"] {
|
||||
let dev = device(stem);
|
||||
let base = dev
|
||||
.compile_render_variant(&d, &VariantKey::new(), &Budget::standard())
|
||||
|
||||
@@ -146,7 +146,7 @@ fn multiview_tessellation_needs_its_feature() {
|
||||
other => panic!("{other:?}"),
|
||||
}
|
||||
control_plan(None, stage(), 1, &m3).expect("one view");
|
||||
control_plan(None, stage(), 2, &profile("amd-rdna3-radv")).expect("radv");
|
||||
control_plan(None, stage(), 2, &profile("amd-780m-radv")).expect("radv");
|
||||
}
|
||||
|
||||
/// A fragment stage reading `[[primitive_id]]` behind an evaluation stage is not implemented.
|
||||
|
||||
@@ -197,7 +197,7 @@ fn color_writes_are_the_pipelines() {
|
||||
ColorAttachmentDescriptor::new(PixelFormat::RGBA16Float),
|
||||
false,
|
||||
);
|
||||
for stem in ["lavapipe", "amd-rdna3-radv", "moltenvk-m3"] {
|
||||
for stem in ["lavapipe", "amd-780m-radv", "moltenvk-m3"] {
|
||||
let p = profile(stem);
|
||||
let writes = |inputs: &LinkInputs| match inputs {
|
||||
LinkInputs::Render(r) => {
|
||||
@@ -989,7 +989,7 @@ fn static_strides_under_dynamic_strides_cover_their_attributes() {
|
||||
fn graphics_state_maps_the_descriptor() {
|
||||
use crate::pipeline::descriptor::ColorAttachmentDescriptor;
|
||||
// Profiles whose format tables list the attachment formats (the floor profiles carry none).
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-rdna3-radv"] {
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-780m-radv"] {
|
||||
let p = profile(stem);
|
||||
let mut r = RenderLinkInputs::new();
|
||||
r.color_attachments[0] = Some(ColorAttachmentDescriptor::new(PixelFormat::RGBA8Unorm));
|
||||
@@ -1297,7 +1297,7 @@ fn a_framebuffer_fetch_links_into_the_sample_count_it_was_compiled_for() {
|
||||
let sa = artifact(per_sample, None);
|
||||
let plain = artifact(iface(fr, vec![], vec![]), None);
|
||||
let recompile = Error::NeedsInput(RuntimeInput::Multisampled);
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-rdna3-radv"] {
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-780m-radv"] {
|
||||
let p = profile(stem);
|
||||
let mut r = RenderLinkInputs::new();
|
||||
r.color_attachments[0] = Some(ColorAttachmentDescriptor::new(PixelFormat::RGBA8Unorm));
|
||||
@@ -1363,7 +1363,7 @@ fn a_color_attachment_the_fragment_does_not_write_keeps_its_contents() {
|
||||
let u4 = io_ty(IoNumeric::Uint, 4);
|
||||
let partial = ColorWriteMask::RED | ColorWriteMask::ALPHA;
|
||||
let none = vk::ColorComponentFlags::empty();
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-rdna3-radv"] {
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-780m-radv"] {
|
||||
let p = profile(stem);
|
||||
let mut r = RenderLinkInputs::new();
|
||||
let mut masked = ColorAttachmentDescriptor::new(PixelFormat::RGBA8Unorm);
|
||||
|
||||
@@ -557,7 +557,7 @@ entry:
|
||||
|
||||
/// A uniform view is sized for a descriptor base aligned to `max(minUniformBufferOffsetAlignment,
|
||||
/// 16)`. A window starting at byte 0 is bound from the multiple of that alignment at or below the
|
||||
/// bind offset, so its residual is any value below it: on `amd-rdna3-radv` (an alignment of 4)
|
||||
/// bind offset, so its residual is any value below it: on `amd-780m-radv` (an alignment of 4)
|
||||
/// residuals 12 and 15 put the struct's last byte in words 4 and 5, past the 16 bytes an alignment
|
||||
/// of 4 alone would declare. The view covers them and reads both ends exactly, with
|
||||
/// `uniformBufferStandardLayout` (`u32[]`) and without (`uvec4[]`).
|
||||
@@ -567,7 +567,7 @@ fn a_uniform_view_covers_every_residual_of_a_sixteen_aligned_base() {
|
||||
return;
|
||||
};
|
||||
let data = [0x5Au8, 8, 7, 6, 5, 0xC3];
|
||||
for stem in ["amd-rdna3-radv", "moltenvk-m3"] {
|
||||
for stem in ["amd-780m-radv", "moltenvk-m3"] {
|
||||
for standard in [true, false] {
|
||||
let what = format!("{stem} standard={standard}");
|
||||
let p = profile_with(stem, true, standard);
|
||||
@@ -2195,7 +2195,7 @@ fn every_view_of_a_written_slot_stays_writable() {
|
||||
let profiles: [(&str, &[VkFeature]); 4] = [
|
||||
("moltenvk-m3", &[]),
|
||||
("lavapipe", &[]),
|
||||
("amd-rdna3-radv", &[]),
|
||||
("amd-780m-radv", &[]),
|
||||
("moltenvk-m3", &[VkFeature::StorageBuffer8BitAccess]),
|
||||
];
|
||||
for (stem, removed) in profiles {
|
||||
|
||||
@@ -99,7 +99,7 @@ fn moltenvk() -> DeviceProfile {
|
||||
/// narrowed to 64 (the `Cluster32` tier).
|
||||
fn wave64() -> DeviceProfile {
|
||||
let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../metal2vulkan-validation/profiles/amd-rdna3-radv.json");
|
||||
.join("../metal2vulkan-validation/profiles/amd-780m-radv.json");
|
||||
let text = std::fs::read_to_string(&path).expect("read the RDNA3 description");
|
||||
let narrowed = text.replace("\"minSubgroupSize\": 32", "\"minSubgroupSize\": 64");
|
||||
assert_ne!(narrowed, text, "the description names minSubgroupSize");
|
||||
|
||||
@@ -34,7 +34,7 @@ use crate::pipeline::testing::{
|
||||
use crate::spirv::interp::{run, Buffer, Config, Resources};
|
||||
|
||||
/// The profiles: the M1 set plus one with 64-bit floats.
|
||||
const PROFILES: [&str; 3] = ["moltenvk-m3", "runtime-floor", "amd-rdna3-radv"];
|
||||
const PROFILES: [&str; 3] = ["moltenvk-m3", "runtime-floor", "amd-780m-radv"];
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
enum Need {
|
||||
@@ -1465,9 +1465,9 @@ fn wide_divisions_share_one_routine_per_form() {
|
||||
0,
|
||||
),
|
||||
(
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
profile(
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
crate::device::DevicePolicy::RESIDENT_TABLES,
|
||||
)
|
||||
.expect("profile"),
|
||||
@@ -1649,7 +1649,7 @@ fn a_half_fused_multiply_add_is_the_devices_16_bit_fma_on_from_queries() {
|
||||
};
|
||||
let mut sixteen = Vec::new();
|
||||
for stem in [
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"intel-irisxe-anv",
|
||||
"nvidia-rtx50-linux",
|
||||
"lavapipe",
|
||||
@@ -1693,7 +1693,7 @@ fn a_half_fused_multiply_add_is_the_devices_16_bit_fma_on_from_queries() {
|
||||
}
|
||||
assert_eq!(
|
||||
sixteen,
|
||||
["amd-rdna3-radv", "intel-irisxe-anv", "nvidia-rtx50-linux"],
|
||||
["amd-780m-radv", "intel-irisxe-anv", "nvidia-rtx50-linux"],
|
||||
"the profiles under the 16-bit float controls"
|
||||
);
|
||||
}
|
||||
@@ -1821,7 +1821,7 @@ fn dot_is_the_devices_op_dot_on_every_profile() {
|
||||
&& w.get(4) == Some(&(crate::spv::GlslStd450Op::Fma as u32))
|
||||
}) + count_op(words, crate::spv::Op::FmaKHR)
|
||||
};
|
||||
for stem in ["moltenvk-m3", "amd-rdna3-radv", "lavapipe", "runtime-floor"] {
|
||||
for stem in ["moltenvk-m3", "amd-780m-radv", "lavapipe", "runtime-floor"] {
|
||||
{
|
||||
let policy = DevicePolicy::RESIDENT_TABLES;
|
||||
let p = profile(stem, policy).expect("profile");
|
||||
@@ -2729,7 +2729,7 @@ fn narrow_float_module_growth_is_bounded() {
|
||||
/// `shaderFloat16` whose float controls do not make the conversion Metal's (moltenvk-m3) rounds
|
||||
/// through the conversion of `x` itself and its widening, declaring no 16-bit float mode or
|
||||
/// `RoundingModeRTE`. A profile whose float controls make that conversion Metal's
|
||||
/// (amd-rdna3-radv) holds the chain at 16 bits (`spirv::half_hold`): the `float` sum it narrows
|
||||
/// (amd-780m-radv) holds the chain at 16 bits (`spirv::half_hold`): the `float` sum it narrows
|
||||
/// is the 16-bit sum, each operation reads the previous one's 16-bit result, and the last is
|
||||
/// widened once, in an entry declaring `RoundingModeRTE`, `DenormPreserve` and
|
||||
/// `SignedZeroInfNanPreserve` for 16 bits and the modes its independence ties to them
|
||||
@@ -2870,7 +2870,7 @@ fn half_rounding_follows_the_operation() {
|
||||
/// (`NativeHalfQuantize`); an integer converted to `half` rounds by integer arithmetic with
|
||||
/// neither. On a profile whose driver computes a 16-bit `Fma` as Metal's `half` `fma`
|
||||
/// (moltenvk-m3), a fused sum rounds nothing itself: the device's `Fma` rounds it. On a profile
|
||||
/// with `shaderFloat16` (moltenvk-m3, amd-rdna3-radv) no rounding holds either: each is the
|
||||
/// with `shaderFloat16` (moltenvk-m3, amd-780m-radv) no rounding holds either: each is the
|
||||
/// conversion and its widening.
|
||||
#[test]
|
||||
fn a_half_rounding_without_float16_is_the_quantize_alone() {
|
||||
@@ -4624,7 +4624,7 @@ fn mix_is_the_devices_fmix_on_every_profile() {
|
||||
for stem in PROFILES
|
||||
.iter()
|
||||
.copied()
|
||||
.chain(["lavapipe", "amd-rdna3-radv"])
|
||||
.chain(["lavapipe", "amd-780m-radv"])
|
||||
{
|
||||
let p = profile(stem, crate::device::DevicePolicy::RESIDENT_TABLES).expect("profile");
|
||||
for kk in &ks {
|
||||
|
||||
@@ -695,7 +695,7 @@ fn int64_buffer_atomics_are_exact_through_device_addresses() {
|
||||
for stem in [
|
||||
"lavapipe",
|
||||
"nvidia-pascal-linux",
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"intel-arl-anv",
|
||||
] {
|
||||
let prof = p(stem);
|
||||
@@ -756,7 +756,7 @@ fn result_less_ulong_min_max_atomics_are_exact() {
|
||||
for stem in [
|
||||
"lavapipe",
|
||||
"nvidia-pascal-linux",
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"intel-arl-anv",
|
||||
] {
|
||||
let prof = p(stem);
|
||||
|
||||
@@ -329,7 +329,7 @@ fn a_bias_without_the_samplers_own_is_the_bias_operand() {
|
||||
fixtures.push((what, bc, "k"));
|
||||
}
|
||||
}
|
||||
for stem in ["moltenvk-m3", "amd-rdna3-radv", "lavapipe", "runtime-floor"] {
|
||||
for stem in ["moltenvk-m3", "amd-780m-radv", "lavapipe", "runtime-floor"] {
|
||||
let prof = p(stem);
|
||||
let property = VkProperty::DeviceSampling;
|
||||
for (what, bc, entry) in &fixtures {
|
||||
@@ -361,12 +361,12 @@ fn a_bias_without_the_samplers_own_is_the_bias_operand() {
|
||||
|
||||
/// Through a constexpr sampler with a bias of its own, a constant bias whose sum with the
|
||||
/// sampler's is within the limit is the `Bias` operand alone (no derivatives, no note); past it,
|
||||
/// the scaled derivatives alone. The sampler's own bias counts: on amd-rdna3-radv (limit 16) a
|
||||
/// the scaled derivatives alone. The sampler's own bias counts: on amd-780m-radv (limit 16) a
|
||||
/// constexpr sampler bias of 10 with a shader bias of 4 is within, with 8 or -30 past. (MoltenVK's portability subset withholds a sampler bias, so it refuses such
|
||||
/// a sampler.)
|
||||
#[test]
|
||||
fn a_constant_bias_is_decided_at_compile_time_with_the_samplers_own() {
|
||||
let radv = p("amd-rdna3-radv");
|
||||
let radv = p("amd-780m-radv");
|
||||
assert_eq!(max_bias(&radv), 16.0);
|
||||
// Half 10.0 is 0x4900.
|
||||
for (what, bias, half_bias, past) in [
|
||||
@@ -493,7 +493,7 @@ const WRITTEN_TAPS: u32 = 2;
|
||||
/// blending the sampler's linear mip filter's two levels), `AnisotropicFilter` recorded.
|
||||
#[test]
|
||||
fn an_anisotropic_sampler_takes_the_axis_gradients() {
|
||||
for stem in ["amd-rdna3-radv", "lavapipe"] {
|
||||
for stem in ["amd-780m-radv", "lavapipe"] {
|
||||
for withheld in [false, true] {
|
||||
let prof = {
|
||||
let mut desc = crate::pipeline::testing::description(stem).expect(stem);
|
||||
|
||||
@@ -171,7 +171,7 @@ fn unrestricted(p: &DeviceProfile) -> bool {
|
||||
#[test]
|
||||
fn the_extension_is_read_from_the_device_description() {
|
||||
for (stem, listed) in [
|
||||
("amd-rdna3-radv", true),
|
||||
("amd-780m-radv", true),
|
||||
("lavapipe", true),
|
||||
("moltenvk-m3", false),
|
||||
("intel-irisxe-anv", false),
|
||||
@@ -192,7 +192,7 @@ fn depth_comparisons_record_the_restricted_range_without_the_extension() {
|
||||
let profiles = [
|
||||
(
|
||||
"radv",
|
||||
profile("amd-rdna3-radv", DevicePolicy::RESIDENT_TABLES).expect("radv"),
|
||||
profile("amd-780m-radv", DevicePolicy::RESIDENT_TABLES).expect("radv"),
|
||||
),
|
||||
(
|
||||
"anv",
|
||||
|
||||
@@ -1436,7 +1436,6 @@ fn the_generated_commands_path_holds_to_what_the_device_states() {
|
||||
"amd-780m-hawkpoint-radv",
|
||||
"amd-780m-radv",
|
||||
"amd-rdna2-apu-radv",
|
||||
"amd-rdna3-radv",
|
||||
"gate-lavapipe",
|
||||
"gate-lavapipe-x86_64",
|
||||
"intel-arl-anv",
|
||||
|
||||
@@ -42,7 +42,7 @@ use crate::spirv::testing::barriers::workgroup_barriers;
|
||||
const PROFILES: [&str; 6] = [
|
||||
"moltenvk-m3",
|
||||
"intel-irisxe-rplp-anv",
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"nvidia-rtx50-linux",
|
||||
"lavapipe",
|
||||
"runtime-floor",
|
||||
|
||||
@@ -39,7 +39,7 @@ use crate::vk;
|
||||
|
||||
/// The committed profiles of the venues: each desktop driver's and MoltenVK's.
|
||||
const VENUES: [&str; 5] = [
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"intel-irisxe-rplp-anv",
|
||||
"lavapipe",
|
||||
"moltenvk-m3",
|
||||
|
||||
@@ -115,7 +115,7 @@ fn a_depth_output_is_clamped_where_vulkan_stores_it_unclamped() {
|
||||
return;
|
||||
};
|
||||
let inputs = LoweringInputs::new();
|
||||
for stem in ["amd-rdna3-radv", "lavapipe", "nvidia-rtx50-linux"] {
|
||||
for stem in ["amd-780m-radv", "lavapipe", "nvidia-rtx50-linux"] {
|
||||
let (unrestricted, restricted) = (profile(stem, true), profile(stem, false));
|
||||
for entry in ["rfb_full", "rfb_position"] {
|
||||
let with = compile_with(&bc, entry, &unrestricted, &inputs)
|
||||
@@ -163,7 +163,7 @@ fn a_positive_nan_depth_kills_on_every_profile() {
|
||||
};
|
||||
let inputs = LoweringInputs::new();
|
||||
for stem in [
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"lavapipe",
|
||||
"nvidia-rtx50-linux",
|
||||
"moltenvk-m3",
|
||||
@@ -200,7 +200,7 @@ fn a_depth_clamp_range_variant_clamps_the_depth_to_the_draws_range() {
|
||||
let mut ranged = LoweringInputs::new();
|
||||
ranged.depth_clamp_range = true;
|
||||
for stem in [
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"lavapipe",
|
||||
"nvidia-rtx50-linux",
|
||||
"moltenvk-m3",
|
||||
|
||||
@@ -31,7 +31,7 @@ fn fixture() -> Option<Vec<u8>> {
|
||||
}
|
||||
}
|
||||
|
||||
const PROFILES: [&str; 3] = ["lavapipe", "amd-rdna3-radv", "moltenvk-m3"];
|
||||
const PROFILES: [&str; 3] = ["lavapipe", "amd-780m-radv", "moltenvk-m3"];
|
||||
|
||||
/// Kernel `entry`'s pipeline on profile `stem`.
|
||||
fn compiled(library: &Library, stem: &str, entry: &str) -> Result<(), Error> {
|
||||
|
||||
@@ -228,7 +228,7 @@ fn a_render_pipeline_plans_and_draws() {
|
||||
};
|
||||
let mut planned = 0;
|
||||
let mut narrowed = 0;
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-rdna3-radv"] {
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-780m-radv"] {
|
||||
let dev = device(stem);
|
||||
let p = render_pipeline(&dev, &bc).unwrap_or_else(|e| panic!("{stem}: {e}"));
|
||||
let state = render_state(16);
|
||||
@@ -678,7 +678,7 @@ fn an_unbindable_vertex_buffer_is_pulled_in_the_variant() {
|
||||
instance_count: 2,
|
||||
base_instance: 5,
|
||||
};
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-rdna3-radv"] {
|
||||
for stem in ["moltenvk-m3", "lavapipe", "amd-780m-radv"] {
|
||||
let dev = device(stem);
|
||||
let d = render_descriptor(&bc);
|
||||
let p = dev
|
||||
|
||||
@@ -13,7 +13,7 @@ use crate::pipeline::testing::{
|
||||
};
|
||||
|
||||
const PROFILES: [&str; 4] = [
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"nvidia-rtx5080-laptop",
|
||||
"lavapipe",
|
||||
"moltenvk-m3",
|
||||
|
||||
@@ -134,7 +134,6 @@ fn a_per_lane_constant_read_takes_its_storage_view_on_every_device() {
|
||||
("nvidia-rtx5080-laptop", Some(0x2204)),
|
||||
("nvidia-rtx5080-laptop", Some(0x1e87)),
|
||||
("amd-780m-radv", None),
|
||||
("amd-rdna3-radv", None),
|
||||
] {
|
||||
let p = profile(stem, id);
|
||||
for (entry, form) in [
|
||||
|
||||
@@ -40,7 +40,7 @@ use crate::spirv::testing::{check_words_valid, committed_profiles, spirv_dis};
|
||||
use crate::vk;
|
||||
|
||||
/// Profiles whose format tables list the fixture's vertex and attachment formats.
|
||||
const PROFILES: [&str; 3] = ["moltenvk-m3", "lavapipe", "amd-rdna3-radv"];
|
||||
const PROFILES: [&str; 3] = ["moltenvk-m3", "lavapipe", "amd-780m-radv"];
|
||||
|
||||
fn assemble(name: &str) -> Option<Vec<u8>> {
|
||||
match llvm_assemble(&engine_dir().join(name)) {
|
||||
@@ -635,7 +635,7 @@ fn half_float_writes_note_the_nan_encoding_where_the_device_rewrites_it() {
|
||||
for (stem, float_note, half_note) in [
|
||||
("lavapipe", true, true),
|
||||
("gate-lavapipe-x86_64", true, true),
|
||||
("amd-rdna3-radv", true, true),
|
||||
("amd-780m-radv", true, true),
|
||||
("intel-irisxe-rplp-anv", true, true),
|
||||
("nvidia-rtx50-linux", true, true),
|
||||
("nvidia-rtx5080-laptop", true, true),
|
||||
|
||||
@@ -21,7 +21,7 @@ use crate::pipeline::testing::{
|
||||
use crate::spirv::interp::{run, Buffer, Config, Resources};
|
||||
use crate::spv::Op;
|
||||
|
||||
const PROFILES: [&str; 4] = ["amd-rdna3-radv", "lavapipe", "runtime-floor", "moltenvk-m3"];
|
||||
const PROFILES: [&str; 4] = ["amd-780m-radv", "lavapipe", "runtime-floor", "moltenvk-m3"];
|
||||
|
||||
/// The kernels: name, and the latch's attachment.
|
||||
const KERNELS: [(&str, &str); 6] = [
|
||||
|
||||
@@ -21,7 +21,7 @@ use crate::pipeline::testing::{
|
||||
use crate::pipeline::PrecisionNote;
|
||||
use crate::spirv::interp::{run, Buffer, Config, Resources};
|
||||
|
||||
const PROFILES: [&str; 3] = ["moltenvk-m3", "runtime-floor", "amd-rdna3-radv"];
|
||||
const PROFILES: [&str; 3] = ["moltenvk-m3", "runtime-floor", "amd-780m-radv"];
|
||||
|
||||
/// Metal's answers (`nofastmath-offline`): `(x, frexp mantissa, frexp
|
||||
/// exponent, ilogb)`.
|
||||
|
||||
@@ -25,7 +25,7 @@ use crate::pipeline::testing::{
|
||||
use crate::spirv::interp::{run, Buffer, Config, Resources};
|
||||
use crate::spv::Op;
|
||||
|
||||
const PROFILES: [&str; 4] = ["amd-rdna3-radv", "lavapipe", "runtime-floor", "moltenvk-m3"];
|
||||
const PROFILES: [&str; 4] = ["amd-780m-radv", "lavapipe", "runtime-floor", "moltenvk-m3"];
|
||||
|
||||
/// Two loops over a private `[4 x i32]`, each counted by an `i<bits>` whose increment carries
|
||||
/// `flag`: the first stores `3 * i`, the second sums the elements (18).
|
||||
|
||||
@@ -72,7 +72,7 @@ fn accesses_up_to_2_gib_land_at_their_own_words() {
|
||||
};
|
||||
for (stem, p) in identity_profiles()
|
||||
.iter()
|
||||
.filter(|(s, _)| s == "lavapipe" || s == "amd-rdna3-radv")
|
||||
.filter(|(s, _)| s == "lavapipe" || s == "amd-780m-radv")
|
||||
{
|
||||
let (_, plan, module) =
|
||||
compile_kept(&bc, FIXTURE, p).unwrap_or_else(|e| panic!("{stem}: {e}"));
|
||||
|
||||
@@ -43,7 +43,7 @@ use crate::spirv::testing::barriers::workgroup_barriers;
|
||||
/// and one whose simdgroups are emulated (`lavapipe`).
|
||||
const PROFILES: [&str; 5] = [
|
||||
"moltenvk-m3",
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"nvidia-rtx50-linux",
|
||||
"intel-irisxe-rplp-anv",
|
||||
"lavapipe",
|
||||
|
||||
@@ -181,7 +181,7 @@ fn a_pointer_copied_into_a_pool_as_data_answers_as_metal_or_is_refused() {
|
||||
#[test]
|
||||
fn a_context_s_argument_buffer_beside_a_pool_compiles() {
|
||||
let Some(bc) = fixture() else { return };
|
||||
for stem in ["lavapipe", "amd-rdna3-radv", "moltenvk-m3"] {
|
||||
for stem in ["lavapipe", "amd-780m-radv", "moltenvk-m3"] {
|
||||
let p = profile(stem, DevicePolicy::RESIDENT_TABLES).expect("profile");
|
||||
let a = compile(&bc, "pooled_context", &p).unwrap_or_else(|e| panic!("{stem}: {e}"));
|
||||
link_and_validate(&a, &p).unwrap_or_else(|e| panic!("{stem}: L3: {e}"));
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
//! keeps no private memory.
|
||||
//!
|
||||
//! - Every device's Function storage is the floor, 16 KiB, which holds with no note: an array of
|
||||
//! 16 KiB, the constant table, a kernel without private memory (`amd-rdna3-radv`). Past it a
|
||||
//! 16 KiB, the constant table, a kernel without private memory (`amd-780m-radv`). Past it a
|
||||
//! kernel is refused needing it, and a vertex or fragment function runs, recording
|
||||
//! `PrecisionNote::FunctionStorageAssumed`, up to the 192 KiB Metal was measured to hold; 64
|
||||
//! bytes more is refused needing that.
|
||||
@@ -208,7 +208,7 @@ fn notes_on(
|
||||
/// alike. A kernel of 4112 words does not fit.
|
||||
#[test]
|
||||
fn private_memory_within_the_floor_records_nothing() {
|
||||
let stem = "amd-rdna3-radv";
|
||||
let stem = "amd-780m-radv";
|
||||
let assumed = PrecisionNote::FunctionStorageAssumed;
|
||||
for entry in ["words", "vwords", "fwords", "lookup", "plain"] {
|
||||
let Some(fits) = notes(stem, 4096, entry) else {
|
||||
@@ -227,7 +227,7 @@ fn private_memory_within_the_floor_records_nothing() {
|
||||
/// is refused needing it, of the floor's 16 KiB.
|
||||
#[test]
|
||||
fn render_stages_past_the_floor_of_a_device_not_measured_run_noted_up_to_metal_s() {
|
||||
let stem = "amd-rdna3-radv";
|
||||
let stem = "amd-780m-radv";
|
||||
let assumed = PrecisionNote::FunctionStorageAssumed;
|
||||
for entry in ["vwords", "fwords"] {
|
||||
for n in [4352, 25600, 49152] {
|
||||
@@ -313,7 +313,7 @@ fn an_array_reached_only_at_constant_indices_counts_nothing() {
|
||||
!fits.contains(&PrecisionNote::FunctionStorageAssumed),
|
||||
"{fits:?}"
|
||||
);
|
||||
let floor = notes("amd-rdna3-radv", n, "fixed").expect("assembled");
|
||||
let floor = notes("amd-780m-radv", n, "fixed").expect("assembled");
|
||||
let floor = floor.unwrap_or_else(|e| panic!("on the floor: {e}"));
|
||||
assert!(
|
||||
!floor.contains(&PrecisionNote::FunctionStorageAssumed),
|
||||
@@ -391,7 +391,7 @@ fn an_array_its_bounded_indices_reach_in_part_keeps_only_that_part() {
|
||||
return;
|
||||
};
|
||||
let unbounded = reached("add i32 %gid, 0").expect("assembled");
|
||||
for stem in ["nvidia-rtx5080-laptop", "amd-rdna3-radv"] {
|
||||
for stem in ["nvidia-rtx5080-laptop", "amd-780m-radv"] {
|
||||
let p = profile(stem, crate::device::DevicePolicy::RESIDENT_TABLES).expect("profile");
|
||||
let a = compile(&bounded, "reached", &p).unwrap_or_else(|e| panic!("{stem}: {e}"));
|
||||
link_and_validate(&a, &p).unwrap_or_else(|e| panic!("{stem}: L3: {e}"));
|
||||
@@ -436,7 +436,7 @@ fn a_tile_kernel_holds_only_the_corner_its_tile_sizes_reach() {
|
||||
let none = FunctionConstantValues::defaults();
|
||||
let linked = [LinkedSource::new("postfix", &functions, &none)];
|
||||
let p = profile(
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
crate::device::DevicePolicy::RESIDENT_TABLES,
|
||||
)
|
||||
.expect("profile");
|
||||
|
||||
@@ -872,7 +872,7 @@ fn stacks_past_the_device_s_function_storage_are_refused() {
|
||||
let Some(bitcode) = module() else {
|
||||
return;
|
||||
};
|
||||
let (nv, radv, kib) = ("nvidia-rtx5080-laptop", "amd-rdna3-radv", 1024);
|
||||
let (nv, radv, kib) = ("nvidia-rtx5080-laptop", "amd-780m-radv", 1024);
|
||||
let cases = [
|
||||
(nv, DIRECT, 2048, 2049 * 8, 16 * kib),
|
||||
(nv, TABLE, 341, 2 * 3 * 342 * 8, 16 * kib),
|
||||
|
||||
@@ -41,7 +41,7 @@ fn fixture(stem: &str) -> Option<Vec<u8>> {
|
||||
}
|
||||
|
||||
/// The profiles the tests compile for: with `fragmentShaderBarycentric` (`BaryCoordKHR`).
|
||||
const PROFILES: [&str; 3] = ["moltenvk-m3", "amd-rdna3-radv", "nvidia-rtx50-linux"];
|
||||
const PROFILES: [&str; 3] = ["moltenvk-m3", "amd-780m-radv", "nvidia-rtx50-linux"];
|
||||
|
||||
/// Link `a` alone, relocate it, and run L3; its relocated words.
|
||||
fn validate(a: &FunctionArtifact, p: &DeviceProfile) -> Vec<u32> {
|
||||
@@ -201,7 +201,7 @@ fn a_rotated_draw_runs_the_rotated_weights_variant() {
|
||||
rotated_weights: true,
|
||||
..Default::default()
|
||||
};
|
||||
for stem in ["moltenvk-m3", "amd-rdna3-radv"] {
|
||||
for stem in ["moltenvk-m3", "amd-780m-radv"] {
|
||||
let path = Path::new(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../metal2vulkan-validation/profiles")
|
||||
.join(format!("{stem}.json"));
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//! The owned fixtures `engine/simd_ops` and `engine/quad_shuffle` go through the whole
|
||||
//! pipeline and run on the CPU interpreter with a modelled subgroup (the CI tier): the `Direct`
|
||||
//! tier at 32 lanes on `moltenvk-m3`, and the `Cluster32` tier at 64 lanes on a wave64-only
|
||||
//! device (the committed `amd-rdna3-radv` description with `minSubgroupSize` 64, the shape of
|
||||
//! device (the committed `amd-780m-radv` description with `minSubgroupSize` 64, the shape of
|
||||
//! AMD GCN). Every kernel's output is checked against expectations derived from
|
||||
//! `thread_index_in_threadgroup` alone, in both scheduling orders, for several local sizes and
|
||||
//! for divergent lanes. On every committed profile each kernel compiles, links, and passes L3,
|
||||
@@ -48,7 +48,7 @@ fn assemble(stem: &str) -> Option<Vec<u8>> {
|
||||
/// narrowed to 64 (the `Cluster32` tier).
|
||||
pub(super) fn wave64() -> DeviceProfile {
|
||||
let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../metal2vulkan-validation/profiles/amd-rdna3-radv.json");
|
||||
.join("../metal2vulkan-validation/profiles/amd-780m-radv.json");
|
||||
let text = std::fs::read_to_string(&path).expect("read the RDNA3 description");
|
||||
let narrowed = text.replace("\"minSubgroupSize\": 32", "\"minSubgroupSize\": 64");
|
||||
assert_ne!(narrowed, text, "the description names minSubgroupSize");
|
||||
|
||||
@@ -2631,7 +2631,7 @@ fn a_one_row_dispatch_drops_the_lockstep_simdgroup_barriers() {
|
||||
/// subgroup size range narrowed to 64, where a simdgroup is half a subgroup (`Cluster32`).
|
||||
fn wave64() -> Device {
|
||||
let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../metal2vulkan-validation/profiles/amd-rdna3-radv.json");
|
||||
.join("../metal2vulkan-validation/profiles/amd-780m-radv.json");
|
||||
let text = std::fs::read_to_string(path).expect("profile");
|
||||
let narrowed = text.replace("\"minSubgroupSize\": 32", "\"minSubgroupSize\": 64");
|
||||
assert_ne!(narrowed, text, "the description names minSubgroupSize");
|
||||
|
||||
@@ -2314,7 +2314,7 @@ fn a_pressured_kernel_takes_the_emulated_tier_in_place_of_the_widest_mode() {
|
||||
assert_eq!(plan.subgroup.size, None, "pressured");
|
||||
assert!(!plan.subgroup.full_subgroups, "pressured");
|
||||
assert!(plan.families.simd.predication.is_some(), "pressured");
|
||||
for other in ["nvidia-rtx5080-laptop", "amd-rdna3-radv"] {
|
||||
for other in ["nvidia-rtx5080-laptop", "amd-780m-radv"] {
|
||||
direct("pressured", &pressured, other);
|
||||
}
|
||||
// 48 KiB, the profile's `maxComputeSharedMemorySize`: no room for a simdgroup's 128 bytes.
|
||||
|
||||
@@ -81,7 +81,7 @@ fn moltenvk() -> DeviceProfile {
|
||||
/// narrowed to 64 (the `Cluster32` tier).
|
||||
fn wave64() -> DeviceProfile {
|
||||
let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../metal2vulkan-validation/profiles/amd-rdna3-radv.json");
|
||||
.join("../metal2vulkan-validation/profiles/amd-780m-radv.json");
|
||||
let text = std::fs::read_to_string(&path).expect("read the RDNA3 description");
|
||||
let narrowed = text.replace("\"minSubgroupSize\": 32", "\"minSubgroupSize\": 64");
|
||||
assert_ne!(narrowed, text, "the description names minSubgroupSize");
|
||||
|
||||
@@ -431,7 +431,7 @@ fn check(dispatches: &[Dispatch<'_>]) {
|
||||
/// narrowed to 64, whose kernels' simdgroups are 32-lane clusters (`Cluster32`).
|
||||
fn wave64() -> DeviceProfile {
|
||||
let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../metal2vulkan-validation/profiles/amd-rdna3-radv.json");
|
||||
.join("../metal2vulkan-validation/profiles/amd-780m-radv.json");
|
||||
let text = std::fs::read_to_string(&path).expect("read the RDNA3 description");
|
||||
let narrowed = text.replace("\"minSubgroupSize\": 32", "\"minSubgroupSize\": 64");
|
||||
assert_ne!(narrowed, text, "the description names minSubgroupSize");
|
||||
@@ -1059,7 +1059,7 @@ fn multiply_adds_without_fast_flags_keep_their_signed_zeros() {
|
||||
}
|
||||
}
|
||||
let (mut declared, mut noted) = (0, 0);
|
||||
for stem in ["lavapipe", "runtime-floor", "moltenvk-m3", "amd-rdna3-radv"] {
|
||||
for stem in ["lavapipe", "runtime-floor", "moltenvk-m3", "amd-780m-radv"] {
|
||||
let p = emulating(stem);
|
||||
let supported = p.fields().float_controls.f32.signed_zero_inf_nan_preserve;
|
||||
for (name, bc, needs) in &kernels {
|
||||
|
||||
@@ -956,7 +956,7 @@ fn a_fragment_slot_bound_in_a_twin_joins_the_render_variant() {
|
||||
};
|
||||
let (mut ran, mut twinned) = (0, 0);
|
||||
for (stem, dev) in devices() {
|
||||
if !["lavapipe", "moltenvk-m3", "amd-rdna3-radv"].contains(&stem.as_str()) {
|
||||
if !["lavapipe", "moltenvk-m3", "amd-780m-radv"].contains(&stem.as_str()) {
|
||||
continue;
|
||||
}
|
||||
ran += 1;
|
||||
|
||||
@@ -892,7 +892,7 @@ fn a_half_color_output_records_its_precision() {
|
||||
return;
|
||||
};
|
||||
// Profiles with sample-rate shading, which the function's sample input needs.
|
||||
for stem in ["moltenvk-m3", "amd-rdna3-radv", "lavapipe"] {
|
||||
for stem in ["moltenvk-m3", "amd-780m-radv", "lavapipe"] {
|
||||
let p = prof(stem);
|
||||
let half = compile(&bc, "stage_io_fragment_point", &p).expect("half");
|
||||
assert!(!half.precision.contains(&fast), "{stem}");
|
||||
@@ -976,7 +976,7 @@ fn a_half_color_output_is_declared_32_bit_on_every_device() {
|
||||
use crate::lower::select::LowerInputs;
|
||||
use crate::pipeline::testing::compile_with;
|
||||
let Some(bc) = fixture() else { return };
|
||||
for stem in ["moltenvk-m3", "amd-rdna3-radv", "lavapipe"] {
|
||||
for stem in ["moltenvk-m3", "amd-780m-radv", "lavapipe"] {
|
||||
let p = prof(stem);
|
||||
let half = compile(&bc, "stage_io_fragment_point", &p).expect("half");
|
||||
let words = validate(&half, &alone(&half, &p), &p);
|
||||
@@ -1045,7 +1045,7 @@ fn a_half_output_without_fast_math_is_noted_where_its_attachment_blends() {
|
||||
("one and one", all, blend(F::ONE, F::ONE, O::ADD), true),
|
||||
("min", all, blend(F::ONE, F::ONE, O::MIN), true),
|
||||
];
|
||||
for stem in ["moltenvk-m3", "amd-rdna3-radv", "lavapipe"] {
|
||||
for stem in ["moltenvk-m3", "amd-780m-radv", "lavapipe"] {
|
||||
let p = prof(stem);
|
||||
let f = compile(&disabled, "stage_io_fragment_point", &p).expect("half");
|
||||
assert_eq!(f.interface.io.half_blend_colors, [0], "{stem}");
|
||||
@@ -1098,7 +1098,7 @@ fn a_half_output_with_fast_math_is_noted_where_its_attachment_stores() {
|
||||
("no channel written", none, None, false),
|
||||
("no channel written, blended", none, over, false),
|
||||
];
|
||||
for stem in ["moltenvk-m3", "amd-rdna3-radv", "lavapipe"] {
|
||||
for stem in ["moltenvk-m3", "amd-780m-radv", "lavapipe"] {
|
||||
let p = prof(stem);
|
||||
let f = compile(&bc, "stage_io_fragment_point", &p).expect("half");
|
||||
assert_eq!(f.interface.io.half_fast_colors, [0], "{stem}");
|
||||
|
||||
@@ -1068,7 +1068,7 @@ fn what_the_control_stage_cannot_do_is_refused_typed() {
|
||||
}
|
||||
other => panic!("{:?}", other.map(|_| ())),
|
||||
}
|
||||
let radv = device("amd-rdna3-radv");
|
||||
let radv = device("amd-780m-radv");
|
||||
let p = radv
|
||||
.compile_render_pipeline(&d, &budget)
|
||||
.expect("radv has multiview tessellation");
|
||||
|
||||
@@ -638,7 +638,7 @@ fn a_device_lacking_only_the_r64_atomic_format_bit_refuses_typed() {
|
||||
return;
|
||||
};
|
||||
let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../metal2vulkan-validation/profiles/amd-rdna3-radv.json");
|
||||
.join("../metal2vulkan-validation/profiles/amd-780m-radv.json");
|
||||
let text = std::fs::read_to_string(path).expect("profile");
|
||||
for (usage, buffer) in [
|
||||
(FormatUsage::StorageImageAtomic, false),
|
||||
@@ -827,7 +827,7 @@ fn a_swizzled_texture_buffer_read_as_ulong_is_refused() {
|
||||
let Some(bc) = fixture("unk_ulong_rw") else {
|
||||
return;
|
||||
};
|
||||
let dev = device("amd-rdna3-radv");
|
||||
let dev = device("amd-780m-radv");
|
||||
let rw = pipeline(&dev, &bc, "unk_ulong_rw");
|
||||
let state = |swizzle| {
|
||||
let mut t = ulong_state(&[]);
|
||||
@@ -869,7 +869,7 @@ fn the_binder_views_an_atomically_updated_ulong_texture_as_r64() {
|
||||
let Some(bc) = fixture("unk_ulong_atomics") else {
|
||||
return;
|
||||
};
|
||||
let dev = device("amd-rdna3-radv");
|
||||
let dev = device("amd-780m-radv");
|
||||
let rw = pipeline(&dev, &bc, "unk_ulong_atomic_rw");
|
||||
let plan = rw
|
||||
.plan(
|
||||
|
||||
@@ -14,7 +14,7 @@ use crate::pipeline::{ComputePipelineDescriptor, FunctionDescriptor, StageSource
|
||||
|
||||
const ENTRY: &str = "kernel_texture_unit_bit_test";
|
||||
|
||||
const PROFILES: [&str; 3] = ["lavapipe", "amd-rdna3-radv", "moltenvk-m3"];
|
||||
const PROFILES: [&str; 3] = ["lavapipe", "amd-780m-radv", "moltenvk-m3"];
|
||||
|
||||
fn fixture() -> Option<Vec<u8>> {
|
||||
match llvm_assemble(&fixtures_dir().join(format!("{ENTRY}.ll"))) {
|
||||
|
||||
@@ -29,7 +29,7 @@ use crate::spirv::ir::{Inst, TypedModule};
|
||||
const PROFILES: [&str; 6] = [
|
||||
"moltenvk-m3",
|
||||
"intel-irisxe-rplp-anv",
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"nvidia-rtx50-linux",
|
||||
"lavapipe",
|
||||
"runtime-floor",
|
||||
|
||||
@@ -56,7 +56,6 @@ fn the_widest_pin_rule_picks_each_shuffle_kernel_s_tier_per_profile() {
|
||||
("intel-irisxe-anv", Stage::Widest),
|
||||
("intel-uhd770-rpls-anv", Stage::Widest),
|
||||
("intel-arl-anv", Stage::Widest),
|
||||
("amd-rdna3-radv", Stage::Pins),
|
||||
("amd-780m-radv", Stage::Pins),
|
||||
("nvidia-rtx50-linux", Stage::Pins),
|
||||
("nvidia-pascal-linux", Stage::Pins),
|
||||
|
||||
@@ -168,7 +168,7 @@ fn device_accesses_claim_at_most_the_proven_alignment() {
|
||||
for stem in [
|
||||
"lavapipe",
|
||||
"moltenvk-m3",
|
||||
"amd-rdna3-radv",
|
||||
"amd-780m-radv",
|
||||
"nvidia-rtx50-linux",
|
||||
] {
|
||||
assert!(
|
||||
|
||||
@@ -539,7 +539,7 @@ fn the_soak_profiles_run_at_their_devices_widths() {
|
||||
.collect::<Vec<_>>()
|
||||
};
|
||||
assert_eq!(lanes("moltenvk-m3"), [32]);
|
||||
assert_eq!(lanes("amd-rdna3-radv"), [32, 64]);
|
||||
assert_eq!(lanes("amd-780m-radv"), [32, 64]);
|
||||
assert_eq!(lanes("lavapipe"), [8]);
|
||||
assert_eq!(lanes("runtime-floor"), [8]);
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
# nothing executes. `scripts/linux-gate` selects the shim, the GPU, and the ICD;
|
||||
# `scripts/drm-shim-exec` applies them to one process.
|
||||
# - MESA_VERSION is 26.2.3: the release the RADV and ANV profiles were captured on
|
||||
# (amd-rdna3-radv, amd-rdna2-apu-radv, intel-arl-anv; intel-irisxe-anv on 26.2.2), and the first
|
||||
# (amd-rdna2-apu-radv, intel-arl-anv; intel-irisxe-anv on 26.2.2), and the first
|
||||
# pinned release whose nouveau shim answers Ada and Blackwell (26.1.0's answers chipsets up to
|
||||
# Ampere, so NVK took a later chip for Fermi and refused it). Re-read the facts below on a bump.
|
||||
# - What the pin's sources say:
|
||||
|
||||
+2
-2
@@ -80,10 +80,10 @@
|
||||
# layer, and the command sees lavapipe; only a process started
|
||||
# through scripts/drm-shim-exec sees the shimmed driver, so cargo and rustc never load the
|
||||
# shim. Example:
|
||||
# scripts/linux-gate --cpus 2 --recipe drm-shim --driver radv --chip navi31 -- bash -c \
|
||||
# scripts/linux-gate --cpus 2 --recipe drm-shim --driver radv --chip rembrandt -- bash -c \
|
||||
# 'cargo build --release -p metal2vulkan-validation --bin corpus-pipeline &&
|
||||
# scripts/drm-shim-exec "$CARGO_TARGET_DIR/release/corpus-pipeline" \
|
||||
# --profile amd-rdna3-radv --device-type gpu --fixtures'
|
||||
# --profile amd-rdna2-apu-radv --device-type gpu --fixtures'
|
||||
# - The command container gets one capability beyond Docker's default, SYS_PTRACE, for kcmp: the
|
||||
# per-attempt memory accounting compares a worker's address space with its parent's, so a member
|
||||
# still running in its parent's memory is charged once. Docker's default seccomp
|
||||
|
||||
@@ -460,21 +460,6 @@ SOURCES = [
|
||||
"report": 52074,
|
||||
"sha256": "36cdb075156f5255ec0ece4e91eaf8fe2ae8c1dfa1f7013aca196a27f387d73b",
|
||||
},
|
||||
{
|
||||
# RDNA3, measured on a card we run, with each color attachment format's own sample counts
|
||||
# (a gpuinfo report states none).
|
||||
"name": "amd-rdna3-radv",
|
||||
"kind": "vulkaninfo",
|
||||
"sha256": "edd6b17c17333d3602880d56c7f60e45959acbf70afc845c3ede2f04aeb42dbe",
|
||||
"profile": "VP_VULKANINFO_AMD_Radeon_RX_7900_XTX_(RADV_NAVI31)_26_2_6",
|
||||
"command": "vulkaninfo --json",
|
||||
"host": ("AMD Radeon RX 7900 XTX (Navi 31), CachyOS: mesa and vulkan-radeon 26.2.6, "
|
||||
"vulkan-icd-loader and vulkan-tools 1.4.363.0"),
|
||||
"formats": {
|
||||
"command": "corpus-vulkan --capture-formats OUT --device-type gpu",
|
||||
"sha256": "6a903d024a11a4336650c134c4f5f5692a76c24921267028d9de63787e90ba77",
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "amd-rdna2-apu-radv",
|
||||
"kind": "gpuinfo",
|
||||
|
||||
Reference in new issue
Block a user