// File: /workspace/github_cpp_makefile_star2_O1/rossy[P]crossc/SPIRV-Cross/spirv_glsl.cpp
// Function: spirv_cross::CompilerGLSL::type_to_glsl_constructor[abi:cxx11](spirv_cross::SPIRType const&)
string CompilerGLSL::type_to_glsl_constructor(const SPIRType &type)
{
	if (type.array.size() > 1)
	{
		if (options.flatten_multidimensional_arrays)
			SPIRV_CROSS_THROW("Cannot flatten constructors of multidimensional array constructors, e.g. float[][]().");
		else if (!options.es && options.version < 430)
			require_extension_internal("GL_ARB_arrays_of_arrays");
		else if (options.es && options.version < 310)
			SPIRV_CROSS_THROW("Arrays of arrays not supported before ESSL version 310.");
	}

	auto e = type_to_glsl(type);
	for (uint32_t i = 0; i < type.array.size(); i++)
		e += "[]";
	return e;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x28(%rdx), %rax
subq 0x20(%rdx), %rax
cmpq $0x5, %rax
jb 0x3525b
cmpb $0x1, 0x440(%r15)
je 0x352b5
movb 0x43c(%r15), %al
movl 0x438(%r15), %ecx
cmpl $0x1ae, %ecx            # imm = 0x1AE
setae %dl
orb %al, %dl
je 0x3521a
cmpl $0x136, %ecx            # imm = 0x136
setb %cl
andb %cl, %al
cmpb $0x1, %al
jne 0x3525b
movl $0x10, %edi
callq 0x6140
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x86689(%rip), %rsi     # 0xbb85b
leaq 0x866b9(%rip), %rdx     # 0xbb892
movq %rsp, %rdi
callq 0x7c64
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x6320
leaq 0xc7ba2(%rip), %rax     # 0xfcd98
addq $0x10, %rax
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0xc7b7a(%rip), %rsi     # 0xfcd80
movq 0xc8dcb(%rip), %rdx     # 0xfdfd8
movq %r14, %rdi
callq 0x6470
jmp 0x35315
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x86489(%rip), %rsi     # 0xbb6b4
leaq 0x86499(%rip), %rdx     # 0xbb6cb
movq %rsp, %rdi
callq 0x7c64
movq %rsp, %rsi
movq %r15, %rdi
callq 0x26a0a
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x3525b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6260
movq (%r15), %rax
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq *0x98(%rax)
movq 0x28(%rbx), %rax
cmpq 0x20(%rbx), %rax
je 0x352a5
movl $0x1, %ebp
leaq 0x83ce7(%rip), %r15     # 0xb8f6c
movq %r14, %rdi
movq %r15, %rsi
callq 0x64e0
movq 0x28(%rbx), %rax
subq 0x20(%rbx), %rax
movl %ebp, %ecx
sarq $0x2, %rax
incl %ebp
cmpq %rcx, %rax
ja 0x35285
movq %r14, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x6140
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x86533(%rip), %rsi     # 0xbb805
leaq 0x86581(%rip), %rdx     # 0xbb85a
movq %rsp, %rdi
callq 0x7c64
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x6320
leaq 0xc7aa2(%rip), %rax     # 0xfcd98
addq $0x10, %rax
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0xc7a7a(%rip), %rsi     # 0xfcd80
movq 0xc8ccb(%rip), %rdx     # 0xfdfd8
movq %r14, %rdi
callq 0x6470
jmp 0x35331
jmp 0x3534c
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x3537b
movq 0x10(%rsp), %rsi
jmp 0x35373
movq %rax, %rbx
jmp 0x3537b
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x35352
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x35352
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x3537b
movq %r14, %rdi
callq 0x6200
jmp 0x3537b
movq %rax, %rbx
movq (%r14), %rdi
addq $0x10, %r14
cmpq %r14, %rdi
je 0x3537b
movq (%r14), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0x64a0
nop