diff options
| author | Yong He <yonghe@outlook.com> | 2024-03-18 16:41:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-18 16:41:40 -0700 |
| commit | f96a3fea6704da866e96e453f722a951c214ba28 (patch) | |
| tree | e14aafe59eca98992593803db19cc3dff0ae1fe1 /tests/cross-compile | |
| parent | 7f6e95917bb1929115b4cffa2ed9035aa8710ee4 (diff) | |
Fix SPIRV for mesh shaders, checks for invalid target code&recursion. (#3788)
* Fix #3780.
* Fixers #3781.
* Add test for #3781.
* Diagnose error on unsupported builtin intrinsic types.
* Add check for recursion.
* Fix.
* Fix.
* Fix recursion detection.
* Fix.
* Fix.
* Fix recursion logic.
* More fix.
Diffstat (limited to 'tests/cross-compile')
| -rw-r--r-- | tests/cross-compile/array-of-buffers.slang | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/cross-compile/array-of-buffers.slang b/tests/cross-compile/array-of-buffers.slang index 31738ccfc..bf2574f29 100644 --- a/tests/cross-compile/array-of-buffers.slang +++ b/tests/cross-compile/array-of-buffers.slang @@ -1,7 +1,10 @@ // array-of-buffers.slang -//TEST:CROSS_COMPILE:-target spirv-assembly -entry main -stage fragment -//TEST:CROSS_COMPILE:-target dxil-assembly -entry main -stage fragment -profile sm_6_0 +//TEST:SIMPLE(filecheck=SPIRV):-target spirv-assembly -entry main -stage fragment +//TEST:SIMPLE(filecheck=DXIL):-target dxil-assembly -entry main -stage fragment -profile sm_6_0 + +// SPIRV: OpEntryPoint +// DXIL: define void @main() // This test ensures that we cross-compile arrays of structured/constant // buffers into appropriate GLSL, where these are not first-class types. |
