vkd3d-shader/hlsl: Add support for fmod() intrinsic.
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
2751 if (!(x = intrinsic_float_convert_arg(ctx, params, params->args[0], loc))) 2752 return false; 2753 2754 if (!(y = intrinsic_float_convert_arg(ctx, params, params->args[1], loc))) 2755 return false; 2756 2757 if (!(div = add_binary_arithmetic_expr(ctx, params->instrs, HLSL_OP2_DIV, x, y, loc))) 2758 return false; 2759 2760 if (!(zero = hlsl_new_constant(ctx, div->data_type, loc))) 2761 return false; 2762 list_add_tail(params->instrs, &zero->node.entry); 2763 2764 count = hlsl_type_element_count(div->data_type); 2765 for (i = 0; i < count; ++i) 2766 zero->value.u[i].f = 0.0f; mentioned in merge request !196 (merged)
added 22 commits
-
c80fd687...8b57a612 - 21 commits from branch
wine:master
- 7516adee - vkd3d-shader/hlsl: Add support for fmod() intrinsic.
-
c80fd687...8b57a612 - 21 commits from branch
Please register or sign in to reply