radv: store the post-processed shader binary config to the cache
This will allow us to reduce the size of radv_shader_info which is stored in the cache entry. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12992>
This commit is contained in:

committed by
Marge Bot

parent
1585629db2
commit
ced950e42f
@@ -434,7 +434,7 @@ VkResult radv_create_shaders(struct radv_pipeline *pipeline,
|
||||
|
||||
struct radv_shader_variant *radv_shader_variant_create(struct radv_device *device,
|
||||
const struct radv_shader_binary *binary,
|
||||
bool keep_shader_info);
|
||||
bool keep_shader_info, bool from_cache);
|
||||
struct radv_shader_variant *radv_shader_variant_compile(
|
||||
struct radv_device *device, struct vk_shader_module *module, struct nir_shader *const *shaders,
|
||||
int shader_count, struct radv_pipeline_layout *layout, const struct radv_pipeline_key *key,
|
||||
|
Reference in New Issue
Block a user