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

@@ -722,6 +722,7 @@ enum hlsl_ir_expr_op
HLSL_OP1_COS,
HLSL_OP1_COS_REDUCED, /* Reduced range [-pi, pi], writes to .x */
HLSL_OP1_COUNTBITS,
HLSL_OP1_CTZ,
HLSL_OP1_DSX,
HLSL_OP1_DSX_COARSE,
HLSL_OP1_DSX_FINE,