Module: wine Branch: master Commit: ca8e05154e4be5f9f378dd5611c775ec5621e74f URL: https://source.winehq.org/git/wine.git/?a=commit;h=ca8e05154e4be5f9f378dd561...
Author: Józef Kucia jkucia@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@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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=ca8e05154e4be5f9f378d...