| ; Copyright 2013 The Flutter Authors. All rights reserved. |
| ; Use of this source code is governed by a BSD-style license that can be |
| ; found in the LICENSE file. |
| ; |
| ; SPIR-V |
| ; Version: 1.0 |
| ; Generator: Khronos Glslang Reference Front End; 8 |
| ; Bound: 13 |
| ; Schema: 0 |
| ; |
| ; A GLSL instruction not in the set defined in `constants.dart` is used |
| ; on line 30. |
| ; |
| OpCapability Shader |
| %1 = OpExtInstImport "GLSL.std.450" |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Fragment %main "main" %oColor |
| OpExecutionMode %main OriginLowerLeft |
| OpSource ESSL 320 |
| OpName %main "main" |
| OpName %oColor "oColor" |
| OpDecorate %oColor RelaxedPrecision |
| OpDecorate %oColor Location 0 |
| %void = OpTypeVoid |
| %3 = OpTypeFunction %void |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %oColor = OpVariable %_ptr_Output_v4float Output |
| %float_0 = OpConstant %float 0 |
| %11 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0 |
| %main = OpFunction %void None %3 |
| %5 = OpLabel |
| %13 = OpExtInst %v4float %1 Round %11 |
| OpStore %oColor %13 |
| OpReturn |
| OpFunctionEnd |