2021-09-02 13:49:59 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2023-02-24 21:02:40 +00:00
|
|
|
; Bound: 20
|
2021-09-02 13:49:59 +00:00
|
|
|
; 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"
|
2023-02-24 21:02:40 +00:00
|
|
|
OpName %shr_const_expr "shr_const_expr"
|
2022-06-29 00:55:36 +00:00
|
|
|
OpDecorate %_arr_float_uint_4 ArrayStride 4
|
2021-09-02 13:49:59 +00:00
|
|
|
%void = OpTypeVoid
|
2022-06-29 00:55:36 +00:00
|
|
|
%1 = OpTypeFunction %void
|
2021-09-02 13:49:59 +00:00
|
|
|
%float = OpTypeFloat 32
|
2022-06-29 00:55:36 +00:00
|
|
|
%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
|
2023-02-24 21:02:40 +00:00
|
|
|
%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
|
2021-09-02 13:49:59 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|