// File: 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
subq $0x9b0, %rsp            # imm = 0x9B0
leaq -0x88(%rbp), %rdi
leaq 0x20e0b7(%rip), %rsi    # 0x226170
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x88(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x8(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d563(%rip), %rdi     # 0xa564b
callq 0x2e552
movl %eax, 0x20e395(%rip)    # 0x226488
leaq -0x110(%rbp), %rdi
leaq 0x20e06f(%rip), %rsi    # 0x226170
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x110(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x90(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d534(%rip), %rdi     # 0xa5667
callq 0x2e552
movl %eax, 0x20e34e(%rip)    # 0x22648c
leaq -0x198(%rbp), %rdi
leaq 0x20e2b8(%rip), %rsi    # 0x226404
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x198(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x118(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d4df(%rip), %rdi     # 0xa565d
callq 0x2e552
movl %eax, 0x20e307(%rip)    # 0x226490
movl $0x1, -0x19c(%rbp)
leaq -0x220(%rbp), %rdi
leaq 0x20dfcf(%rip), %rsi    # 0x226170
movl $0x84, %edx
callq 0x96e0
leaq -0x2a8(%rbp), %rdi
leaq 0x20dfb7(%rip), %rsi    # 0x226170
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x2a8(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x228(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d488(%rip), %rdi     # 0xa5673
callq 0x2e552
movl %eax, -0x924(%rbp)
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x220(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x924(%rbp), %edi
movl -0x1a0(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq -0x19c(%rbp), %rsi
movl $0x1, %edx
callq 0x2e69a
leaq -0x330(%rbp), %rdi
leaq 0x20e144(%rip), %rsi    # 0x226380
movl $0x84, %edx
callq 0x96e0
leaq -0x3b8(%rbp), %rdi
leaq 0x20e12c(%rip), %rsi    # 0x226380
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x3b8(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x338(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d3ed(%rip), %rdi     # 0xa5673
callq 0x2e552
movl %eax, -0x920(%rbp)
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x330(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x920(%rbp), %edi
movl -0x2b0(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq -0x19c(%rbp), %rsi
movl $0x1, %edx
callq 0x2e69a
cvtsi2ssl 0x20de93(%rip), %xmm0 # 0x226164
movss %xmm0, -0x3bc(%rbp)
leaq -0x440(%rbp), %rdi
leaq 0x20e015(%rip), %rsi    # 0x2262fc
movl $0x84, %edx
callq 0x96e0
leaq -0x4c8(%rbp), %rdi
leaq 0x20dffd(%rip), %rsi    # 0x2262fc
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x4c8(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x448(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d34b(%rip), %rdi     # 0xa567c
callq 0x2e552
movl %eax, -0x91c(%rbp)
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x440(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x91c(%rbp), %edi
movl -0x3c0(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq -0x3bc(%rbp), %rsi
movl $0x1, %edx
callq 0x2e5d7
leaq -0x550(%rbp), %rdi
leaq 0x20dffe(%rip), %rsi    # 0x226380
movl $0x84, %edx
callq 0x96e0
leaq -0x5d8(%rbp), %rdi
leaq 0x20dfe6(%rip), %rsi    # 0x226380
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x5d8(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x558(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d2b0(%rip), %rdi     # 0xa567c
callq 0x2e552
movl %eax, -0x918(%rbp)
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x550(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x918(%rbp), %edi
movl -0x4d0(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq -0x3bc(%rbp), %rsi
movl $0x1, %edx
callq 0x2e5d7
cvtsi2ssl 0x20dd51(%rip), %xmm0 # 0x226168
movss %xmm0, -0x3bc(%rbp)
leaq -0x660(%rbp), %rdi
leaq 0x20decf(%rip), %rsi    # 0x2262fc
movl $0x84, %edx
callq 0x96e0
leaq -0x6e8(%rbp), %rdi
leaq 0x20deb7(%rip), %rsi    # 0x2262fc
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x6e8(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x668(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d20b(%rip), %rdi     # 0xa5682
callq 0x2e552
movl %eax, -0x914(%rbp)
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x660(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x914(%rbp), %edi
movl -0x5e0(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq -0x3bc(%rbp), %rsi
movl $0x1, %edx
callq 0x2e5d7
leaq -0x770(%rbp), %rdi
leaq 0x20deb8(%rip), %rsi    # 0x226380
movl $0x84, %edx
callq 0x96e0
leaq -0x7f8(%rbp), %rdi
leaq 0x20dea0(%rip), %rsi    # 0x226380
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x7f8(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x778(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d170(%rip), %rdi     # 0xa5682
callq 0x2e552
movl %eax, -0x910(%rbp)
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x770(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x910(%rbp), %edi
movl -0x6f0(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq -0x3bc(%rbp), %rsi
movl $0x1, %edx
callq 0x2e5d7
movss 0x8cff3(%rip), %xmm0    # 0xa5550
movss %xmm0, -0x3bc(%rbp)
leaq -0x880(%rbp), %rdi
leaq 0x20de0d(%rip), %rsi    # 0x226380
movl $0x84, %edx
callq 0x96e0
leaq -0x908(%rbp), %rdi
leaq 0x20ddf5(%rip), %rsi    # 0x226380
movl $0x84, %edx
callq 0x96e0
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x908(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x888(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq 0x8d0cc(%rip), %rdi     # 0xa5689
callq 0x2e552
movl %eax, -0x90c(%rbp)
movq %rsp, %rax
movl $0x10, %ecx
leaq -0x880(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl -0x90c(%rbp), %edi
movl -0x800(%rbp), %ecx
movl %ecx, 0x80(%rax)
leaq -0x3bc(%rbp), %rsi
movl $0x1, %edx
callq 0x2e5d7
addq $0x9b0, %rsp            # imm = 0x9B0
popq %rbp
retq
nopl (%rax)