diff options
| author | Yong He <yonghe@outlook.com> | 2017-10-23 10:35:44 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-10-23 10:35:44 -0400 |
| commit | cc6184ebc4d0611be892eaff119de99f8b9e1ca6 (patch) | |
| tree | df730688789d46e3d956701bc4b87f2f5f47d916 /tests | |
| parent | 0c8efd12667e66b3177c5d8557a0677c7d5d0e4e (diff) | |
Work in-progress: simple compute test passed. (d3d renderer)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compute/simple.slang | 2 | ||||
| -rw-r--r-- | tests/compute/simple.slang.expected.txt | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/compute/simple.slang b/tests/compute/simple.slang index 3f43c8cc7..8f53a79b2 100644 --- a/tests/compute/simple.slang +++ b/tests/compute/simple.slang @@ -1,5 +1,5 @@ //TEST(smoke,compute):COMPARE_COMPUTE: - +//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out // This is a basic test for Slang compute shader. RWStructuredBuffer<float> outputBuffer; diff --git a/tests/compute/simple.slang.expected.txt b/tests/compute/simple.slang.expected.txt index fdaa30664..98798bd61 100644 --- a/tests/compute/simple.slang.expected.txt +++ b/tests/compute/simple.slang.expected.txt @@ -1,4 +1,4 @@ -0.0 -1.0 -2.0 -3.0
\ No newline at end of file +0 +3F800000 +40000000 +40400000
\ No newline at end of file |
