27 lines
807 B
Plaintext
27 lines
807 B
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 12
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %main "main"
|
|
OpExecutionMode %main LocalSize 1 1 1
|
|
OpName %main "main"
|
|
%void = OpTypeVoid
|
|
%1 = OpTypeFunction %void
|
|
%int = OpTypeInt 32 1
|
|
%6 = OpConstantNull %int
|
|
%int_2 = OpConstant %int 2
|
|
%bool = OpTypeBool
|
|
%main = OpFunction %void None %1
|
|
%4 = OpLabel
|
|
%8 = OpIEqual %bool %6 %int_2
|
|
OpSelectionMerge %10 None
|
|
OpBranchConditional %8 %11 %10
|
|
%11 = OpLabel
|
|
OpBranch %10
|
|
%10 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|