blob: 5d4e85c1458a60c0bda253b704d5459d5f97d303 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 23
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %fragment_main "fragment_main"
OpExecutionMode %fragment_main OriginUpperLeft
OpName %tex "tex"
OpName %fragment_main "fragment_main"
OpDecorate %tex NonReadable
OpDecorate %tex DescriptorSet 0
OpDecorate %tex Binding 0
%float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 0 0 0 2 Rgba8
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%tex = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid
%5 = OpTypeFunction %void
%v4float = OpTypeVector %float 4
%float_1 = OpConstant %float 1
%float_2 = OpConstant %float 2
%float_3 = OpConstant %float 3
%float_4 = OpConstant %float 4
%14 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4
%int = OpTypeInt 32 1
%v2int = OpTypeVector %int 2
%int_9 = OpConstant %int 9
%int_8 = OpConstant %int 8
%21 = OpConstantComposite %v2int %int_9 %int_8
%fragment_main = OpFunction %void None %5
%8 = OpLabel
%16 = OpLoad %3 %tex
%22 = OpVectorShuffle %v4float %14 %14 2 1 0 3
OpImageWrite %16 %21 %22
OpReturn
OpFunctionEnd