[PATCH 4/7] d3dcompiler: Set range id to bind point for sm < 5.1.

Paul Gofman pgofman at codeweavers.com
Wed Sep 2 14:28:47 CDT 2020


Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
 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 3b451615103..3c4a94f8e56 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;
             }
         }
     }
-- 
2.26.2




More information about the wine-devel mailing list