Searched refs:pstage (Results 1 - 13 of 13) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_pipe.h30 stage_from_pipe(enum pipe_shader_type pstage) argument
40 return stages[pstage];
H A Diris_screen.c491 enum pipe_shader_type pstage)
494 gl_shader_stage stage = stage_from_pipe(pstage);
489 iris_get_compiler_options(struct pipe_screen * pscreen,enum pipe_shader_ir ir,enum pipe_shader_type pstage) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_pipe.h30 stage_from_pipe(enum pipe_shader_type pstage) argument
40 return stages[pstage];
H A Dcrocus_screen.c649 enum pipe_shader_type pstage)
652 gl_shader_stage stage = stage_from_pipe(pstage);
647 crocus_get_compiler_options(struct pipe_screen * pscreen,enum pipe_shader_ir ir,enum pipe_shader_type pstage) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_pipe.h30 stage_from_pipe(enum pipe_shader_type pstage) argument
40 return stages[pstage];
H A Diris_screen.c635 enum pipe_shader_type pstage)
638 gl_shader_stage stage = stage_from_pipe(pstage);
633 iris_get_compiler_options(struct pipe_screen * pscreen,enum pipe_shader_ir ir,enum pipe_shader_type pstage) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_program.c91 enum pipe_shader_type pstage = pipe_shader_type_from_mesa(stage); local in function:get_shader_module_for_stage
95 struct zink_shader_key *key = &state->shader_keys.key[pstage];
98 ctx->inlinable_uniforms_valid_mask & BITFIELD64_BIT(pstage)) {
99 if (prog->inlined_variant_count[pstage] < ZINK_MAX_INLINED_VARIANTS)
106 LIST_FOR_EACH_ENTRY_SAFE(iter, next, &prog->shader_cache[pstage][!!base_size], list) {
132 zm->default_variant = !base_size && list_is_empty(&prog->shader_cache[pstage][0]);
134 prog->inlined_variant_count[pstage]++;
136 list_add(&zm->list, &prog->shader_cache[pstage][!!base_size]);
167 u_foreach_bit(pstage, mask) {
168 assert(prog->shaders[pstage]);
[all...]
H A Dzink_context.h435 zink_pipeline_flags_from_pipe_stage(enum pipe_shader_type pstage) argument
437 switch (pstage) {
H A Dzink_descriptors.c1238 enum pipe_shader_type pstage = shader ? pipe_shader_type_from_mesa(shader->nir->info.stage) : i; local in function:update_push_ubo_descriptors
1239 VkDescriptorBufferInfo *info = &ctx->di.ubos[pstage][0];
1240 unsigned dynamic_idx = is_compute ? 0 : tgsi_processor_to_shader_stage(pstage);
1249 const bool used = (pg->dd->push_usage & BITFIELD_BIT(pstage)) == BITFIELD_BIT(pstage);
1252 init_write_descriptor(NULL, desc_set, ZINK_DESCRIPTOR_TYPE_UBO, tgsi_processor_to_shader_stage(pstage), &wds[i], 0);
1255 desc_set_res_add(zds, ctx->di.descriptor_res[ZINK_DESCRIPTOR_TYPE_UBO][pstage][0], i, cache_hit);
H A Dzink_compiler.c1509 enum pipe_shader_type pstage = pipe_shader_type_from_mesa(shader->nir->info.stage); local in function:zink_shader_free
1510 assert(pstage < ZINK_SHADER_COUNT);
1515 prog->shaders[pstage] = NULL;
H A Dzink_context.c1038 unbind_ubo(struct zink_context *ctx, struct zink_resource *res, enum pipe_shader_type pstage, unsigned slot) argument
1042 res->ubo_bind_mask[pstage] &= ~BITFIELD_BIT(slot);
1043 res->ubo_bind_count[pstage == PIPE_SHADER_COMPUTE]--;
1044 update_res_bind_count(ctx, res, pstage == PIPE_SHADER_COMPUTE, true);
1048 invalidate_inlined_uniforms(struct zink_context *ctx, enum pipe_shader_type pstage) argument
1050 unsigned bit = BITFIELD_BIT(pstage);
1055 if (pstage == PIPE_SHADER_COMPUTE)
1058 struct zink_shader_key *key = &ctx->gfx_pipeline_state.shader_keys.key[pstage];
1137 unbind_ssbo(struct zink_context *ctx, struct zink_resource *res, enum pipe_shader_type pstage, unsigned slot, bool writable) argument
1141 res->ssbo_bind_mask[pstage]
[all...]
H A Dzink_draw.cpp178 enum pipe_shader_type pstage = pipe_shader_type_from_mesa(ctx->last_vertex_stage->nir->info.stage); local in function:update_gfx_program
179 ctx->dirty_shader_stages |= BITFIELD_BIT(pstage);
180 memcpy(&ctx->gfx_pipeline_state.shader_keys.key[pstage].key.vs_base,
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.1.0.rst2057 - zink: assert that pstage is within range

Completed in 27 milliseconds