[PATCH 3/9] wined3d: Add support for sysmem-clearing float32 formats.
Henri Verbeet
hverbeet at gmail.com
Mon May 2 10:36:33 CDT 2022
On Sun, 1 May 2022 at 20:39, Stefan Dösinger <stefan at codeweavers.com> wrote:
> @@ -6113,6 +6121,27 @@ void wined3d_format_convert_from_float(const struct wined3d_format *format, cons
> return;
> }
>
> + for (i = 0; i < ARRAY_SIZE(float32_copy); ++i)
> + {
> + if (format_id != float32_copy[i])
> + continue;
> +
> + switch(format->byte_count)
Missing space after "switch".
Could we just check for WINED3DFMT_FLAG_FLOAT and the component sizes
instead of listing individual formats?
More information about the wine-devel
mailing list