35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
spv.subgroupSizeARB.frag
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 12
|
|
|
|
Capability Shader
|
|
Capability SubgroupBallotKHR
|
|
Extension "SPV_KHR_shader_ballot"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 8 10
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source GLSL 450
|
|
SourceExtension "GL_ARB_shader_ballot"
|
|
SourceExtension "GL_KHR_shader_subgroup_basic"
|
|
Name 4 "main"
|
|
Name 8 "result"
|
|
Name 10 "gl_SubGroupSizeARB"
|
|
Decorate 8(result) Location 0
|
|
Decorate 10(gl_SubGroupSizeARB) BuiltIn SubgroupSize
|
|
Decorate 10(gl_SubGroupSizeARB) Flat
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeInt 32 0
|
|
7: TypePointer Output 6(int)
|
|
8(result): 7(ptr) Variable Output
|
|
9: TypePointer Input 6(int)
|
|
10(gl_SubGroupSizeARB): 9(ptr) Variable Input
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
11: 6(int) Load 10(gl_SubGroupSizeARB)
|
|
Store 8(result) 11
|
|
Return
|
|
FunctionEnd
|