Repository navigation
Tests: isolate the streamed-texture recheck fixture - #2603
Open
philip-roy-jones wants to merge 1 commit into
Open
philip-roy-jones wants to merge 1 commit into
philip-roy-jones wants to merge 1 commit into
Conversation
The scheduling test marks an integer fixture key pending in TEXTURES. A concurrent GPU upload can then use it as a COM resource. Run the existing milestone assertions in an exact child libtest so its pending uploads and synthetic frame numbers stay in their own process. A synchronized CPU observer saw the pending entry in the parent on b49be18. With this change it saw no entry while the same milestone was pending in the child. Assisted-by: Codex (GPT-6.2 Astra)
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! — Devin |
|
Passes on NVIDIA with the whole suite, and the moved test runs in its own process as intended. A clean run to set beside the RX 580 table: no device removals here. Tested:
I have not seen the original Not tested: AMD, a release build. AI use: Claude Code (Claude Opus 5.5) ran the suite and the repeats, and wrote this report. |
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #42. The streaming-milestone test from #2029 published a pending integer key in the same texture table that parallel GPU tests upload from. The RX 580 suite aborted when an upload treated that key as an
ID3D12Resource. An RTX 3060 run reported the same address. Independent reportWhat is in it
title_textures.rs, run the existing milestone assertions in their own libtest process. Its synthetic resources and frame numbers are private even if an assertion fails.Tested
cargo build --locked --workspaceandcargo test --locked --workspace --no-runpassed on both revisions. The GPU queue rancargo test --locked --workspace --no-fail-fast -- --test-threads=4. After the library process exited 0xc0000005, the runner isolated its tests in batches. Skips are included in the harness's passed count.b49be1888c0f14Tests that reported SKIPPED
Both revisions
gpu::dxil::core_tests::s_setreg_b32_mode_bit3_does_not_underflowgpu::dxil::geometry_tests::gpu_geometry_direct_recordsgpu::dxil::graphics::tests::emitted_ms_primitive_attribute_reaches_the_pixel_shadergpu::dxil::graphics::tests::emitted_ms_ps_draw_a_trianglegpu::dxil::lower::saveexec_tests::gpu_direct_wave32_saveexec_and_wrexecgpu::dxil::lower_wide::rcp_d_tests::gpu_direct_rcp_f64_and_rsq_f64_edgesgpu::dxil::module::split::tests::dispatch_chain_divergent_forward_edges_3dgpu::dxil::module::split::tests::dispatch_chain_oversized_loop_matches_wholegpu::dxil::module::split::tests::dispatch_chain_payload_skips_middle_piecegpu::dxil::module::split::tests::dispatch_chain_payload_survives_reused_edge_slotgpu::dxil::module::split::tests::dispatch_chain_wave32_live_loopsgpu::dxil::module::split::tests::dispatch_chain_wave64_live_loops_and_exchangegpu::dxil::ops_tests::approximate_float_unary_ops_are_within_tolerancegpu::dxil::ops_tests::bfrev_i64_of_a_uniform_product_matches_cpugpu::dxil::ops_tests::derivatives_in_compute_rungpu::dxil::ops_tests::dot4_add_u8_packed_matches_cpugpu::dxil::ops_tests::doubles_match_cpugpu::dxil::ops_tests::exact_float_unary_ops_match_cpugpu::dxil::ops_tests::float_binary_tertiary_and_half_conversions_match_cpugpu::dxil::ops_tests::groupshared_barrier_and_atomics_rungpu::dxil::ops_tests::half_precision_overloads_rungpu::dxil::ops_tests::i1_to_i64_sign_extension_and_shift_match_cpugpu::dxil::ops_tests::int64_bit_ops_match_cpugpu::dxil::ops_tests::integer_ops_match_cpugpu::dxil::ops_tests::raw_and_structured_buffer_atomics_rungpu::dxil::ops_tests::texture_ops_rungpu::dxil::ops_tests::typed_buffer_ops_rungpu::dxil::ops_tests::uaddc_and_usubb_match_cpugpu::dxil::ops_tests::uav_array_3d_stores_loads_and_texture_atomics_rungpu::dxil::ops_tests::wave_ops_match_cpugpu::dxil::prelude::fclass_const_tests::gpu_direct_v_cmp_class_f32_const_mask_validates_and_matches_isagpu::dxil::tests::blocks_are_written_in_reverse_post_ordergpu::recomp::lower::tests::a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::a_compute_program_agrees_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::cross_lane_reads_agree_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::the_lowering_agrees_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::the_split_form_agrees_with_the_wave64_lowering_on_the_gpugpu::recomp::lower::tests::the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpugpu::recomp::lower_dxil::tests::a_branch_on_a_mixed_mask_matches_the_hlsl_path_on_the_gpugpu::recomp::lower_dxil::tests::a_bridged_instruction_may_write_to_the_entry_blockgpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barriergpu::recomp::lower_dxil::tests::a_bridged_v_cmpx_keeps_the_lanes_outside_exec_outgpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpugpu::recomp::lower_dxil::tests::a_per_lane_compute_program_runs_on_the_gpugpu::recomp::lower_dxil::tests::a_per_lane_program_with_four_memory_windows_runs_on_the_gpugpu::recomp::lower_dxil::tests::coalesced_foreign_runs_agree_on_the_gpugpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpugpu::recomp::lower_dxil::tests::f16_programs_on_the_gpugpu::recomp::lower_dxil::tests::f32_programs_on_the_gpugpu::recomp::lower_dxil::tests::f64_programs_on_the_gpugpu::recomp::lower_dxil::tests::gpu_frexp_exp_f32_denorm_per_lanegpu::recomp::lower_dxil::tests::integer_programs_on_the_gpugpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpugpu::recomp::lower_dxil::tests::native_wave_branches_on_the_gpugpu::recomp::lower_dxil::tests::per_lane_kernels_run_on_the_gpugpu::recomp::lower_dxil::tests::split_wave64_dead_scc_skips_exchange_barriergpu::recomp::lower_dxil::tests::split_wave64_wave_branches_on_the_gpugpu::recomp::lower_dxil::tests::the_runtime_path_takes_the_split_formgpu::recomp::tests::gpu_geometry_mode_es_gs_stripgpu::recomp::tests::gpu_geometry_mode_es_gs_strip_with_branchesgpu::recomp::tests::gpu_mesh_mode_two_passesheap_window_out_of_memory_falls_back_to_the_switch_formhle::d3d12x::real::passthrough_mesh_stream_accepts_a_triangle_driver_bloboffline_split_compute_pipeline_is_reused_by_a_second_processshaders::tests::pso_measurement_compiles_an_exact_synthetic_recordsplit_compute_prefers_the_offline_whole_pipelinethe title under the debug layer (dred: false)the title under the debug layer (dred: true)Regression run
All changed lines are inside the unit test in
title_textures.rs. Please apply thetest-onlylabel to this revision after reviewing the diff.Not tested
No retail title run or RDNA2 hardware run for this test-only change.
AI use
Codex, GPT-6.2 Astra, max reasoning effort, implemented the fixture isolation, verified it, wrote this description and opened this PR on Philip's instruction. Claude Code with Claude Opus 5.5 identified the original RX 580 abort. Reviewed on Philip's behalf.