diff options
Diffstat (limited to 'tests/experiments')
| -rw-r--r-- | tests/experiments/generic/matrix.slang | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/experiments/generic/matrix.slang b/tests/experiments/generic/matrix.slang deleted file mode 100644 index c55c7be33..000000000 --- a/tests/experiments/generic/matrix.slang +++ /dev/null @@ -1,25 +0,0 @@ -//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj - -/* A test to use generics around resource/built in types. - -CRASHES the compiler. - */ - -//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer -RWStructuredBuffer<int> outputBuffer; - -struct Another<let W : int, let H : int> -{ - matrix<float, W, H> values; -}; - -[numthreads(4, 1, 1)] -void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) -{ - int index = dispatchThreadID.x; - - Another<2, 4> a = {}; - - outputBuffer[index] = index; -} - |
