blob: 855359c74697412c241c529ef4c4c4462f670089 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 20
; Schema: 0
OpCapability Shader
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 DescriptorSet 0
OpDecorate %x_20 Binding 0
%float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_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
%int_1 = OpConstant %int 1
%main_1 = OpFunction %void None %5
%8 = OpLabel
%15 = OpLoad %3 %x_20
%12 = OpImageQuerySizeLod %v2int %15 %int_1
%9 = OpBitcast %v2uint %12
OpReturn
OpFunctionEnd
%main = OpFunction %void None %5
%18 = OpLabel
%19 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd