mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
radeonsi: add options.inline_uniforms to the shader cache key
It affects how shaders are finalized before caching.
Fixes: b7501184b9 ("radeonsi: implement inlinable uniforms")
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7542>
This commit is contained in:
parent
a73bdf4853
commit
025bc9e50e
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ void si_get_ir_cache_key(struct si_shader_selector *sel, bool ngg, bool es,
|
|||
!es &&
|
||||
sel->screen->options.vrs2x2)
|
||||
shader_variant_flags |= 1 << 10;
|
||||
if (sel->screen->options.inline_uniforms)
|
||||
shader_variant_flags |= 1 << 11;
|
||||
|
||||
struct mesa_sha1 ctx;
|
||||
_mesa_sha1_init(&ctx);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue