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:

committed by
Marge Bot

parent
853298edb1
commit
739c8eb681
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user