-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy patharray-slice-cast.stderr
More file actions
116 lines (116 loc) · 2.65 KB
/
array-slice-cast.stderr
File metadata and controls
116 lines (116 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint GLCompute %1 "compute_shader" %2 %3
OpExecutionMode %1 LocalSize 64 1 1
OpName %2 "slab"
OpName %3 "global_id"
OpDecorate %5 ArrayStride 4
OpDecorate %6 Block
OpMemberDecorate %6 0 Offset 0
OpDecorate %2 Binding 0
OpDecorate %2 DescriptorSet 0
OpDecorate %3 BuiltIn GlobalInvocationId
%7 = OpTypeInt 32 0
%5 = OpTypeRuntimeArray %7
%6 = OpTypeStruct %5
%8 = OpTypePointer StorageBuffer %6
%9 = OpTypeVector %7 3
%10 = OpTypePointer Input %9
%11 = OpTypeVoid
%12 = OpTypeFunction %11
%13 = OpConstant %7 3
%14 = OpTypeArray %7 %13
%15 = OpTypePointer Function %14
%16 = OpTypePointer StorageBuffer %5
%2 = OpVariable %8 StorageBuffer
%17 = OpConstant %7 0
%3 = OpVariable %10 Input
%18 = OpTypePointer Function %7
%19 = OpConstant %7 1
%20 = OpConstant %7 2
%21 = OpTypeBool
%22 = OpTypePointer StorageBuffer %7
%1 = OpFunction %11 None %12
%23 = OpLabel
%24 = OpVariable %15 Function
%25 = OpInBoundsAccessChain %16 %2 %17
%26 = OpArrayLength %7 %2 0
%27 = OpLoad %9 %3
%28 = OpCompositeExtract %7 %27 0
%29 = OpCompositeExtract %7 %27 1
%30 = OpCompositeExtract %7 %27 2
%31 = OpInBoundsAccessChain %18 %24 %17
OpStore %31 %28
%32 = OpInBoundsAccessChain %18 %24 %19
OpStore %32 %29
%33 = OpInBoundsAccessChain %18 %24 %20
OpStore %33 %30
%34 = OpULessThan %21 %17 %13
OpNoLine
OpSelectionMerge %35 None
OpBranchConditional %34 %36 %37
%36 = OpLabel
OpBranch %35
%37 = OpLabel
OpReturn
%35 = OpLabel
%38 = OpInBoundsAccessChain %18 %24 %17
%39 = OpLoad %7 %38
%40 = OpULessThan %21 %17 %26
OpNoLine
OpSelectionMerge %41 None
OpBranchConditional %40 %42 %43
%42 = OpLabel
OpBranch %41
%43 = OpLabel
OpReturn
%41 = OpLabel
%44 = OpInBoundsAccessChain %22 %25 %17
OpStore %44 %39
%45 = OpULessThan %21 %19 %13
OpNoLine
OpSelectionMerge %46 None
OpBranchConditional %45 %47 %48
%47 = OpLabel
OpBranch %46
%48 = OpLabel
OpReturn
%46 = OpLabel
%49 = OpInBoundsAccessChain %18 %24 %19
%50 = OpLoad %7 %49
%51 = OpULessThan %21 %19 %26
OpNoLine
OpSelectionMerge %52 None
OpBranchConditional %51 %53 %54
%53 = OpLabel
OpBranch %52
%54 = OpLabel
OpReturn
%52 = OpLabel
%55 = OpInBoundsAccessChain %22 %25 %19
OpStore %55 %50
%56 = OpULessThan %21 %20 %13
OpNoLine
OpSelectionMerge %57 None
OpBranchConditional %56 %58 %59
%58 = OpLabel
OpBranch %57
%59 = OpLabel
OpReturn
%57 = OpLabel
%60 = OpInBoundsAccessChain %18 %24 %20
%61 = OpLoad %7 %60
%62 = OpULessThan %21 %20 %26
OpNoLine
OpSelectionMerge %63 None
OpBranchConditional %62 %64 %65
%64 = OpLabel
OpBranch %63
%65 = OpLabel
OpReturn
%63 = OpLabel
%66 = OpInBoundsAccessChain %22 %25 %20
OpStore %66 %61
OpNoLine
OpReturn
OpFunctionEnd