On 1 June 2016 at 23:16, Matteo Bruni mbruni@codeweavers.com wrote:
- if (update_mask & WINED3D_SHADER_CONST_VS_CLIP_PLANES)
- {
for (i = 0; i < gl_info->limits.clipplanes; ++i)
shader_glsl_clip_plane_uniform(context, state, i, prog);
- }
It's not wrong, but it seems somewhat arbitrary to use the legacy/fixed function clip plane limit.