// File: /workspace/github_cpp_makefile_star2_O1/KellerMartins[P]PDS2-Pacman/source/graphics/rendering.cpp
// Function: RenderManager::SetShaderUniforms()
void SetShaderUniforms(){

        _blurPassPixelSizeLoc = GetShaderLocation(_blurPass, "xyHalfPixelSize_zwPixelSize");
        _blurPassBlurQualityLoc = GetShaderLocation(_blurPass, "blurQuality");
        _copyRTPixelSizeLoc = GetShaderLocation(_copyRTShader, "PixelSize");

        int texIndex = 1;
        SetShaderValuei(_blurPass, GetShaderLocation(_blurPass, "texture1"), &texIndex, 1);
        SetShaderValuei(_screenShader, GetShaderLocation(_screenShader, "texture1"), &texIndex, 1);

        float val = _screenWidth;
        SetShaderValue(_outlineFilter, GetShaderLocation(_outlineFilter, "width"), &val, 1);
        SetShaderValue(_screenShader, GetShaderLocation(_screenShader, "width"), &val, 1);
        val = _screenHeight;
        SetShaderValue(_outlineFilter, GetShaderLocation(_outlineFilter, "height"), &val, 1);
        SetShaderValue(_screenShader, GetShaderLocation(_screenShader, "height"), &val, 1);

        val = 0.25;
        SetShaderValue(_screenShader, GetShaderLocation(_screenShader, "vignettePower"), &val, 1);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x448, %rsp            # imm = 0x448
leaq 0x205e1f(%rip), %rbx    # 0x215118
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205e8b(%rip), %eax    # 0x215198
movl %eax, 0x80(%rsp)
leaq 0x8a44d(%rip), %rdi     # 0x99768
callq 0x22492
movl %eax, 0x20611e(%rip)    # 0x215444
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205e5e(%rip), %eax    # 0x215198
movl %eax, 0x80(%rsp)
leaq 0x8a43c(%rip), %rdi     # 0x99784
callq 0x22492
movl %eax, 0x2060f5(%rip)    # 0x215448
leaq 0x206066(%rip), %rsi    # 0x2153c0
movl $0x10, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl 0x2060d5(%rip), %eax    # 0x215440
movl %eax, 0x80(%rsp)
leaq 0x8a401(%rip), %rdi     # 0x9977a
callq 0x22492
movl %eax, 0x2060c8(%rip)    # 0x21544c
leaq -0x30(%rbp), %r14
movl $0x1, (%r14)
leaq -0x3e8(%rbp), %r12
movl $0x84, %edx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x86a0
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205dde(%rip), %eax    # 0x215198
movl %eax, 0x80(%rsp)
leaq 0x8a3c8(%rip), %r15     # 0x99790
movq %r15, %rdi
callq 0x22492
movl $0x10, %ecx
movq %rsp, %rdi
movq %r12, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x80(%r12), %ecx
movl %ecx, 0x80(%rsp)
movl %eax, %edi
movq %r14, %rsi
movl $0x1, %edx
callq 0x225da
leaq 0x205f35(%rip), %rbx    # 0x215338
leaq -0x360(%rbp), %r12
movl $0x84, %edx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x86a0
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205f8a(%rip), %eax    # 0x2153b8
movl %eax, 0x80(%rsp)
movq %r15, %rdi
callq 0x22492
movl $0x10, %ecx
movq %rsp, %rdi
movq %r12, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x80(%r12), %ecx
movl %ecx, 0x80(%rsp)
movl %eax, %edi
movq %r14, %rsi
movl $0x1, %edx
callq 0x225da
cvtsi2ssl 0x205c97(%rip), %xmm0 # 0x215108
leaq -0x2c(%rbp), %r14
movss %xmm0, (%r14)
leaq 0x205e2f(%rip), %r15    # 0x2152b0
leaq -0x2d8(%rbp), %r13
movl $0x84, %edx
movq %r13, %rdi
movq %r15, %rsi
callq 0x86a0
movl $0x10, %ecx
movq %rsp, %rdi
movq %r15, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205e84(%rip), %eax    # 0x215330
movl %eax, 0x80(%rsp)
leaq 0x8a2df(%rip), %r12     # 0x99799
movq %r12, %rdi
callq 0x22492
movl $0x10, %ecx
movq %rsp, %rdi
movq %r13, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x80(%r13), %ecx
movl %ecx, 0x80(%rsp)
movl %eax, %edi
movq %r14, %rsi
movl $0x1, %edx
callq 0x22517
leaq -0x250(%rbp), %r13
movl $0x84, %edx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x86a0
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205ea0(%rip), %eax    # 0x2153b8
movl %eax, 0x80(%rsp)
movq %r12, %rdi
callq 0x22492
movl $0x10, %ecx
movq %rsp, %rdi
movq %r13, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x80(%r13), %ecx
movl %ecx, 0x80(%rsp)
movl %eax, %edi
movq %r14, %rsi
movl $0x1, %edx
callq 0x22517
xorps %xmm0, %xmm0
cvtsi2ssl 0x205baf(%rip), %xmm0 # 0x21510c
movss %xmm0, (%r14)
leaq -0x1c8(%rbp), %r12
movl $0x84, %edx
movq %r12, %rdi
movq %r15, %rsi
callq 0x86a0
movl $0x10, %ecx
movq %rsp, %rdi
movq %r15, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205da3(%rip), %eax    # 0x215330
movl %eax, 0x80(%rsp)
leaq 0x8a204(%rip), %r15     # 0x9979f
movq %r15, %rdi
callq 0x22492
movl $0x10, %ecx
movq %rsp, %rdi
movq %r12, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x80(%r12), %ecx
movl %ecx, 0x80(%rsp)
movl %eax, %edi
movq %r14, %rsi
movl $0x1, %edx
callq 0x22517
leaq -0x140(%rbp), %r12
movl $0x84, %edx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x86a0
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205dbe(%rip), %eax    # 0x2153b8
movl %eax, 0x80(%rsp)
movq %r15, %rdi
callq 0x22492
movl $0x10, %ecx
movq %rsp, %rdi
movq %r12, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x80(%r12), %ecx
movl %ecx, 0x80(%rsp)
movl %eax, %edi
movq %r14, %rsi
movl $0x1, %edx
callq 0x22517
movl $0x3e800000, (%r14)     # imm = 0x3E800000
leaq -0xb8(%rbp), %r15
movl $0x84, %edx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x86a0
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205d51(%rip), %eax    # 0x2153b8
movl %eax, 0x80(%rsp)
leaq 0x8a131(%rip), %rdi     # 0x997a6
callq 0x22492
movl $0x10, %ecx
movq %rsp, %rdi
movq %r15, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x80(%r15), %ecx
movl %ecx, 0x80(%rsp)
movl %eax, %edi
movq %r14, %rsi
movl $0x1, %edx
callq 0x22517
addq $0x448, %rsp            # imm = 0x448
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq