blob: 5f31a307538a071da767be7f21c35e7ceaf0bdaf [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 19
; Schema: 0
OpCapability Shader
OpCapability StorageImageExtendedFormats
OpCapability ImageQuery
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 NonWritable
OpDecorate %x_20 DescriptorSet 0
OpDecorate %x_20 Binding 0
%float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 0 0 0 2 Rg32f
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%x_20 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid
%5 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%v2uint = OpTypeVector %uint 2
%int = OpTypeInt 32 1
%v2int = OpTypeVector %int 2
%main_1 = OpFunction %void None %5
%8 = OpLabel
%15 = OpLoad %3 %x_20
%12 = OpImageQuerySize %v2int %15
%9 = OpBitcast %v2uint %12
OpReturn
OpFunctionEnd
%main = OpFunction %void None %5
%17 = OpLabel
%18 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd