mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Parse function call syntax on state blocks.
This commit is contained in:
committed by
Henri Verbeet
parent
f15d8dc9e9
commit
b5f2e7daeb
Notes:
Henri Verbeet
2024-07-09 21:10:32 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/915
@@ -1290,6 +1290,9 @@ static bool state_block_contains_state(const char *name, unsigned int start, str
|
||||
|
||||
for (i = start; i < block->count; ++i)
|
||||
{
|
||||
if (block->entries[i]->is_function_call)
|
||||
continue;
|
||||
|
||||
if (!ascii_strcasecmp(block->entries[i]->name, name))
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user