mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests: Add a test for sm1 inter-stage interface matching.
This commit is contained in:
committed by
Henri Verbeet
parent
e452519dcb
commit
212333bfa6
Notes:
Henri Verbeet
2024-10-28 18:11:45 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1216
@@ -293,6 +293,8 @@ static D3DDECLTYPE vertex_decl_type_from_format(DXGI_FORMAT format)
|
||||
|
||||
static D3DDECLUSAGE vertex_decl_usage_from_name(const char *name)
|
||||
{
|
||||
if (!strcasecmp(name, "color"))
|
||||
return D3DDECLUSAGE_COLOR;
|
||||
if (!strcasecmp(name, "position") || !strcasecmp(name, "sv_position"))
|
||||
return D3DDECLUSAGE_POSITION;
|
||||
if (!strcasecmp(name, "psize"))
|
||||
|
||||
Reference in New Issue
Block a user