Home
last modified time | relevance | path

Searched refs:pstage (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_program.c91 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()
[all …]
Dzink_context.h439 zink_pipeline_flags_from_pipe_stage(enum pipe_shader_type pstage) in zink_pipeline_flags_from_pipe_stage() argument
441 switch (pstage) { in zink_pipeline_flags_from_pipe_stage()
Dzink_descriptors.c1238 … enum pipe_shader_type pstage = shader ? pipe_shader_type_from_mesa(shader->nir->info.stage) : i; in update_push_ubo_descriptors() local
1239 VkDescriptorBufferInfo *info = &ctx->di.ubos[pstage][0]; in update_push_ubo_descriptors()
1240 unsigned dynamic_idx = is_compute ? 0 : tgsi_processor_to_shader_stage(pstage); in update_push_ubo_descriptors()
1249 const bool used = (pg->dd->push_usage & BITFIELD_BIT(pstage)) == BITFIELD_BIT(pstage); in update_push_ubo_descriptors()
1252 …ptor(NULL, desc_set, ZINK_DESCRIPTOR_TYPE_UBO, tgsi_processor_to_shader_stage(pstage), &wds[i], 0); in update_push_ubo_descriptors()
1255 … desc_set_res_add(zds, ctx->di.descriptor_res[ZINK_DESCRIPTOR_TYPE_UBO][pstage][0], i, cache_hit); in update_push_ubo_descriptors()
Dzink_context.c1062 unbind_ubo(struct zink_context *ctx, struct zink_resource *res, enum pipe_shader_type pstage, unsig… in unbind_ubo() argument
1066 res->ubo_bind_mask[pstage] &= ~BITFIELD_BIT(slot); in unbind_ubo()
1067 res->ubo_bind_count[pstage == PIPE_SHADER_COMPUTE]--; in unbind_ubo()
1068 update_res_bind_count(ctx, res, pstage == PIPE_SHADER_COMPUTE, true); in unbind_ubo()
1072 invalidate_inlined_uniforms(struct zink_context *ctx, enum pipe_shader_type pstage) in invalidate_inlined_uniforms() argument
1074 unsigned bit = BITFIELD_BIT(pstage); in invalidate_inlined_uniforms()
1079 if (pstage == PIPE_SHADER_COMPUTE) in invalidate_inlined_uniforms()
1082 struct zink_shader_key *key = &ctx->gfx_pipeline_state.shader_keys.key[pstage]; in invalidate_inlined_uniforms()
1161 unbind_ssbo(struct zink_context *ctx, struct zink_resource *res, enum pipe_shader_type pstage, unsi… in unbind_ssbo() argument
1165 res->ssbo_bind_mask[pstage] &= ~BITFIELD_BIT(slot); in unbind_ssbo()
[all …]
Dzink_draw.cpp178 …enum pipe_shader_type pstage = pipe_shader_type_from_mesa(ctx->last_vertex_stage->nir->info.stage); in update_gfx_program() local
179 ctx->dirty_shader_stages |= BITFIELD_BIT(pstage); in update_gfx_program()
180 memcpy(&ctx->gfx_pipeline_state.shader_keys.key[pstage].key.vs_base, in update_gfx_program()
Dzink_compiler.c1509 enum pipe_shader_type pstage = pipe_shader_type_from_mesa(shader->nir->info.stage); in zink_shader_free() local
1510 assert(pstage < ZINK_SHADER_COUNT); in zink_shader_free()
1515 prog->shaders[pstage] = NULL; in zink_shader_free()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_pipe.h30 stage_from_pipe(enum pipe_shader_type pstage) in stage_from_pipe() argument
40 return stages[pstage]; in stage_from_pipe()
Dcrocus_screen.c649 enum pipe_shader_type pstage) in crocus_get_compiler_options() argument
652 gl_shader_stage stage = stage_from_pipe(pstage); in crocus_get_compiler_options()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_pipe.h30 stage_from_pipe(enum pipe_shader_type pstage) in stage_from_pipe() argument
40 return stages[pstage]; in stage_from_pipe()
Diris_screen.c635 enum pipe_shader_type pstage) in iris_get_compiler_options() argument
638 gl_shader_stage stage = stage_from_pipe(pstage); in iris_get_compiler_options()
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst2057 - zink: assert that pstage is within range