mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
radv: hash radv_shader_stage_key
This will allow us to remove the pipeline key completely for compute/rt pipelines. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27036>
This commit is contained in:
parent
853298edb1
commit
739c8eb681
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ radv_hash_shaders(const struct radv_device *device, unsigned char *hash, const s
|
|||
continue;
|
||||
|
||||
_mesa_sha1_update(&ctx, stages[s].shader_sha1, sizeof(stages[s].shader_sha1));
|
||||
_mesa_sha1_update(&ctx, &stages[s].key, sizeof(stages[s].key));
|
||||
}
|
||||
_mesa_sha1_final(&ctx, hash);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue