/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_shader.h | 191 rsd->properties.shader_wait_dependency_6 = info->bifrost.wait_6; in pan_shader_prepare_bifrost_rsd() 192 rsd->properties.shader_wait_dependency_7 = info->bifrost.wait_7; in pan_shader_prepare_bifrost_rsd() 194 pan_pack_message_preload(&rsd->message_preload_1, &info->bifrost.messages[0]); in pan_shader_prepare_bifrost_rsd() 195 pan_pack_message_preload(&rsd->message_preload_2, &info->bifrost.messages[1]); in pan_shader_prepare_bifrost_rsd()
|
H A D | pan_util.c | 79 panfrost_blendable_formats_v7[format].bifrost[dithered] : in panfrost_format_to_bifrost_blend() 80 panfrost_blendable_formats_v6[format].bifrost[dithered]; in panfrost_format_to_bifrost_blend()
|
H A D | pan_cs.h | 73 mali_ptr bifrost; member 118 struct pan_fb_bifrost_info bifrost; member
|
H A D | pan_shader.c | 32 #include "panfrost/bifrost/bifrost_compile.h" 324 for (unsigned i = 0; i < ARRAY_SIZE(info->bifrost.blend); ++i) { in pan_shader_compile() 325 info->bifrost.blend[i].format = in pan_shader_compile() 326 bifrost_blend_type_from_nir(info->bifrost.blend[i].type); in pan_shader_compile()
|
H A D | pan_format.h | 49 mali_pixel_format bifrost[2]; member
|
H A D | pan_blitter.c | 638 shader->blend_ret_offsets[i] = shader->info.bifrost.blend[i].return_offset; in pan_blitter_get_blit_shader() 639 shader->blend_types[i] = shader->info.bifrost.blend[i].type; in pan_blitter_get_blit_shader() 1244 if (fb->bifrost.pre_post.dcds.gpu) in pan_preload_fb_alloc_pre_post_dcds() 1247 fb->bifrost.pre_post.dcds = in pan_preload_fb_alloc_pre_post_dcds() 1258 assert(fb->bifrost.pre_post.dcds.cpu); in pan_preload_emit_pre_frame_dcd() 1259 void *dcd = fb->bifrost.pre_post.dcds.cpu + in pan_preload_emit_pre_frame_dcd() 1305 fb->bifrost.pre_post.modes[dcd_idx] = in pan_preload_emit_pre_frame_dcd() 1311 fb->bifrost.pre_post.modes[dcd_idx] = in pan_preload_emit_pre_frame_dcd()
|
H A D | pan_cs.c | 732 cfg.pre_frame_0 = pan_fix_frame_shader_mode(fb->bifrost.pre_post.modes[0], force_clean_write); in pan_emit_fbd() 733 cfg.pre_frame_1 = pan_fix_frame_shader_mode(fb->bifrost.pre_post.modes[1], force_clean_write); in pan_emit_fbd() 734 cfg.post_frame = pan_fix_frame_shader_mode(fb->bifrost.pre_post.modes[2], force_clean_write); in pan_emit_fbd() 735 cfg.frame_shader_dcds = fb->bifrost.pre_post.dcds.gpu; in pan_emit_fbd() 736 cfg.tiler = tiler_ctx->bifrost; in pan_emit_fbd()
|
/third_party/mesa3d/src/panfrost/bifrost/test/ |
H A D | test-message-preload.cpp | 33 A->shader->info.bifrost = rzalloc(mem_ctx, struct bifrost_shader_info); \ 34 B->shader->info.bifrost = rzalloc(mem_ctx, struct bifrost_shader_info); \
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_pack.c | 727 assert(loc < ARRAY_SIZE(ctx->info.bifrost->blend)); in bi_collect_blend_ret_addr() 728 assert(!ctx->info.bifrost->blend[loc].return_offset); in bi_collect_blend_ret_addr() 729 ctx->info.bifrost->blend[loc].return_offset = in bi_collect_blend_ret_addr() 731 assert(!(ctx->info.bifrost->blend[loc].return_offset & 0x7)); in bi_collect_blend_ret_addr()
|
H A D | bi_opt_message_preload.c | 125 ctx->info.bifrost->messages[nr_preload] = msg; in bi_opt_message_preload()
|
H A D | bifrost_compile.c | 527 b->shader->info.bifrost->uses_flat_shading = true; in bi_emit_load_vary() 762 bool bifrost = b->shader->arch <= 8; in bi_emit_blend_op() local 785 bi_blend_to(b, bifrost ? bi_temp(b->shader) : bi_null(), rgba, in bi_emit_blend_op() 795 bi_blend_to(b, bifrost ? bi_temp(b->shader) : bi_null(), rgba, in bi_emit_blend_op() 803 b->shader->info.bifrost->blend[rt].type = T; in bi_emit_blend_op() 806 b->shader->info.bifrost->blend_src1_type = T2; in bi_emit_blend_op() 1491 bool bifrost = b->shader->arch <= 8; in bi_emit_atomic_i32_to() local 1495 bi_index tmp_dest = bifrost ? bi_temp(b->shader) : dst; in bi_emit_atomic_i32_to() 1496 unsigned sr_count = bifrost ? 2 : 1; in bi_emit_atomic_i32_to() 1507 if (bifrost) { in bi_emit_atomic_i32_to() [all...] |
H A D | compiler.h | 30 #include "bifrost.h" 746 struct bifrost_shader_info *bifrost; member
|
/third_party/mesa3d/src/panfrost/util/ |
H A D | pan_ir.h | 212 } bifrost; member 377 struct bifrost_shader_info bifrost; member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_shader.c | 157 inputs->bifrost.static_rt_conv = true; in panvk_lower_blend() 158 inputs->bifrost.rt_conv[rt] = in panvk_lower_blend()
|
H A D | panvk_cmd_buffer.c | 441 memset(&fbinfo->bifrost.pre_post.dcds, 0, sizeof(fbinfo->bifrost.pre_post.dcds)); in panvk_cmd_fb_info_set_subpass()
|
H A D | panvk_vX_meta_copy.c | 452 pan_pack(&inputs.bifrost.rt_conv[0], INTERNAL_CONVERSION, cfg) { in panvk_meta_copy_img2img_shader() 458 inputs.bifrost.static_rt_conv = true; in panvk_meta_copy_img2img_shader() 987 pan_pack(&inputs.bifrost.rt_conv[0], INTERNAL_CONVERSION, cfg) { in panvk_meta_copy_buf2img_shader() 993 inputs.bifrost.static_rt_conv = true; in panvk_meta_copy_buf2img_shader()
|
H A D | panvk_vX_cs.c | 539 cfg.address = draw->tiler_ctx->bifrost; in emit_tiler_job() 660 bifrost_blend_type_from_nir(pipeline->fs.info.bifrost.blend[rt].type); in emit_blend()
|
H A D | panvk_vX_cmd_buffer.c | 196 memset(&cmdbuf->state.fb.info.bifrost.pre_post.dcds, 0, in cmd_alloc_fb_desc() 197 sizeof(cmdbuf->state.fb.info.bifrost.pre_post.dcds)); in cmd_alloc_fb_desc() 455 batch->tiler.ctx.bifrost = batch->tiler.descs.gpu; in cmd_get_tiler_context()
|
H A D | panvk_vX_meta_clear.c | 120 shader_info->bifrost.blend[0].format; in panvk_meta_clear_color_attachment_emit_rsd()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_cmdstream.c | 419 unsigned ret_offset = fs->info.bifrost.blend[i].return_offset; in panfrost_emit_blend() 439 fs->info.bifrost.blend[i].format; in panfrost_emit_blend() 3031 if (batch->tiler_ctx.bifrost) in panfrost_batch_get_bifrost_tiler() 3032 return batch->tiler_ctx.bifrost; in panfrost_batch_get_bifrost_tiler() 3047 batch->tiler_ctx.bifrost = t.gpu; in panfrost_batch_get_bifrost_tiler() 3048 return batch->tiler_ctx.bifrost; in panfrost_batch_get_bifrost_tiler() 3094 cfg.allow_rotating_primitives = !(lines || fs->info.bifrost.uses_flat_shading); in panfrost_emit_primitive() 4630 PAN_ARCH >= 6 ? batch->tiler_ctx.bifrost : 0, NULL); in preload()
|
H A D | pan_context.c | 205 col0_type = ss->info.bifrost.blend[rti].type; in panfrost_get_blend() 206 col1_type = ss->info.bifrost.blend_src1_type; in panfrost_get_blend()
|