Module: vkd3d Branch: master Commit: ef413356e25e38b997e7c69eef951c245b17ed7b URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/ef413356e25e38b997e7c69eef951c...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Jan 25 22:10:30 2023 +0100
fixup! tests: Add a test for compute thread IDs.
---
tests/d3d12.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/tests/d3d12.c b/tests/d3d12.c index ea569bc3..56d8aa39 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -11692,7 +11692,7 @@ static void test_root_signature_byte_code(void) HRESULT hr;
#if 0 - #define RS "" +#define RS "" #endif /* /T rootsig_1_0 /E RS */ static const DWORD empty_rootsig[] = @@ -11718,7 +11718,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "RootFlags(ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT)" +#define RS "RootFlags(ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT)" #endif static const DWORD ia_rootsig[] = { @@ -11742,7 +11742,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "RootFlags(DENY_PIXEL_SHADER_ROOT_ACCESS)" +#define RS "RootFlags(DENY_PIXEL_SHADER_ROOT_ACCESS)" #endif static const DWORD deny_ps_rootsig[] = { @@ -11766,7 +11766,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "CBV(b3, space = 0)" +#define RS "CBV(b3, space = 0)" #endif static const DWORD cbv_rootsig[] = { @@ -11801,7 +11801,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "CBV(b4, space = 1, visibility = SHADER_VISIBILITY_GEOMETRY)" +#define RS "CBV(b4, space = 1, visibility = SHADER_VISIBILITY_GEOMETRY)" #endif static const DWORD cbv2_rootsig[] = { @@ -11835,7 +11835,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "RootFlags(DENY_VERTEX_SHADER_ROOT_ACCESS), SRV(t13)" +#define RS "RootFlags(DENY_VERTEX_SHADER_ROOT_ACCESS), SRV(t13)" #endif static const DWORD srv_rootsig[] = { @@ -11871,7 +11871,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "UAV(u6)" +#define RS "UAV(u6)" #endif static const DWORD uav_rootsig[] = { @@ -11905,7 +11905,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "CBV(b4, space = 1, visibility = SHADER_VISIBILITY_VERTEX), " \ +#define RS "CBV(b4, space = 1, visibility = SHADER_VISIBILITY_VERTEX), " \ "SRV(t13, flags = DATA_STATIC), " \ "UAV(u6, flags = DATA_STATIC_WHILE_SET_AT_EXECUTE)" #endif @@ -11941,7 +11941,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "RootConstants(num32BitConstants=3, b4), " \ +#define RS "RootConstants(num32BitConstants=3, b4), " \ "RootConstants(num32BitConstants=4, b5, space = 3)" #endif static const DWORD constants_rootsig[] = @@ -11980,7 +11980,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "DescriptorTable(CBV(b1, space = 7), " \ +#define RS "DescriptorTable(CBV(b1, space = 7), " \ "SRV(t16, numDescriptors = 8), " \ "UAV(u3, numDescriptors = unbounded, offset = 44))" #endif @@ -12034,7 +12034,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "DescriptorTable(CBV(b1, space = 7, flags = DESCRIPTORS_VOLATILE), " \ +#define RS "DescriptorTable(CBV(b1, space = 7, flags = DESCRIPTORS_VOLATILE), " \ "SRV(t16, numDescriptors = 8, flags = DESCRIPTORS_VOLATILE | DATA_VOLATILE), " \ "UAV(u3, numDescriptors = unbounded, offset = 44, flags = DATA_STATIC))" #endif @@ -12068,7 +12068,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "StaticSampler(s4)" +#define RS "StaticSampler(s4)" #endif static const DWORD default_static_sampler_rootsig[] = { @@ -12108,7 +12108,7 @@ static void test_root_signature_byte_code(void) };
#if 0 - #define RS "StaticSampler(s0, filter = FILTER_MIN_MAG_MIP_POINT, " \ +#define RS "StaticSampler(s0, filter = FILTER_MIN_MAG_MIP_POINT, " \ "addressV = TEXTURE_ADDRESS_CLAMP, visibility = SHADER_VISIBILITY_PIXEL), " \ "StaticSampler(s0, filter = FILTER_MIN_MAG_POINT_MIP_LINEAR, " \ "AddressW = TEXTURE_ADDRESS_BORDER, MipLODBias = 1, maxLod = 10, " \ @@ -21426,7 +21426,7 @@ static void test_tgsm(void) static const DWORD structured_tgsm_code[] = { #if 0 - #define GROUP_SIZE 32 +#define GROUP_SIZE 32
RWByteAddressBuffer u; RWByteAddressBuffer u2; @@ -21477,7 +21477,7 @@ static void test_tgsm(void) static const DWORD structured_tgsm_float_code[] = { #if 0 - #define GROUP_SIZE 32 +#define GROUP_SIZE 32
struct data {