diff options
| author | Yong He <yonghe@outlook.com> | 2025-06-30 14:32:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-30 21:32:50 +0000 |
| commit | f28f67d988158d6c46f7ffe967152f98d32a37b2 (patch) | |
| tree | 2aa620986a87ec69cf1f210c714312e42b62ac9e /tests/language-feature | |
| parent | a55ff722cae338a8fcf5402858c47cf0650a8e5e (diff) | |
Add MLP training examples. (#7550)
* Add MLP training examples.
* Formatting fix.
* Fix.
* Improve documentation on coopvector.
* Improve doc.
* Update doc.
* Fix typo.
* Cleanup shader.
* Cleanup.
* Fix test.
* Fix type check recursion.
* Fix.
* Fix.
* Fix override check.
Diffstat (limited to 'tests/language-feature')
| -rw-r--r-- | tests/language-feature/capability/capabilitySimplification2.slang | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/language-feature/capability/capabilitySimplification2.slang b/tests/language-feature/capability/capabilitySimplification2.slang index 8d96884ce..d50960b8e 100644 --- a/tests/language-feature/capability/capabilitySimplification2.slang +++ b/tests/language-feature/capability/capabilitySimplification2.slang @@ -1,27 +1,27 @@ -//TEST:SIMPLE(filecheck=SPIRV): -target spirv -emit-spirv-directly -entry computeMain -stage compute -profile sm_5_0 +//TEST:SIMPLE(filecheck=SPIRV): -target spirv -emit-spirv-directly -entry computeMain -stage compute -profile spirv_1_3 //TEST:SIMPLE(filecheck=GLSL): -target glsl -entry computeMain -stage compute -profile sm_5_0 //TEST:SIMPLE(filecheck=HLSL): -target hlsl -entry computeMain -stage compute -profile sm_5_0 -//TEST:SIMPLE(filecheck=CHECK_IGNORE_CAPS): -target spirv -emit-spirv-directly -entry computeMain -stage compute -profile sm_5_0 -ignore-capabilities +//TEST:SIMPLE(filecheck=CHECK_IGNORE_CAPS): -target spirv -emit-spirv-directly -entry computeMain -stage compute -profile spirv_1_3 -ignore-capabilities // CHECK_IGNORE_CAPS-NOT: warning 41012 // SPIRV: warning 41012 // SPIRV-NOT: spirv_1_2 -// SPIRV-NOT: spirv_1_3 // SPIRV-SAME: spvGroupNonUniformBallot // GLSL: warning 41012 // GLSL-NOT: GLSL_400 // GLSL-NOT: GLSL_430 -// GLSL-SAME: GL_KHR_shader_subgroup_ballot +// GLSL-SAME: GL_KHR_shader_subgroup_basic // HLSL: warning 41012 // HLSL-NOT: sm_5_1 // HLSL-SAME: sm_6_0 -[require(sm_6_0)] [numthreads(1,1,1)] void computeMain() { + if (WaveIsFirstLane()) + return; } |
