// File: /workspace/github_cpp_makefile_star2_O2/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 0x2056d2(%rip), %rbx    # 0x214138
movl $0x84, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsb (%rsi), %es:(%rdi)
leaq 0x89d0e(%rip), %rdi     # 0x98788
callq 0x218da
movl %eax, 0x2059df(%rip)    # 0x214464
movl $0x84, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsb (%rsi), %es:(%rdi)
leaq 0x89d0b(%rip), %rdi     # 0x987a4
callq 0x218da
movl %eax, 0x2059c4(%rip)    # 0x214468
leaq 0x205935(%rip), %rsi    # 0x2143e0
movl $0x84, %ecx
movq %rsp, %rdi
rep  movsb (%rsi), %es:(%rdi)
leaq 0x89cde(%rip), %rdi     # 0x9879a
callq 0x218da
movl %eax, 0x2059a5(%rip)    # 0x21446c
leaq -0x30(%rbp), %r15
movl $0x1, (%r15)
leaq -0x3e8(%rbp), %r14
movl $0x84, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8690
movl $0x84, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsb (%rsi), %es:(%rdi)
leaq 0x89cb3(%rip), %r12     # 0x987b0
movq %r12, %rdi
callq 0x218da
movl $0x84, %ecx
movq %rsp, %rdi
movq %r14, %rsi
rep  movsb (%rsi), %es:(%rdi)
pushq $0x1
popq %rbx
movl %eax, %edi
movq %r15, %rsi
movl %ebx, %edx
callq 0x21a22
leaq 0x205830(%rip), %r14    # 0x214358
leaq -0x360(%rbp), %r13
movl $0x84, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x8690
movl $0x84, %ecx
movq %rsp, %rdi
movq %r14, %rsi
rep  movsb (%rsi), %es:(%rdi)
movq %r12, %rdi
callq 0x218da
movl $0x84, %ecx
movq %rsp, %rdi
movq %r13, %rsi
rep  movsb (%rsi), %es:(%rdi)
movl %eax, %edi
movq %r15, %rsi
movl %ebx, %edx
movl %ebx, %r14d
callq 0x21a22
cvtsi2ssl 0x2055b0(%rip), %xmm0 # 0x214128
leaq -0x2c(%rbp), %r15
movss %xmm0, (%r15)
leaq 0x205748(%rip), %r12    # 0x2142d0
leaq -0x2d8(%rbp), %rbx
movl $0x84, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x8690
movl $0x84, %ecx
movq %rsp, %rdi
movq %r12, %rsi
rep  movsb (%rsi), %es:(%rdi)
leaq 0x89c06(%rip), %r13     # 0x987b9
movq %r13, %rdi
callq 0x218da
movl $0x84, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsb (%rsi), %es:(%rdi)
movl %eax, %edi
movq %r15, %rsi
movl %r14d, %edx
callq 0x2195f
leaq -0x250(%rbp), %rbx
movl $0x84, %edx
movq %rbx, %rdi
leaq 0x20576d(%rip), %rsi    # 0x214358
callq 0x8690
movl $0x84, %ecx
movq %rsp, %rdi
leaq 0x205759(%rip), %rsi    # 0x214358
rep  movsb (%rsi), %es:(%rdi)
movq %r13, %rdi
callq 0x218da
movl $0x84, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsb (%rsi), %es:(%rdi)
movl %eax, %edi
movq %r15, %rsi
movl %r14d, %edx
movl %r14d, %r13d
callq 0x2195f
cvtsi2ssl 0x2054fe(%rip), %xmm0 # 0x21412c
movss %xmm0, (%r15)
leaq -0x1c8(%rbp), %rbx
movl $0x84, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x8690
movl $0x84, %ecx
movq %rsp, %rdi
movq %r12, %rsi
rep  movsb (%rsi), %es:(%rdi)
leaq 0x89b61(%rip), %r12     # 0x987bf
movq %r12, %rdi
callq 0x218da
movl $0x84, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsb (%rsi), %es:(%rdi)
movl %eax, %edi
movq %r15, %rsi
movl %r14d, %edx
callq 0x2195f
leaq -0x140(%rbp), %rbx
movl $0x84, %edx
movq %rbx, %rdi
leaq 0x2056c2(%rip), %rsi    # 0x214358
callq 0x8690
movl $0x84, %ecx
movq %rsp, %rdi
leaq 0x2056ae(%rip), %rsi    # 0x214358
movq %rsi, %r14
rep  movsb (%rsi), %es:(%rdi)
movq %r12, %rdi
callq 0x218da
movl $0x84, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsb (%rsi), %es:(%rdi)
movl %eax, %edi
movq %r15, %rsi
movl %r13d, %edx
callq 0x2195f
movl $0x3e800000, (%r15)     # imm = 0x3E800000
leaq -0xb8(%rbp), %rbx
movl $0x84, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8690
movl $0x84, %ecx
movq %rsp, %rdi
movq %r14, %rsi
rep  movsb (%rsi), %es:(%rdi)
leaq 0x89ac3(%rip), %rdi     # 0x987c6
callq 0x218da
movl $0x84, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep  movsb (%rsi), %es:(%rdi)
movl %eax, %edi
movq %r15, %rsi
movl %r13d, %edx
callq 0x2195f
addq $0x448, %rsp            # imm = 0x448
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq