diff options
| author | Yong He <yonghe@outlook.com> | 2023-11-16 14:32:33 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-16 14:32:33 -0800 |
| commit | 4c78efd0c34442866f20e9d00bbb6908115c9a01 (patch) | |
| tree | 03ca8584847f0937a926f6b27386dcd982ed7780 /tests/bugs | |
| parent | 12f7237e4060388494c549623f4a640327b7ca08 (diff) | |
Unify stdlib `Texture` types into one generic type. (#3327)
* Unify Texture types in stdlib into 1 generic type.
* Fixes.
* Fix.
* Fixes.
* Fix reflection.
* Fix binding reflection.
* Add gather intrinsics.
* Fix gather intrinsics.
* Fix texture type toText.
* Fix intrinsic.
* fix cuda intrinsic.
* Fix project files.
* cleanup.
* Fix.
* Fix.
* Fix sampler feedback test.
* Fix getDimension intrinsics.
* Fix spirv sample image intrinsics.
* Fix test.
* Fix GLSL intrinsic.
* Cleanup.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/vk-image-write.slang | 5 | ||||
| -rw-r--r-- | tests/bugs/vk-image-write.slang.glsl | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/bugs/vk-image-write.slang b/tests/bugs/vk-image-write.slang index 10141384c..ce13ebf6a 100644 --- a/tests/bugs/vk-image-write.slang +++ b/tests/bugs/vk-image-write.slang @@ -1,4 +1,5 @@ -//TEST:CROSS_COMPILE: -profile ps_5_0 -entry main -target spirv-assembly +//TEST:SIMPLE(filecheck=CHECK): -profile ps_5_0 -entry main -target spirv-assembly +//TEST:SIMPLE(filecheck=CHECK): -profile ps_5_0 -entry main -target spirv-assembly -emit-spirv-directly // Ensure that we can lower to `imageStore` correctly. @@ -11,6 +12,8 @@ void writeColor(float3 v) float4 main() : SV_Target { + // CHECK: OpImageRead + // CHECK: OpImageWrite writeColor(float3(1.0)); return float4(0); } diff --git a/tests/bugs/vk-image-write.slang.glsl b/tests/bugs/vk-image-write.slang.glsl index 7b9bcebf9..7145c0e08 100644 --- a/tests/bugs/vk-image-write.slang.glsl +++ b/tests/bugs/vk-image-write.slang.glsl @@ -36,5 +36,4 @@ void main() writeColor_0(vec3(1.00000000000000000000)); _S7 = vec4(0); return; -} - +}
\ No newline at end of file |
