diff --git a/tests/expected-failure-github.txt b/tests/expected-failure-github.txt index b9b1e4b393..e7298312b9 100644 --- a/tests/expected-failure-github.txt +++ b/tests/expected-failure-github.txt @@ -13,3 +13,5 @@ tests/bugs/buffer-swizzle-store.slang.3 syn (wgpu) tests/compute/interface-shader-param-in-struct.slang.4 syn (wgpu) tests/compute/interface-shader-param.slang.5 syn (wgpu) tests/language-feature/shader-params/interface-shader-param-ordinary.slang.4 syn (wgpu) +gfx-unit-test-tool/RayTracingTestAD3D12.internal +gfx-unit-test-tool/RayTracingTestBD3D12.internal diff --git a/tests/hlsl-intrinsic/texture/partial-resident-texture.slang b/tests/hlsl-intrinsic/texture/partial-resident-texture.slang index 878ef02d32..ba7e318358 100644 --- a/tests/hlsl-intrinsic/texture/partial-resident-texture.slang +++ b/tests/hlsl-intrinsic/texture/partial-resident-texture.slang @@ -15,12 +15,12 @@ RWByteAddressBuffer iBuf; //TEST_INPUT: Sampler:name samplerState SamplerState samplerState; -__generic -bool TEST_texture( - Texture2D> t2D, - Texture2DMS> t2DMS) +bool TEST_texture( + Texture2D t2D, + Texture2DMS t2DMS) + where T : ITexelElement, IArithmetic { - typealias TN = vector; + typealias TN = T; constexpr const int2 offset = int2(0, 0); uint status; float clamp = 0; diff --git a/tools/test-server/test-server-main.cpp b/tools/test-server/test-server-main.cpp index 16867f4cbb..1f1fbd066f 100644 --- a/tools/test-server/test-server-main.cpp +++ b/tools/test-server/test-server-main.cpp @@ -18,6 +18,20 @@ #include #include +#if defined(_WIN32) +// https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/#2.-set-agility-sdk-parameters + +extern "C" +{ + __declspec(dllexport) extern const uint32_t D3D12SDKVersion = 711; +} + +extern "C" +{ + __declspec(dllexport) extern const char* D3D12SDKPath = u8".\\D3D12\\"; +} +#endif + namespace TestServer { using namespace Slang;