vkd3d/libs
Giovanni Mascellani a2aeb3a142 vkd3d-shader/spirv: Cache numeric types without through the general declaration cache.
Numeric types are used very frequently, and doing a tree search
each time one is needed tends to waste a lot of time.

I ran the compilation of ~1000 DXBC-TPF shaders randomly taken from
my collection and measured the performance using callgrind and the
kcachegrind "cycle count" estimation.

BEFORE:
 * 1,764,035,136 cycles
 * 1,767,948,767 cycles
 * 1,773,927,734 cycles

AFTER:
 * 1,472,384,755 cycles
 * 1,469,506,188 cycles
 * 1,470,191,425 cycles

So callgrind would estimate a 16% improvement at least.
2024-09-23 15:48:35 +02:00
..
vkd3d vkd3d: Sort bounded descriptor ranges after unbounded ones of equal offset. 2024-09-23 15:45:26 +02:00
vkd3d-common vkd3d-common: Replace assert() with VKD3D_ASSERT(). 2024-08-13 21:20:28 +02:00
vkd3d-shader vkd3d-shader/spirv: Cache numeric types without through the general declaration cache. 2024-09-23 15:48:35 +02:00
vkd3d-utils vkd3d-utils: Do not emit implicit truncation warnings from D3DCompile2VKD3D() before version 42. 2024-09-03 15:07:36 +02:00
.gitignore libs/vkd3d: Trace build version. 2018-06-27 22:43:49 +02:00