mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Add a test for the partial precision destination modifier.
This commit is contained in:
committed by
Henri Verbeet
parent
4da83fe83b
commit
46fac7f264
Notes:
Henri Verbeet
2025-06-19 20:51:40 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1551
@@ -1722,6 +1722,13 @@ static ID3D10Blob *parse_hex(const char *source)
|
||||
if (isspace(c))
|
||||
continue;
|
||||
|
||||
if (c == '%')
|
||||
{
|
||||
while (source[i] != '\n')
|
||||
++i;
|
||||
continue;
|
||||
}
|
||||
|
||||
if ('0' <= c && c <= '9')
|
||||
value = 16 * value + (c - '0');
|
||||
else if ('a' <= c && c <= 'f')
|
||||
|
Reference in New Issue
Block a user