blob: 87a25a97ee1487ef99a86646031c08b4e88b5800 [file] [log] [blame] [edit]
; Test: Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_1.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 14
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationIndex
OpExecutionMode %3 LocalSize 1 1 1
OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
%void = OpTypeVoid
%5 = OpTypeFunction %void
%float = OpTypeFloat 32
%uint = OpTypeInt 32 0
%int = OpTypeInt 32 1
%v3uint = OpTypeVector %uint 3
%v3int = OpTypeVector %int 3
%_ptr_Input_int = OpTypePointer Input %int
%gl_LocalInvocationIndex = OpVariable %_ptr_Input_int Input
%3 = OpFunction %void None %5
%12 = OpLabel
%13 = OpCopyObject %_ptr_Input_int %gl_LocalInvocationIndex
%2 = OpLoad %int %13
OpReturn
OpFunctionEnd