blob: a13e5d6cb9732f0a9847c9902e92a0478068febe [file] [log] [blame] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 30
; Schema: 0
OpCapability Shader
OpCapability SampleRateShading
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %none_1 %flat_1 %perspective_center_1 %perspective_centroid_1 %perspective_sample_1 %linear_center_1 %linear_centroid_1 %linear_sample_1
OpExecutionMode %main OriginUpperLeft
OpName %none_1 "none_1"
OpName %flat_1 "flat_1"
OpName %perspective_center_1 "perspective_center_1"
OpName %perspective_centroid_1 "perspective_centroid_1"
OpName %perspective_sample_1 "perspective_sample_1"
OpName %linear_center_1 "linear_center_1"
OpName %linear_centroid_1 "linear_centroid_1"
OpName %linear_sample_1 "linear_sample_1"
OpName %In "In"
OpMemberName %In 0 "none"
OpMemberName %In 1 "flat"
OpMemberName %In 2 "perspective_center"
OpMemberName %In 3 "perspective_centroid"
OpMemberName %In 4 "perspective_sample"
OpMemberName %In 5 "linear_center"
OpMemberName %In 6 "linear_centroid"
OpMemberName %In 7 "linear_sample"
OpName %main_inner "main_inner"
OpName %in "in"
OpName %main "main"
OpDecorate %none_1 Location 0
OpDecorate %flat_1 Location 1
OpDecorate %flat_1 Flat
OpDecorate %perspective_center_1 Location 2
OpDecorate %perspective_centroid_1 Location 3
OpDecorate %perspective_centroid_1 Centroid
OpDecorate %perspective_sample_1 Location 4
OpDecorate %perspective_sample_1 Sample
OpDecorate %linear_center_1 Location 5
OpDecorate %linear_center_1 NoPerspective
OpDecorate %linear_centroid_1 Location 6
OpDecorate %linear_centroid_1 NoPerspective
OpDecorate %linear_centroid_1 Centroid
OpDecorate %linear_sample_1 Location 7
OpDecorate %linear_sample_1 NoPerspective
OpDecorate %linear_sample_1 Sample
OpMemberDecorate %In 0 Offset 0
OpMemberDecorate %In 1 Offset 4
OpMemberDecorate %In 2 Offset 8
OpMemberDecorate %In 3 Offset 12
OpMemberDecorate %In 4 Offset 16
OpMemberDecorate %In 5 Offset 20
OpMemberDecorate %In 6 Offset 24
OpMemberDecorate %In 7 Offset 28
%float = OpTypeFloat 32
%_ptr_Input_float = OpTypePointer Input %float
%none_1 = OpVariable %_ptr_Input_float Input
%flat_1 = OpVariable %_ptr_Input_float Input
%perspective_center_1 = OpVariable %_ptr_Input_float Input
%perspective_centroid_1 = OpVariable %_ptr_Input_float Input
%perspective_sample_1 = OpVariable %_ptr_Input_float Input
%linear_center_1 = OpVariable %_ptr_Input_float Input
%linear_centroid_1 = OpVariable %_ptr_Input_float Input
%linear_sample_1 = OpVariable %_ptr_Input_float Input
%void = OpTypeVoid
%In = OpTypeStruct %float %float %float %float %float %float %float %float
%11 = OpTypeFunction %void %In
%17 = OpTypeFunction %void
%main_inner = OpFunction %void None %11
%in = OpFunctionParameter %In
%16 = OpLabel
OpReturn
OpFunctionEnd
%main = OpFunction %void None %17
%19 = OpLabel
%21 = OpLoad %float %none_1
%22 = OpLoad %float %flat_1
%23 = OpLoad %float %perspective_center_1
%24 = OpLoad %float %perspective_centroid_1
%25 = OpLoad %float %perspective_sample_1
%26 = OpLoad %float %linear_center_1
%27 = OpLoad %float %linear_centroid_1
%28 = OpLoad %float %linear_sample_1
%29 = OpCompositeConstruct %In %21 %22 %23 %24 %25 %26 %27 %28
%20 = OpFunctionCall %void %main_inner %29
OpReturn
OpFunctionEnd