blob: 950da1cb9fc4dfa3b9fe2578c867516d8434d91e [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 19
; Schema: 0
OpCapability Shader
OpCapability Image1D
OpCapability StorageImageExtendedFormats
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %x_20 "x_20"
OpName %main_1 "main_1"
OpName %main "main"
OpDecorate %x_20 NonReadable
OpDecorate %x_20 DescriptorSet 0
OpDecorate %x_20 Binding 0
%float = OpTypeFloat 32
%3 = OpTypeImage %float 1D 0 0 0 2 Rg32f
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%x_20 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid
%5 = OpTypeFunction %void
%int = OpTypeInt 32 1
%int_1 = OpConstant %int 1
%v4float = OpTypeVector %float 4
%float_0 = OpConstant %float 0
%15 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
%main_1 = OpFunction %void None %5
%8 = OpLabel
%10 = OpLoad %3 %x_20
OpImageWrite %10 %int_1 %15
OpReturn
OpFunctionEnd
%main = OpFunction %void None %5
%17 = OpLabel
%18 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd