mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-10 03:28:18 +02:00
ir3: don't store shader_options in the cache
It's quite large (228B) and is only needed during compilation. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41994>
This commit is contained in:
parent
2c5fdc16eb
commit
67b3f7166a
2 changed files with 3 additions and 3 deletions
|
|
@ -691,6 +691,8 @@ struct ir3_shader_variant {
|
|||
*/
|
||||
struct ir3_imm_const_state imm_state;
|
||||
|
||||
struct ir3_shader_options shader_options;
|
||||
|
||||
/*
|
||||
* The following macros are used by the shader disk cache save/
|
||||
* restore paths to serialize/deserialize the variant. Any
|
||||
|
|
@ -706,8 +708,6 @@ struct ir3_shader_variant {
|
|||
|
||||
char blake3_str[BLAKE3_HEX_LEN];
|
||||
|
||||
struct ir3_shader_options shader_options;
|
||||
|
||||
uint32_t constant_data_size;
|
||||
|
||||
/* Levels of nesting of flow control:
|
||||
|
|
|
|||
|
|
@ -359,7 +359,7 @@ sp_xs_config(const struct ir3_shader_variant *v)
|
|||
static bool
|
||||
push_shared_consts(const struct ir3_shader_variant *v)
|
||||
{
|
||||
return v && v->shader_options.push_consts_type == IR3_PUSH_CONSTS_SHARED_PREAMBLE;
|
||||
return v && v->const_state->push_consts_type == IR3_PUSH_CONSTS_SHARED_PREAMBLE;
|
||||
}
|
||||
|
||||
template <chip CHIP>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue