Re: [PATCH 6/6] wined3d: Don't replicate shader limits values for each shader.
10 Oct
2014
10 Oct
'14
11:19 a.m.
On 9 October 2014 18:01, Matteo Bruni <mbruni(a)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.
4171
Age (days ago)
4171
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet