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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user