Files
wgpu/tests/out/spv/control-flow.spvasm
T

29 lines
661 B
Plaintext

; SPIR-V
; Version: 1.1
; Generator: rspirv
; Bound: 16
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %9 "main" %6
OpExecutionMode %9 LocalSize 1 1 1
OpDecorate %6 BuiltIn GlobalInvocationId
%2 = OpTypeVoid
%4 = OpTypeInt 32 0
%3 = OpTypeVector %4 3
%7 = OpTypePointer Input %3
%6 = OpVariable %7 Input
%10 = OpTypeFunction %2
%12 = OpConstant %4 2
%13 = OpConstant %4 1
%14 = OpConstant %4 72
%15 = OpConstant %4 264
%9 = OpFunction %2 None %10
%5 = OpLabel
%8 = OpLoad %3 %6
OpBranch %11
%11 = OpLabel
OpControlBarrier %12 %13 %14
OpControlBarrier %12 %12 %15
OpReturn
OpFunctionEnd