Skip to content

nir/serialize: Prevent writing uninitialized state_slot data

Connor Abbott requested to merge cwabbott0/mesa:review/nir-serialize-fix into master

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.

Merge request reports