blob: aedb68e53d9dddee3a62670b0e135d20c6fef880 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 17
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main" %tint_symbol
OpExecutionMode %main LocalSize 1 1 1
OpName %x_1 "x_1"
OpName %tint_symbol "tint_symbol"
OpName %main_1 "main_1"
OpName %main "main"
OpDecorate %tint_symbol BuiltIn GlobalInvocationId
%uint = OpTypeInt 32 0
%v3uint = OpTypeVector %uint 3
%_ptr_Private_v3uint = OpTypePointer Private %v3uint
%5 = OpConstantNull %v3uint
%x_1 = OpVariable %_ptr_Private_v3uint Private %5
%_ptr_Input_v3uint = OpTypePointer Input %v3uint
%tint_symbol = OpVariable %_ptr_Input_v3uint Input
%void = OpTypeVoid
%8 = OpTypeFunction %void
%main_1 = OpFunction %void None %8
%11 = OpLabel
%12 = OpLoad %v3uint %x_1
OpReturn
OpFunctionEnd
%main = OpFunction %void None %8
%14 = OpLabel
%15 = OpLoad %v3uint %tint_symbol
OpStore %x_1 %15
%16 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd