dawn-cmake/test/tint/identifiers/underscore/double/var.wgsl.expected.spvasm
Ryan Harrison dbc13af287 tint->dawn: Shuffle source tree in preperation of merging repos
docs/    -> docs/tint/
fuzzers/ -> src/tint/fuzzers/
samples/ -> src/tint/cmd/
src/     -> src/tint/
test/    -> test/tint/

BUG=tint:1418,tint:1433

Change-Id: Id2aa79f989aef3245b80ef4aa37a27ff16cd700b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80482
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2022-02-21 15:19:07 +00:00

40 lines
1.4 KiB
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 19
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %a "a"
OpName %a__ "a__"
OpName %unused_entry_point "unused_entry_point"
OpName %f "f"
OpName %b "b"
OpName %b__ "b__"
%int = OpTypeInt 32 1
%int_1 = OpConstant %int 1
%_ptr_Private_int = OpTypePointer Private %int
%a = OpVariable %_ptr_Private_int Private %int_1
%int_2 = OpConstant %int 2
%a__ = OpVariable %_ptr_Private_int Private %int_2
%void = OpTypeVoid
%7 = OpTypeFunction %void
%_ptr_Function_int = OpTypePointer Function %int
%16 = OpConstantNull %int
%unused_entry_point = OpFunction %void None %7
%10 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %7
%12 = OpLabel
%b = OpVariable %_ptr_Function_int Function %16
%b__ = OpVariable %_ptr_Function_int Function %16
%13 = OpLoad %int %a
OpStore %b %13
%17 = OpLoad %int %a__
OpStore %b__ %17
OpReturn
OpFunctionEnd