// File: /workspace/github_cpp_makefile_star2_O3/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 0x205d77(%rip), %rbx    # 0x215118
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205de3(%rip), %eax    # 0x215198
movl %eax, 0x80(%rsp)
leaq 0x8a3a5(%rip), %rdi     # 0x99768
callq 0x22516
movl %eax, 0x206076(%rip)    # 0x215444
movl $0x10, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl 0x205db6(%rip), %eax    # 0x215198
movl %eax, 0x80(%rsp)
leaq 0x8a394(%rip), %rdi     # 0x99784
callq 0x22516
movl %eax, 0x20604d(%rip)    # 0x215448
leaq 0x205fbe(%rip), %rsi    # 0x2153c0
movl $0x10, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl 0x20602d(%rip), %eax    # 0x215440
movl %eax, 0x80(%rsp)
leaq 0x8a359(%rip), %rdi     # 0x9977a
callq 0x22516
movl %eax, 0x206020(%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 0x205d36(%rip), %eax    # 0x215198
movl %eax, 0x80(%rsp)
leaq 0x8a320(%rip), %r15     # 0x99790
movq %r15, %rdi
callq 0x22516
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 0x2265e
leaq 0x205e8d(%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 0x205ee2(%rip), %eax    # 0x2153b8
movl %eax, 0x80(%rsp)
movq %r15, %rdi
callq 0x22516
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 0x2265e
cvtsi2ssl 0x205bef(%rip), %xmm0 # 0x215108
leaq -0x2c(%rbp), %r14
movss %xmm0, (%r14)
leaq 0x205d87(%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 0x205ddc(%rip), %eax    # 0x215330
movl %eax, 0x80(%rsp)
leaq 0x8a237(%rip), %r12     # 0x99799
movq %r12, %rdi
callq 0x22516
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 0x2259b
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 0x205df8(%rip), %eax    # 0x2153b8
movl %eax, 0x80(%rsp)
movq %r12, %rdi
callq 0x22516
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 0x2259b
xorps %xmm0, %xmm0
cvtsi2ssl 0x205b07(%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 0x205cfb(%rip), %eax    # 0x215330
movl %eax, 0x80(%rsp)
leaq 0x8a15c(%rip), %r15     # 0x9979f
movq %r15, %rdi
callq 0x22516
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 0x2259b
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 0x205d16(%rip), %eax    # 0x2153b8
movl %eax, 0x80(%rsp)
movq %r15, %rdi
callq 0x22516
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 0x2259b
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 0x205ca9(%rip), %eax    # 0x2153b8
movl %eax, 0x80(%rsp)
leaq 0x8a089(%rip), %rdi     # 0x997a6
callq 0x22516
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 0x2259b
addq $0x448, %rsp            # imm = 0x448
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq