mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 08:00:12 +01:00
radeonsi: add into the disk cache key whether cached shaders contain LLVM IR
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14266>
This commit is contained in:
parent
8ed9d38e73
commit
1caa94f2a5
1 changed files with 2 additions and 0 deletions
|
|
@ -181,6 +181,8 @@ void si_get_ir_cache_key(struct si_shader_selector *sel, bool ngg, bool es,
|
|||
*/
|
||||
if (sel->screen->use_ngg_culling)
|
||||
shader_variant_flags |= 1 << 4;
|
||||
if (sel->screen->record_llvm_ir)
|
||||
shader_variant_flags |= 1 << 5;
|
||||
|
||||
/* bit gap */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue