[D3D12] Compact float constants and don't split them into pages

This commit is contained in:
Triang3l
2018-09-30 20:17:26 +03:00
parent eb50ebd885
commit c4599ff211
7 changed files with 733 additions and 485 deletions

View File

@@ -524,6 +524,9 @@ class Shader {
// Each bit corresponds to a storage index [0-255].
uint32_t bool_bitmap[256 / 32];
// Total number of kConstantFloat registers read by the shader.
uint32_t float_count;
// Computed byte count of all registers required when packed.
uint32_t packed_byte_length;
};