/third_party/mesa3d/src/panfrost/util/ |
D | pan_sysval.c | 143 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 …]
|
D | pan_ir.h | 132 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/ |
D | panvk_vX_cmd_buffer.c | 217 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 …]
|
D | panvk_vX_shader.c | 48 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()
|
D | panvk_cmd_buffer.c | 96 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()
|
D | panvk_vX_pipeline.c | 245 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()
|
D | panvk_private.h | 576 struct panvk_sysvals sysvals; member 866 } sysvals[MESA_SHADER_STAGES]; member
|
D | panvk_vX_cs.c | 321 sizeof(state->sysvals), in panvk_per_arch()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_helpers.c | 33 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()
|
D | pan_cmdstream.c | 1289 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/ |
D | dzn_nir.h | 71 } sysvals; member 84 } sysvals; member
|
D | dzn_cmd_buffer.c | 2395 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 …]
|
D | dzn_private.h | 531 } sysvals; member
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_indirect_dispatch.c | 163 assert(!shader_info.sysvals.sysval_count); in GENX()
|
D | pan_shader.c | 314 if (info->sysvals.sysval_count && inputs->fixed_sysval_ubo < 0) in GENX()
|
D | pan_blend.c | 840 assert(info.sysvals.sysval_count == 0); in GENX()
|
D | pan_indirect_draw.c | 1131 assert(!shader_info.sysvals.sysval_count); in create_indirect_draw_shader()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.1.7.rst | 58 - panfrost: Use memctx for sysvals
|
D | 22.2.4.rst | 133 - iris: invalidate sysvals if grid dimension changes
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_draw.cpp | 754 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/ |
D | iris_program.c | 453 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/ |
D | crocus_program.c | 423 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/ |
D | compiler.h | 747 struct panfrost_sysvals *sysvals; member
|
D | bifrost_compile.c | 671 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/ |
D | midgard_compile.c | 1589 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()
|