[PATCH vkd3d 2/2] vkd3d-shader/hlsl: Implement floor().
Giovanni Mascellani
gmascellani at codeweavers.com
Mon Dec 13 05:23:34 CST 2021
Hi,
On 13/12/21 12:15, Nikolay Sivov wrote:
> Something like attached diff?
That looks sensible, except that it should be:
> if (type->base_type != HLSL_TYPE_FLOAT && type->base_type != HLSL_TYPE_HALF)
We don't really handle half values so far (and it's not clear how they
differ from floats), but at least for typing I guess it makes sense to
do the right thing, given that it's easy.
Thanks, Giovanni.
More information about the wine-devel
mailing list