=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Recognize SM5+ patch input primitive types.

Alexandre Julliard julliard at winehq.org
Mon May 15 16:09:23 CDT 2017


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon May 15 12:05:47 2017 +0200

wined3d: Recognize SM5+ patch input primitive types.

In D3D11 geometry shaders accept patches as input primitives. This is
forbidden in OpenGL as specified in the ARB_tessellation_shaders spec:
  "we will not allow geometry shaders to receive patches in this
  extension. That limitation may be relaxed in a future extension."

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/device.c          |  6 ++++
 dlls/wined3d/shader.c          | 15 ++++++----
 dlls/wined3d/shader_sm4.c      | 67 ++++++++++++++++++++++++++++++++++--------
 dlls/wined3d/utils.c           |  3 +-
 dlls/wined3d/wined3d_private.h |  8 ++++-
 include/wine/wined3d.h         |  1 +
 6 files changed, 79 insertions(+), 21 deletions(-)

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



More information about the wine-cvs mailing list