blob: 2c6df3eb293d6d32819b96535ecded8d4ea74f73 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 30
; Schema: 0
OpCapability Shader
OpCapability ImageQuery
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %t_f "t_f"
OpName %t_i "t_i"
OpName %t_u "t_u"
OpName %main "main"
OpName %fdims "fdims"
OpName %idims "idims"
OpName %udims "udims"
OpDecorate %t_f DescriptorSet 0
OpDecorate %t_f Binding 0
OpDecorate %t_i DescriptorSet 0
OpDecorate %t_i Binding 1
OpDecorate %t_u DescriptorSet 0
OpDecorate %t_u Binding 2
%float = OpTypeFloat 32
%3 = OpTypeImage %float 3D 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant
%int = OpTypeInt 32 1
%7 = OpTypeImage %int 3D 0 0 0 1 Unknown
%_ptr_UniformConstant_7 = OpTypePointer UniformConstant %7
%t_i = OpVariable %_ptr_UniformConstant_7 UniformConstant
%uint = OpTypeInt 32 0
%11 = OpTypeImage %uint 3D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%t_u = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid
%13 = OpTypeFunction %void
%v3uint = OpTypeVector %uint 3
%int_1 = OpConstant %int 1
%_ptr_Function_v3uint = OpTypePointer Function %v3uint
%23 = OpConstantNull %v3uint
%main = OpFunction %void None %13
%16 = OpLabel
%fdims = OpVariable %_ptr_Function_v3uint Function %23
%idims = OpVariable %_ptr_Function_v3uint Function %23
%udims = OpVariable %_ptr_Function_v3uint Function %23
%19 = OpLoad %3 %t_f
%17 = OpImageQuerySizeLod %v3uint %19 %int_1
OpStore %fdims %17
%25 = OpLoad %7 %t_i
%24 = OpImageQuerySizeLod %v3uint %25 %int_1
OpStore %idims %24
%28 = OpLoad %11 %t_u
%27 = OpImageQuerySizeLod %v3uint %28 %int_1
OpStore %udims %27
OpReturn
OpFunctionEnd