mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Fix uninitialized Vulkan sampler hash.
This commit is contained in:
committed by
Бранимир Караџић
parent
0c5cb8ee5f
commit
3ea69999e6
@@ -3275,6 +3275,7 @@ VK_IMPORT_DEVICE
|
||||
VkSampler getSampler(uint32_t _samplerFlags, uint32_t _mipLevels)
|
||||
{
|
||||
bx::HashMurmur2A hash;
|
||||
hash.begin();
|
||||
hash.add(_samplerFlags);
|
||||
hash.add(_mipLevels);
|
||||
uint32_t hashKey = hash.end();
|
||||
|
||||
Reference in New Issue
Block a user