diff options
author | Connor Abbott <[email protected]> | 2019-03-08 13:05:53 +0100 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-03-11 15:17:41 +0100 |
commit | d086d16b8165244db53f20dbf60c921f4bb38f38 (patch) | |
tree | 4164a047d16a50a3469338183c87732ccd9b7891 /src/freedreno/vulkan/tu_query.c | |
parent | 47fc359822494935852de1e70e4d840b2fe6a25c (diff) |
nir/serialize: Prevent writing uninitialized state_slot data
The nir_state_slot struct had some padding that was never initialized.
Serializing the individual parts of the struct is more robust and avoids
the overhead of zeroing it at creation, so just do that.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/freedreno/vulkan/tu_query.c')
0 files changed, 0 insertions, 0 deletions