dawn-cmake/test/tint/ptr_ref/copy/ptr_copy.spvasm

16 lines
476 B
Plaintext
Raw Normal View History

OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint GLCompute %100 "main"
OpExecutionMode %100 LocalSize 1 1 1
%uint = OpTypeInt 32 0
%void = OpTypeVoid
%voidfn = OpTypeFunction %void
%ptr = OpTypePointer Function %uint
%100 = OpFunction %void None %voidfn
%entry = OpLabel
%10 = OpVariable %ptr Function
%1 = OpCopyObject %ptr %10
%2 = OpCopyObject %ptr %1
OpReturn
OpFunctionEnd