mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/hlsl: Consider duplicated input semantic types equivalent in SM1.
This commit is contained in:
parent
34431239a5
commit
dcd991deda
Notes:
Alexandre Julliard
2023-05-01 22:24:44 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/148
@ -246,6 +246,9 @@ static enum hlsl_base_type base_type_get_semantic_equivalent(enum hlsl_base_type
|
||||
static bool types_are_semantic_equivalent(struct hlsl_ctx *ctx, const struct hlsl_type *type1,
|
||||
const struct hlsl_type *type2)
|
||||
{
|
||||
if (ctx->profile->major_version < 4)
|
||||
return true;
|
||||
|
||||
if (type1->dimx != type2->dimx)
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user