Commit 99a71580 authored by Markus Wick's avatar Markus Wick
Browse files

gl_shader_cache: Use an u32 for the binding point cache.

The std::string generation with its malloc and free requirement
was a noticeable overhead. Also switch to an ordered_map to
avoid the std::hash call. As those maps usually have a size of
two elements, the lookup time shall not matter.
parent dda4b5e8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment