summaryrefslogtreecommitdiffstats
path: root/tests/bugs/gh-3802.slang
blob: 7b09592f39557626eb58adcabd6aa404a8619834 (plain)
1
2
3
4
5
6
7
8
9
10
11
//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly

namespace foo::bar::baz {}
namespace foo::bar {} // <- leaving this out "fixes" the issue

// CHECK: OpEntryPoint

[shader("compute")]
[numthreads(1, 1, 1)]
void computeMain()
{}