blob: 30a359e8a9490673c8040eaf1f9831830a755c03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//TEST:SIMPLE(filecheck=CHECK): -target glsl -entry computeMain -stage compute
//TEST:SIMPLE(filecheck=CHECK): -target wgsl -entry computeMain -stage compute
//TEST:SIMPLE(filecheck=CHECK): -target metal
// CHECK: #[compute]
[numthreads(1,1,1)]
void computeMain()
{
__requirePrelude(R"(#[compute])");
}
|