blob: 4cf514a3d59db458338d55b6eff99c993388d56a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// direct-spirv-emit.slang
//TEST:SIMPLE(filecheck=CHECK):-target spirv -entry computeMain -stage compute -emit-spirv-directly
// Test ability to directly output SPIR-V
// CHECK: OpCapability Shader
// CHECK: OpMemoryModel Logical GLSL450
// CHECK: OpEntryPoint GLCompute %computeMain "main"
// CHECK: OpExecutionMode %computeMain LocalSize 4 1 1
[numthreads(4,1,1)]
void computeMain()
{}
|