vkd3d-shader/hlsl: Implement the firstbitlow() intrinsic.

This commit is contained in:
Petrichor Park
2024-08-13 11:34:23 -05:00
committed by Henri Verbeet
parent e6d840170d
commit e35604dbf0
Notes: Henri Verbeet 2025-09-22 11:46:20 +02:00
Approved-by: Francisco Casas (@fcasas)
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/965
9 changed files with 135 additions and 4 deletions

View File

@@ -4275,6 +4275,7 @@ static void tpf_handle_instruction(struct tpf_compiler *tpf, const struct vkd3d_
case VSIR_OP_F16TOF32:
case VSIR_OP_F32TOF16:
case VSIR_OP_FIRSTBIT_HI:
case VSIR_OP_FIRSTBIT_LO:
case VSIR_OP_FIRSTBIT_SHI:
case VSIR_OP_FRC:
case VSIR_OP_FTOI: