89 lines
3.8 KiB
Plaintext
89 lines
3.8 KiB
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 42
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpCapability Float16
|
|
OpCapability UniformAndStorageBuffer16BitAccess
|
|
OpCapability StorageBuffer16BitAccess
|
|
OpCapability StorageInputOutput16
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint Fragment %main "main" %loc0_1 %loc1_1 %loc2_1 %loc3_1 %loc4_1 %loc5_1
|
|
OpExecutionMode %main OriginUpperLeft
|
|
OpName %loc0_1 "loc0_1"
|
|
OpName %loc1_1 "loc1_1"
|
|
OpName %loc2_1 "loc2_1"
|
|
OpName %loc3_1 "loc3_1"
|
|
OpName %loc4_1 "loc4_1"
|
|
OpName %loc5_1 "loc5_1"
|
|
OpName %FragmentInputs "FragmentInputs"
|
|
OpMemberName %FragmentInputs 0 "loc0"
|
|
OpMemberName %FragmentInputs 1 "loc1"
|
|
OpMemberName %FragmentInputs 2 "loc2"
|
|
OpMemberName %FragmentInputs 3 "loc3"
|
|
OpMemberName %FragmentInputs 4 "loc4"
|
|
OpMemberName %FragmentInputs 5 "loc5"
|
|
OpName %main_inner "main_inner"
|
|
OpName %inputs "inputs"
|
|
OpName %main "main"
|
|
OpDecorate %loc0_1 Location 0
|
|
OpDecorate %loc0_1 Flat
|
|
OpDecorate %loc1_1 Location 1
|
|
OpDecorate %loc1_1 Flat
|
|
OpDecorate %loc2_1 Location 2
|
|
OpDecorate %loc3_1 Location 3
|
|
OpDecorate %loc4_1 Location 4
|
|
OpDecorate %loc5_1 Location 5
|
|
OpMemberDecorate %FragmentInputs 0 Offset 0
|
|
OpMemberDecorate %FragmentInputs 1 Offset 4
|
|
OpMemberDecorate %FragmentInputs 2 Offset 8
|
|
OpMemberDecorate %FragmentInputs 3 Offset 16
|
|
OpMemberDecorate %FragmentInputs 4 Offset 32
|
|
OpMemberDecorate %FragmentInputs 5 Offset 40
|
|
%int = OpTypeInt 32 1
|
|
%_ptr_Input_int = OpTypePointer Input %int
|
|
%loc0_1 = OpVariable %_ptr_Input_int Input
|
|
%uint = OpTypeInt 32 0
|
|
%_ptr_Input_uint = OpTypePointer Input %uint
|
|
%loc1_1 = OpVariable %_ptr_Input_uint Input
|
|
%float = OpTypeFloat 32
|
|
%_ptr_Input_float = OpTypePointer Input %float
|
|
%loc2_1 = OpVariable %_ptr_Input_float Input
|
|
%v4float = OpTypeVector %float 4
|
|
%_ptr_Input_v4float = OpTypePointer Input %v4float
|
|
%loc3_1 = OpVariable %_ptr_Input_v4float Input
|
|
%half = OpTypeFloat 16
|
|
%_ptr_Input_half = OpTypePointer Input %half
|
|
%loc4_1 = OpVariable %_ptr_Input_half Input
|
|
%v3half = OpTypeVector %half 3
|
|
%_ptr_Input_v3half = OpTypePointer Input %v3half
|
|
%loc5_1 = OpVariable %_ptr_Input_v3half Input
|
|
%void = OpTypeVoid
|
|
%FragmentInputs = OpTypeStruct %int %uint %float %v4float %half %v3half
|
|
%19 = OpTypeFunction %void %FragmentInputs
|
|
%31 = OpTypeFunction %void
|
|
%main_inner = OpFunction %void None %19
|
|
%inputs = OpFunctionParameter %FragmentInputs
|
|
%24 = OpLabel
|
|
%25 = OpCompositeExtract %int %inputs 0
|
|
%26 = OpCompositeExtract %uint %inputs 1
|
|
%27 = OpCompositeExtract %float %inputs 2
|
|
%28 = OpCompositeExtract %v4float %inputs 3
|
|
%29 = OpCompositeExtract %half %inputs 4
|
|
%30 = OpCompositeExtract %v3half %inputs 5
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%main = OpFunction %void None %31
|
|
%33 = OpLabel
|
|
%35 = OpLoad %int %loc0_1
|
|
%36 = OpLoad %uint %loc1_1
|
|
%37 = OpLoad %float %loc2_1
|
|
%38 = OpLoad %v4float %loc3_1
|
|
%39 = OpLoad %half %loc4_1
|
|
%40 = OpLoad %v3half %loc5_1
|
|
%41 = OpCompositeConstruct %FragmentInputs %35 %36 %37 %38 %39 %40
|
|
%34 = OpFunctionCall %void %main_inner %41
|
|
OpReturn
|
|
OpFunctionEnd
|