mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +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> (cherry picked from commit025bc9e50e) Conflicts: src/gallium/drivers/radeonsi/si_state_shaders.c
This commit is contained in:
parent
d247a0720a
commit
f396e154f1
2 changed files with 3 additions and 1 deletions
|
|
@ -643,7 +643,7 @@
|
|||
"description": "radeonsi: add options.inline_uniforms to the shader cache key",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "b7501184b90a20015885b3f2276a7a5ceaef31a7"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -89,6 +89,8 @@ void si_get_ir_cache_key(struct si_shader_selector *sel, bool ngg, bool es,
|
|||
shader_variant_flags |= 1 << 8;
|
||||
if (sel->screen->debug_flags & DBG(GISEL))
|
||||
shader_variant_flags |= 1 << 9;
|
||||
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