Lines Matching refs:pstage
91 enum pipe_shader_type pstage = pipe_shader_type_from_mesa(stage); in get_shader_module_for_stage() local
95 struct zink_shader_key *key = &state->shader_keys.key[pstage]; in get_shader_module_for_stage()
98 ctx->inlinable_uniforms_valid_mask & BITFIELD64_BIT(pstage)) { in get_shader_module_for_stage()
99 if (prog->inlined_variant_count[pstage] < ZINK_MAX_INLINED_VARIANTS) in get_shader_module_for_stage()
106 LIST_FOR_EACH_ENTRY_SAFE(iter, next, &prog->shader_cache[pstage][!!base_size], list) { in get_shader_module_for_stage()
132 zm->default_variant = !base_size && list_is_empty(&prog->shader_cache[pstage][0]); in get_shader_module_for_stage()
134 prog->inlined_variant_count[pstage]++; in get_shader_module_for_stage()
136 list_add(&zm->list, &prog->shader_cache[pstage][!!base_size]); in get_shader_module_for_stage()
167 u_foreach_bit(pstage, mask) { in update_shader_modules()
168 assert(prog->shaders[pstage]); in update_shader_modules()
169 …struct zink_shader_module *zm = get_shader_module_for_stage(ctx, screen, prog->shaders[pstage], pr… in update_shader_modules()
170 state->modules[pstage] = zm->shader; in update_shader_modules()
171 if (prog->modules[pstage] == zm) in update_shader_modules()
173 if (prog->modules[pstage]) in update_shader_modules()
174 variant_hash ^= prog->modules[pstage]->hash; in update_shader_modules()
177 prog->modules[pstage] = zm; in update_shader_modules()
178 variant_hash ^= prog->modules[pstage]->hash; in update_shader_modules()