Józef Kucia : wined3d: Limit number of supported user clip planes to 8.
Module: wine Branch: master Commit: 2fdec9a8988917d10dd5589fbdf54701b9fdb82c URL: http://source.winehq.org/git/wine.git/?a=commit;h=2fdec9a8988917d10dd5589fbd... Author: Józef Kucia <jkucia(a)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(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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=2fdec9a8988917d10dd558...
participants (1)
-
Alexandre Julliard