shader: lower v_cvt_i32_f64 and v_cvt_u32_f64 in the direct compute path #3372
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3372
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@R0D4X on GitHub · 2026-11-28 14:50 UTC · original
Refs #2935
Lower
v_cvt_i32_f64(VOP10x03/ VOP3A0x183) andv_cvt_u32_f64(VOP10x15/ VOP3A0x195) in the native direct-DXIL compute path (src/gfx1013_direct_compute.inl).Scope
v[a:a+1]or evens[a:a+1]) to a saturated 32-bit signed or unsigned integer (truncating toward zero,NaN -> 0, signed saturation to[INT32_MIN, INT32_MAX], unsigned saturation to[0, UINT32_MAX]) using pure 32-bit integer arithmetic (noDoublePrecisionFloatShaderOpsand noInt64ShaderOps).abs/negon the binary64 source sign; refusepixel_stage,graphics_input,clamp,omod,op_sel,subword,dpp, unused VOP3 sources/modifiers, and non-pairS0.native_compute_ir_dump), DXIL controls, hardware readback tests, negative controls, CMake registration, and experiment notes.I am taking this slice.