mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader-runner: Add tests for 64-bit casts.
This commit is contained in:
committed by
Alexandre Julliard
parent
08b8730866
commit
130e7bdf0f
Notes:
Alexandre Julliard
2023-11-15 22:58:28 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/459
@@ -42,11 +42,6 @@ static ID3D10Blob *compile_shader(const char *source, size_t len, const char *pr
|
||||
return bytecode;
|
||||
}
|
||||
|
||||
struct dvec2
|
||||
{
|
||||
double x, y;
|
||||
};
|
||||
|
||||
static bool compare_uint8(uint8_t a, uint8_t b, unsigned int max_diff)
|
||||
{
|
||||
return abs(a - b) <= max_diff;
|
||||
|
||||
Reference in New Issue
Block a user