Home
last modified time | relevance | path

Searched refs:sysvals (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/panfrost/util/
Dpan_sysval.c143 struct panfrost_sysvals *sysvals, in pan_add_sysval() argument
148 sysvals->sysvals[id] = sysval; in pan_add_sysval()
154 struct panfrost_sysvals *sysvals, in pan_lookup_sysval() argument
164 assert(sysvals->sysvals[id] == sysval); in pan_lookup_sysval()
169 return pan_add_sysval(sysval_to_id, sysvals, sysval, in pan_lookup_sysval()
170 sysvals->sysval_count++); in pan_lookup_sysval()
174 panfrost_init_sysvals(struct panfrost_sysvals *sysvals, in panfrost_init_sysvals() argument
178 memset(sysvals, 0, sizeof(*sysvals)); in panfrost_init_sysvals()
184 if (!fixed_sysvals->sysvals[i]) in panfrost_init_sysvals()
187 pan_add_sysval(sysval_to_id, sysvals, in panfrost_init_sysvals()
[all …]
Dpan_ir.h132 unsigned sysvals[MAX_SYSVAL_COUNT]; member
168 panfrost_init_sysvals(struct panfrost_sysvals *sysvals,
174 struct panfrost_sysvals *sysvals,
368 struct panfrost_sysvals sysvals; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_cmd_buffer.c217 struct panvk_sysvals *sysvals = &bind_point_state->desc_state.sysvals; in panvk_cmd_prepare_draw_sysvals() local
220 if (sysvals->first_vertex != draw->offset_start || in panvk_cmd_prepare_draw_sysvals()
221 sysvals->base_vertex != base_vertex || in panvk_cmd_prepare_draw_sysvals()
222 sysvals->base_instance != draw->first_instance) { in panvk_cmd_prepare_draw_sysvals()
223 sysvals->first_vertex = draw->offset_start; in panvk_cmd_prepare_draw_sysvals()
224 sysvals->base_vertex = base_vertex; in panvk_cmd_prepare_draw_sysvals()
225 sysvals->base_instance = draw->first_instance; in panvk_cmd_prepare_draw_sysvals()
230 memcpy(&sysvals->blend_constants, cmdbuf->state.blend.constants, in panvk_cmd_prepare_draw_sysvals()
237 &sysvals->viewport_scale); in panvk_cmd_prepare_draw_sysvals()
239 &sysvals->viewport_offset); in panvk_cmd_prepare_draw_sysvals()
[all …]
Dpanvk_vX_shader.c48 panvk_init_sysvals(struct panfrost_sysvals *sysvals, in panvk_init_sysvals() argument
51 memset(sysvals, 0, sizeof(*sysvals)); in panvk_init_sysvals()
58 sysvals->sysvals[SYSVAL_SLOT(name)] = PAN_SYSVAL_##SYSVAL in panvk_init_sysvals()
69 sysvals->sysval_count = SYSVAL_SLOT(dyn_ssbos); in panvk_init_sysvals()
377 assert(memcmp(&shader->info.sysvals, &fixed_sysvals, in panvk_per_arch()
Dpanvk_cmd_buffer.c96 struct panvk_sysvals *sysvals = &desc_state->sysvals; in panvk_set_dyn_ssbo_pointers() local
102 sysvals->dyn_ssbos[dyn_ssbo_offset + i] = (struct panvk_ssbo_addr) { in panvk_set_dyn_ssbo_pointers()
Dpanvk_vX_pipeline.c245 pipeline->sysvals[stage].ids = shader->info.sysvals; in panvk_pipeline_builder_init_sysvals()
246 pipeline->sysvals[stage].ubo_idx = shader->sysval_ubo; in panvk_pipeline_builder_init_sysvals()
Dpanvk_private.h576 struct panvk_sysvals sysvals; member
866 } sysvals[MESA_SHADER_STAGES]; member
Dpanvk_vX_cs.c321 sizeof(state->sysvals), in panvk_per_arch()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_helpers.c33 for (unsigned i = 0; i < ss->info.sysvals.sysval_count; ++i) { in panfrost_analyze_sysvals()
34 switch (PAN_SYSVAL_TYPE(ss->info.sysvals.sysvals[i])) { in panfrost_analyze_sysvals()
Dpan_cmdstream.c1289 for (unsigned i = 0; i < ss->info.sysvals.sysval_count; ++i) { in panfrost_upload_sysvals()
1290 int sysval = ss->info.sysvals.sysvals[i]; in panfrost_upload_sysvals()
1473 size_t sys_size = sizeof(float) * 4 * ss->info.sysvals.sysval_count; in panfrost_emit_const_buf()
1538 … unsigned sysval_type = PAN_SYSVAL_TYPE(ss->info.sysvals.sysvals[sysval_idx]); in panfrost_emit_const_buf()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_nir.h71 } sysvals; member
84 } sysvals; member
Ddzn_cmd_buffer.c2395 sizeof(cmdbuf->state.sysvals.gfx) / 4, in dzn_cmd_buffer_update_sysvals()
2396 &cmdbuf->state.sysvals.gfx, 0); in dzn_cmd_buffer_update_sysvals()
2399 sizeof(cmdbuf->state.sysvals.compute) / 4, in dzn_cmd_buffer_update_sysvals()
2400 &cmdbuf->state.sysvals.compute, 0); in dzn_cmd_buffer_update_sysvals()
2908 cmdbuf->state.sysvals.gfx.first_vertex = 0; in dzn_cmd_buffer_indirect_draw()
2909 cmdbuf->state.sysvals.gfx.base_instance = 0; in dzn_cmd_buffer_indirect_draw()
2910 cmdbuf->state.sysvals.gfx.is_indexed_draw = indexed; in dzn_cmd_buffer_indirect_draw()
3282 cmdbuf->state.sysvals.compute.group_count_x = groupCountX; in dzn_CmdDispatch()
3283 cmdbuf->state.sysvals.compute.group_count_y = groupCountY; in dzn_CmdDispatch()
3284 cmdbuf->state.sysvals.compute.group_count_z = groupCountZ; in dzn_CmdDispatch()
[all …]
Ddzn_private.h531 } sysvals; member
/third_party/mesa3d/src/panfrost/lib/
Dpan_indirect_dispatch.c163 assert(!shader_info.sysvals.sysval_count); in GENX()
Dpan_shader.c314 if (info->sysvals.sysval_count && inputs->fixed_sysval_ubo < 0) in GENX()
Dpan_blend.c840 assert(info.sysvals.sysval_count == 0); in GENX()
Dpan_indirect_draw.c1131 assert(!shader_info.sysvals.sysval_count); in create_indirect_draw_shader()
/third_party/mesa3d/docs/relnotes/
D20.1.7.rst58 - panfrost: Use memctx for sysvals
D22.2.4.rst133 - iris: invalidate sysvals if grid dimension changes
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_draw.cpp754 unsigned sysvals[] = { in update_draw_indirect_with_sysvals() local
762 for (unsigned sysval : sysvals) { in update_draw_indirect_with_sysvals()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c453 setup_vec4_image_sysval(uint32_t *sysvals, uint32_t idx, in setup_vec4_image_sysval() argument
459 sysvals[i] = BRW_PARAM_IMAGE(idx, offset / sizeof(uint32_t) + i); in setup_vec4_image_sysval()
462 sysvals[i] = BRW_PARAM_BUILTIN_ZERO; in setup_vec4_image_sysval()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c423 setup_vec4_image_sysval(uint32_t *sysvals, uint32_t idx, in setup_vec4_image_sysval() argument
429 sysvals[i] = BRW_PARAM_IMAGE(idx, offset / sizeof(uint32_t) + i); in setup_vec4_image_sysval()
432 sysvals[i] = BRW_PARAM_BUILTIN_ZERO; in setup_vec4_image_sysval()
/third_party/mesa3d/src/panfrost/bifrost/
Dcompiler.h747 struct panfrost_sysvals *sysvals; member
Dbifrost_compile.c671 b->shader->info.sysvals, in bi_load_sysval_to()
5200 .sysvals = &info->sysvals, in bi_compile_variant()
5313 panfrost_init_sysvals(&info->sysvals, in bifrost_compile_shader_nir()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c1589 pan_lookup_sysval(ctx->sysval_to_id, &ctx->info->sysvals, sysval); in emit_sysval_read()
3137 ctx->sysval_to_id = panfrost_init_sysvals(&info->sysvals, in midgard_compile_shader_nir()

12