Paul Gofman : d3dcompiler: Set range id to bind point for sm < 5.1.

Alexandre Julliard julliard at winehq.org
Wed Sep 9 15:42:27 CDT 2020


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

Author: Paul Gofman <pgofman at codeweavers.com>
Date:   Wed Sep  2 22:28:47 2020 +0300

d3dcompiler: Set range id to bind point for sm < 5.1.

Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/d3dcompiler_43/reflection.c b/dlls/d3dcompiler_43/reflection.c
index 3b45161510..3c4a94f8e5 100644
--- a/dlls/d3dcompiler_43/reflection.c
+++ b/dlls/d3dcompiler_43/reflection.c
@@ -1544,7 +1544,7 @@ static HRESULT d3dcompiler_parse_rdef(struct d3dcompiler_shader_reflection *r, c
             else
             {
                 desc->Space = 0;
-                desc->uID = 0;
+                desc->uID = desc->BindPoint;
             }
         }
     }




More information about the wine-cvs mailing list