mirror of https://git.suyu.dev/suyu/suyu
gl_shader_cache: Remove unused program_code vector in GetShaderAddress()
Given std::vector is a type with a non-trivial destructor, this variable cannot be optimized away by the compiler, even if unused. Because of that, something that was intended to be fairly lightweight, was actually allocating 32KB and deallocating it at the end of the function.merge-requests/60/head
parent
ffe2336136
commit
2e7dc4cac9
Loading…
Reference in New Issue