mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
iris: Use blob_write_uint32 for num_system_values
We read it with blob_read_uint32; we should write it as uint32 as well. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6280>
This commit is contained in:
parent
003b04e266
commit
e39326e617
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ iris_disk_cache_store(struct disk_cache *cache,
|
|||
*/
|
||||
blob_write_bytes(&blob, shader->prog_data, brw_prog_data_size(stage));
|
||||
blob_write_bytes(&blob, shader->map, shader->prog_data->program_size);
|
||||
blob_write_bytes(&blob, &shader->num_system_values, sizeof(unsigned));
|
||||
blob_write_uint32(&blob, shader->num_system_values);
|
||||
blob_write_bytes(&blob, shader->system_values,
|
||||
shader->num_system_values * sizeof(enum brw_param_builtin));
|
||||
blob_write_bytes(&blob, prog_data->param,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue