You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.4 KiB
34 lines
1.4 KiB
spv.460.comp
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000a
|
|
// Id's are bound by 15
|
|
|
|
Capability Shader
|
|
Capability SubgroupVoteKHR
|
|
Extension "SPV_KHR_subgroup_vote"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint GLCompute 4 "main"
|
|
ExecutionMode 4 LocalSize 1 1 1
|
|
Source GLSL 460
|
|
Name 4 "main"
|
|
Name 8 "b1"
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeBool
|
|
7: TypePointer Function 6(bool)
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
8(b1): 7(ptr) Variable Function
|
|
9: 6(bool) Load 8(b1)
|
|
10: 6(bool) SubgroupAnyKHR 9
|
|
Store 8(b1) 10
|
|
11: 6(bool) Load 8(b1)
|
|
12: 6(bool) SubgroupAllKHR 11
|
|
Store 8(b1) 12
|
|
13: 6(bool) Load 8(b1)
|
|
14: 6(bool) SubgroupAllEqualKHR 13
|
|
Store 8(b1) 14
|
|
Return
|
|
FunctionEnd
|