diff options
| author | Yong He <yonghe@outlook.com> | 2021-07-09 11:00:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-09 11:00:44 -0700 |
| commit | fa565f96823f3985cffa3a899742fdf1449d5876 (patch) | |
| tree | e8aeddb87cd077bf9b28ca4b799756c0ee77e48a /tests/type | |
| parent | 09a251e0f3a31c826eaa91eef64b04eb01c4393a (diff) | |
Enable testing with Swiftshader. (#1906)
Diffstat (limited to 'tests/type')
| -rw-r--r-- | tests/type/texture-sampler/texture-sampler-2d.slang | 2 | ||||
| -rw-r--r-- | tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/tests/type/texture-sampler/texture-sampler-2d.slang b/tests/type/texture-sampler/texture-sampler-2d.slang index 974231b9b..146fd0fd8 100644 --- a/tests/type/texture-sampler/texture-sampler-2d.slang +++ b/tests/type/texture-sampler/texture-sampler-2d.slang @@ -1,4 +1,4 @@ -//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj +//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -output-using-type //TEST_INPUT: TextureSampler2D(size=4, content=one):name t2D Sampler2D<float> t2D; diff --git a/tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt b/tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt index cc5e55ab6..6c9927073 100644 --- a/tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt +++ b/tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt @@ -1,4 +1,5 @@ -3F800000 -3F800000 -3F800000 -3F800000 +type: float +1.0 +1.0 +1.0 +1.0 |
