Nikolay Sivov : d3d10/effect: Create shaders with stream output when declaration string is present.

Alexandre Julliard julliard at winehq.org
Thu Sep 2 15:45:31 CDT 2021


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Sep  1 16:04:32 2021 +0300

d3d10/effect: Create shaders with stream output when declaration string is present.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d10/effect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c
index 48df10acff5..71468bd4d3c 100644
--- a/dlls/d3d10/effect.c
+++ b/dlls/d3d10/effect.c
@@ -774,7 +774,7 @@ static HRESULT parse_fx10_shader(const char *data, size_t data_size, DWORD offse
             break;
 
         case D3D10_SVT_GEOMETRYSHADER:
-            if (v->type->flags & D3D10_EOT_FLAG_GS_SO)
+            if (v->u.shader.stream_output_declaration)
             {
                 struct d3d10_effect_so_decl so_decl;
 




More information about the wine-cvs mailing list