blob: 2bc675d734810f55841a9849403898d0b8e8c1c2 [file] [log] [blame] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 20
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %main "main"
OpName %signed_literal "signed_literal"
OpName %unsigned_literal "unsigned_literal"
OpName %signed_constant "signed_constant"
OpName %unsigned_constant "unsigned_constant"
OpName %shr_const_expr "shr_const_expr"
OpDecorate %_arr_float_uint_4 ArrayStride 4
%void = OpTypeVoid
%1 = OpTypeFunction %void
%float = OpTypeFloat 32
%uint = OpTypeInt 32 0
%uint_4 = OpConstant %uint 4
%_arr_float_uint_4 = OpTypeArray %float %uint_4
%_ptr_Function__arr_float_uint_4 = OpTypePointer Function %_arr_float_uint_4
%11 = OpConstantNull %_arr_float_uint_4
%main = OpFunction %void None %1
%4 = OpLabel
%signed_literal = OpVariable %_ptr_Function__arr_float_uint_4 Function %11
%unsigned_literal = OpVariable %_ptr_Function__arr_float_uint_4 Function %11
%signed_constant = OpVariable %_ptr_Function__arr_float_uint_4 Function %11
%unsigned_constant = OpVariable %_ptr_Function__arr_float_uint_4 Function %11
%shr_const_expr = OpVariable %_ptr_Function__arr_float_uint_4 Function %11
%16 = OpLoad %_arr_float_uint_4 %signed_literal
OpStore %unsigned_literal %16
%17 = OpLoad %_arr_float_uint_4 %signed_literal
OpStore %signed_constant %17
%18 = OpLoad %_arr_float_uint_4 %signed_literal
OpStore %unsigned_constant %18
%19 = OpLoad %_arr_float_uint_4 %signed_literal
OpStore %shr_const_expr %19
OpReturn
OpFunctionEnd