test(agc): skip the f64 and shader clock execution tests on devices without the feature #1259
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1259"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by kr4y4 on 2026-10-07T20:07:23Z.
What
Eleven execution tests fail instead of skipping on a device that lacks a feature their program needs. Emission already refuses those programs with a clear error. The tests now skip, as
ImageSampleLodClampdoes forshaderResourceMinLodand #829 did forVK_KHR_maintenance8.agc_driver_f64_arithmetic,_f64_conversions,_f64_division,_f64_division_modifiers,_f64_nan_conversions,_f64_rounding,_f64_transcendental,_division_output_modifiers,_division_result_modifiersshaderFloat64(Float64)64-bit float instructions need the Float64 capability, which the device lacksagc_driver_float16_dotshaderFloat64:EmitFPDot2F32F16computesv_dot2_f32_f16in f64agc_driver_shader_clockshaderSubgroupClockandshaderDeviceClock(ShaderClockKHR)reads the shader clock, which needs the device's VK_KHR_shader_clockEach program is a single shader, and the two division tests mix f32 and f64 instructions in it. So the whole test skips; the f32 cases can't run without splitting the program.
Not changed: a title that uses
v_dot2_f32_f16still can't run on a device withoutshaderFloat64, since emission refuses it there.Tested
Windows 11 (26200), WinLibs GCC 15.2.0 r7, CI configure flags, main at
4764e59c,ctest --repeat until-fail:3on the eleven tests:shaderFloat64= 0,shaderDeviceClock= 0),ANYPS5_GPU=Intel: all eleven skip with the messages above (skipped, the device has no shaderFloat64×9, thev_dot2_f32_f16one,skipped, the device lacks shaderSubgroupClock or shaderDeviceClock). On main they fail.Devices that have the features run the tests unchanged. On CI's lavapipe device these tests run and pass today: they aren't among the 20 skips listed in #1012. So that device has both features, and its expected skip set (#1028) doesn't change.
Checklist
main; no other open PR implements the same thing🤖 Generated with Claude Code