dawn-cmake/test/unittest/reader/spirv/SpvModuleScopeVarParserTest...

46 lines
1.6 KiB
Plaintext
Raw Normal View History

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 26
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %x_1 "x_1"
OpName %x_2 "x_2"
OpName %x_3 "x_3"
OpName %x_4 "x_4"
OpName %x_5 "x_5"
OpName %main_1 "main_1"
OpName %main "main"
%bool = OpTypeBool
%true = OpConstantTrue %bool
%_ptr_Private_bool = OpTypePointer Private %bool
%x_1 = OpVariable %_ptr_Private_bool Private %true
%false = OpConstantFalse %bool
%x_2 = OpVariable %_ptr_Private_bool Private %false
%int = OpTypeInt 32 1
%int_n1 = OpConstant %int -1
%_ptr_Private_int = OpTypePointer Private %int
%x_3 = OpVariable %_ptr_Private_int Private %int_n1
%uint = OpTypeInt 32 0
%uint_1 = OpConstant %uint 1
%_ptr_Private_uint = OpTypePointer Private %uint
%x_4 = OpVariable %_ptr_Private_uint Private %uint_1
%float = OpTypeFloat 32
%float_1_5 = OpConstant %float 1.5
%_ptr_Private_float = OpTypePointer Private %float
%x_5 = OpVariable %_ptr_Private_float Private %float_1_5
%void = OpTypeVoid
%19 = OpTypeFunction %void
%main_1 = OpFunction %void None %19
%22 = OpLabel
OpReturn
OpFunctionEnd
%main = OpFunction %void None %19
%24 = OpLabel
%25 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd