[PATCH 6/6] wined3d: Don't replicate shader limits values for each shader.
Henri Verbeet
hverbeet at gmail.com
Fri Oct 10 05:19:24 CDT 2014
On 9 October 2014 18:01, Matteo Bruni <mbruni at codeweavers.com> wrote:
> +static const struct wined3d_shader_limits vs_limits[] =
This doesn't really need to be global. It's not even that I mind that
much for this kind of static const array, but it actually makes things
easier to keep it local to shader_set_limits().
> struct wined3d_shader_limits
> {
> + unsigned int min_version;
> + unsigned int max_version;
> unsigned int sampler;
> unsigned int constant_int;
> unsigned int constant_float;
You don't need that to be part of wined3d_shader_limits.
More information about the wine-devel
mailing list