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

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2020-09-02 22:28:47 +03:00 committed by Alexandre Julliard
parent e446aee652
commit e7a499f8ef
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}
}