=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Limit number of supported user clip planes to 8.

Alexandre Julliard julliard at winehq.org
Mon Dec 4 14:58:18 CST 2017


Module: wine
Branch: master
Commit: 2fdec9a8988917d10dd5589fbdf54701b9fdb82c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2fdec9a8988917d10dd5589fbdf54701b9fdb82c

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Sat Dec  2 10:24:40 2017 +0100

wined3d: Limit number of supported user clip planes to 8.

We never supported, and we should never need to support more than 8 user
clip planes in wined3d.

OpenGL drivers do not expose more than 8 clip distances. Similarly,
other APIs, D3D10, D3D11 and D3D12 provide exactly 8 clip distances.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/glsl_shader.c     | 48 ------------------------------------------
 dlls/wined3d/state.c           | 31 ++-------------------------
 dlls/wined3d/wined3d_private.h |  4 ++--
 3 files changed, 4 insertions(+), 79 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=2fdec9a8988917d10dd5589fbdf54701b9fdb82c



More information about the wine-cvs mailing list