Sergei Trofimovich
66ff2d8a4a
Common/Hashmaps.h: add missing <stdint> include
...
On gcc-10 the build fails as:
```
[ 51%] Building CXX object CMakeFiles/Core.dir/GPU/Null/NullGpu.cpp.o
In file included from ../GPU/Common/DrawEngineCommon.h:24,
from ../GPU/Null/NullGpu.cpp:18:
../Common/Hashmaps.h:11:7: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
11 | const uint32_t hashmapSeed = 0x23B58532;
| ^~~~~~~~
| u_int32_t
```
This happens due to improved transitive include hygiene on
gcc-10 headers. The change includes <cstdint> to pull in
'uint32_t' typedef.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-01-25 17:59:53 +00:00
Henrik Rydgård
6505f7762c
GCC buildfix (can't use things without definitions in templates).
...
Could also have included base/logging.h but meh.
2018-03-27 16:28:33 +02:00
Henrik Rydgård
d125fa00e1
Make sure the renderpass cache hashmap is never accessed from the main thread at runtime. Should help #10811
2018-03-27 14:45:41 +02:00
Henrik Rydgård
2ebae034a4
Vulkan: Show samplers in "shader debug"
2017-12-07 09:28:18 +01:00
Unknown W. Brackets
8a58bf6596
Hashmaps: Another cleanup.
2017-12-02 11:55:54 -08:00
Unknown W. Brackets
668b17febf
Hashmaps: Reset count on clear.
2017-12-02 10:45:46 -08:00
Unknown W. Brackets
bbb4987cc0
Hashmaps: Reset state when growing.
...
std::move() is by no means guaranteed to clear.
2017-12-02 09:47:15 -08:00
Unknown W. Brackets
e9a7bda2d5
Hashmaps: Change some crashes to asserts.
...
Silence is not golden.
2017-12-02 09:46:48 -08:00
Henrik Rydgård
0e5b398c9d
Minor optimization.
2017-11-01 21:43:08 +01:00
Henrik Rydgård
94b16bf097
DenseHashMap: Speed up clearing. Became more important since I had to disable keeping descriptor sets around between frames.
2017-11-01 10:09:16 +01:00
Henrik Rydgård
6a1fa728d8
Remove Globals.h
2017-08-31 17:15:22 +02:00
Henrik Rydgård
e1f991a096
Linux buildfix
2017-08-20 21:51:48 +02:00
Henrik Rydgård
9c3549f0be
... And also for the vertex decoder (DenseHashMap)
2017-08-20 19:18:50 +02:00
Henrik Rydgård
10cebb4195
32-bit buildfix
2017-08-20 15:33:53 +02:00
Henrik Rydgård
6ffb3d6b53
Buildfix
2017-08-20 14:58:10 +02:00
Henrik Rydgård
237cca683b
Maintain the hashmap from time to time. Fix a bug in count reset on grow.
2017-08-20 13:34:11 +02:00
Henrik Rydgård
e0e13e191f
Replace the most critical unordered_maps and maps with two new maps: FastHashMap and PrehashMap.
2017-08-20 11:30:19 +02:00