=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Add support for stream output with vertex shaders.

Alexandre Julliard julliard at winehq.org
Mon Apr 23 17:58:37 CDT 2018


Module: wine
Branch: master
Commit: ca8e05154e4be5f9f378dd5611c775ec5621e74f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ca8e05154e4be5f9f378dd5611c775ec5621e74f

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Apr 23 16:20:16 2018 +0200

wined3d: Add support for stream output with vertex shaders.

In Direct3D, a stream-output geometry shader can be created from a
vertex shader bytecode. We generate a pass-through geometry shader in
this case. Pass-through geometry shaders are helpful because they can
easily split outputs when rasterization is disabed. We could also add
another codepath in order to avoid geometry shaders when possible.

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/d3d10core/tests/device.c  |  1 -
 dlls/d3d11/tests/d3d11.c       |  4 ---
 dlls/wined3d/context.c         |  4 ++-
 dlls/wined3d/cs.c              |  3 +++
 dlls/wined3d/device.c          |  2 +-
 dlls/wined3d/glsl_shader.c     | 56 +++++++++++++++++++++++++++++++++++---
 dlls/wined3d/shader.c          | 61 ++++++++++++++++++++++++++++++++----------
 dlls/wined3d/wined3d_private.h |  2 ++
 8 files changed, 108 insertions(+), 25 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=ca8e05154e4be5f9f378dd5611c775ec5621e74f



More information about the wine-cvs mailing list