Home
last modified time | relevance | path

Searched refs:rt_count (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/panfrost/lib/
Dpan_cs.c107 if (fb->rt_count == 1 && fb->rts[0].view && !fb->rts[0].discard && in GENX()
116 for (unsigned i = 0; i < fb->rt_count; i++) { in GENX()
271 assert(rt_crc < fb->rt_count); in pan_prepare_crc()
326 for (int cb = 0; cb < fb->rt_count; ++cb) { in pan_cbuf_bytes_per_pixel()
676 for (unsigned i = 0; i < fb->rt_count; ++i) { in pan_force_clean_write()
745 cfg.render_target_count = MAX2(fb->rt_count, 1); in GENX()
801 unsigned rt_count = MAX2(fb->rt_count, 1); in GENX() local
803 for (unsigned i = 0; i < rt_count; i++) { in GENX()
815 tags |= MALI_POSITIVE(MAX2(fb->rt_count, 1)) << 2; in GENX()
827 assert(fb->rt_count <= 1); in GENX()
[all …]
Dpan_blitter.c183 unsigned rt_count; member
195 for (unsigned i = 0; i < views->rt_count; i++) { in pan_blitter_is_ms()
219 for (unsigned i = 0; i < MAX2(views->rt_count, 1); ++i) { in pan_blitter_emit_blends()
286 panfrost_last_nonnull(blend_shaders, MAX2(views->rt_count, 1)) : 0; in pan_blitter_emit_rsd()
329 unsigned rt_count, in pan_blitter_get_blend_shaders() argument
334 if (!rt_count) in pan_blitter_get_blend_shaders()
338 .rt_count = rt_count, in pan_blitter_get_blend_shaders()
341 for (unsigned i = 0; i < rt_count; i++) { in pan_blitter_get_blend_shaders()
675 for (unsigned i = 0; i < views->rt_count; i++) { in pan_blitter_get_key()
701 assert(!views->rt_count || (!views->src_z && !views->src_s)); in pan_blitter_get_rsd()
[all …]
Dpan_cs.h108 unsigned rt_count; member
Dpan_blend.h69 unsigned rt_count; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_pipeline.c220 bo_size += pan_size(BLEND) * MAX2(pipeline->blend.state.rt_count, 1); in panvk_pipeline_builder_alloc_static_state_bo()
304 for (unsigned rt = 0; rt < pipeline->blend.state.rt_count; rt++) { in panvk_pipeline_builder_init_shaders()
312 for (unsigned rt = 0; rt < MAX2(pipeline->blend.state.rt_count, 1); rt++) { in panvk_pipeline_builder_init_shaders()
544 pipeline->blend.state.rt_count = util_last_bit(builder->active_color_attachments); in panvk_pipeline_builder_parse_color_blend()
549 for (unsigned i = 0; i < pipeline->blend.state.rt_count; i++) { in panvk_pipeline_builder_parse_color_blend()
711 for (unsigned i = 0; i < blend->rt_count; ++i) { in panvk_fs_required()
Dpanvk_vX_meta_clear.c351 .rt_count = 1, in panvk_meta_clear_color_img()
418 .rt_count = 1, in panvk_meta_clear_zs_img()
Dpanvk_vX_cmd_buffer.c81 for (unsigned i = 0; i < fbinfo->rt_count; i++) in panvk_per_arch()
191 PAN_DESC_ARRAY(MAX2(fbinfo->rt_count, 1), RENDER_TARGET)); in panvk_per_arch()
395 PAN_DESC_ARRAY(pipeline->blend.state.rt_count, in panvk_draw_prepare_fs_rsd()
409 for (unsigned i = 0; i < pipeline->blend.state.rt_count; i++) { in panvk_draw_prepare_fs_rsd()
Dpanvk_cmd_buffer.c440 fbinfo->rt_count = subpass->color_count; in panvk_cmd_fb_info_set_subpass()
530 for (unsigned i = 0; i < cmdbuf->state.fb.info.rt_count; i++) { in panvk_cmd_preload_fb_after_batch_split()
Dpanvk_vX_meta_blit.c81 fbinfo->rt_count = 1; in panvk_meta_blit()
Dpanvk_vX_shader.c108 for (unsigned rt = 0; rt < blend_state->rt_count; rt++) { in panvk_lower_blend()
Dpanvk_vX_meta_copy.c656 .rt_count = 1, in panvk_meta_copy_img2img()
1089 .rt_count = 1, in panvk_meta_copy_buf2img()
Dpanvk_vX_cs.c614 if (!blend->rt_count || !rts->equation.color_mask) { in panvk_per_arch()
/third_party/mesa3d/src/panfrost/lib/genxml/
Ddecode.c192 unsigned rt_count; member
205 .rt_count = 1 in pandecode_sfbd()
336 info.rt_count = params.render_target_count; in pandecode_mfbd_bfr()
827 .rt_count = 1 in pandecode_dcd()
895 for (unsigned i = 0; i < fbd_info.rt_count; i++) { in pandecode_dcd()
1112 expected_tag |= MALI_FBD_TAG_IS_MFBD | (MALI_POSITIVE(info.rt_count) << 2); in pandecode_fragment_job()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c348 unsigned rt_count = batch->key.nr_cbufs; in panfrost_emit_blend() local
354 for (unsigned i = 0; i < MAX2(rt_count, 1); ++i) { in panfrost_emit_blend()
358 if (rt_count == 0 || !batch->key.cbufs[i] || so->info[i].no_colour) { in panfrost_emit_blend()
525 unsigned rt_count = ctx->pipe_framebuffer.nr_cbufs; in panfrost_prepare_fs_state() local
529 for (unsigned c = 0; c < rt_count; ++c) in panfrost_prepare_fs_state()
572 if (rt_count > 0) { in panfrost_prepare_fs_state()
600 cfg.legacy_blend_shader = panfrost_last_nonnull(blend_shaders, rt_count); in panfrost_prepare_fs_state()
706 unsigned rt_count = MAX2(ctx->pipe_framebuffer.nr_cbufs, 1); in panfrost_emit_frag_shader_meta() local
710 PAN_DESC_ARRAY(rt_count, BLEND)); in panfrost_emit_frag_shader_meta()
845 unsigned rt_count = MAX2(batch->key.nr_cbufs, 1); in panfrost_emit_blend_valhall() local
[all …]
Dpan_job.c487 fb->rt_count = batch->key.nr_cbufs; in panfrost_batch_to_fb_info()
495 for (unsigned i = 0; i < fb->rt_count; i++) { in panfrost_batch_to_fb_info()