Lines Matching refs:rsd
488 pan_merge_empty_fs(struct mali_renderer_state_packed *rsd) in pan_merge_empty_fs() argument
510 pan_merge((*rsd), empty_rsd, RENDERER_STATE); in pan_merge_empty_fs()
516 struct mali_renderer_state_packed *rsd) in panfrost_prepare_fs_state() argument
534 pan_pack(rsd, RENDERER_STATE, cfg) { in panfrost_prepare_fs_state()
658 struct mali_renderer_state_packed rsd; in panfrost_emit_frag_shader() local
659 panfrost_prepare_fs_state(ctx, blend_shaders, &rsd); in panfrost_emit_frag_shader()
665 rsd.opaque[14] = ctx->blend->equation[0]; in panfrost_emit_frag_shader()
674 pan_merge(rsd, *partial_rsd, RENDERER_STATE); in panfrost_emit_frag_shader()
676 pan_merge_empty_fs(&rsd); in panfrost_emit_frag_shader()
680 rsd.opaque[8] |= zsa->rsd_depth.opaque[0] in panfrost_emit_frag_shader()
683 rsd.opaque[9] |= zsa->rsd_stencil.opaque[0] in panfrost_emit_frag_shader()
687 rsd.opaque[10] |= zsa->stencil_front.opaque[0]; in panfrost_emit_frag_shader()
688 rsd.opaque[11] |= zsa->stencil_back.opaque[0]; in panfrost_emit_frag_shader()
690 memcpy(fragmeta, &rsd, sizeof(rsd)); in panfrost_emit_frag_shader()
2857 cfg.state = batch->rsd[PIPE_SHADER_VERTEX]; in panfrost_draw_emit_vertex_section()
2958 batch->rsd[st] = panfrost_emit_compute_shader_meta(batch, st); in panfrost_update_shader_state()
2979 batch->rsd[st] = panfrost_emit_frag_shader_meta(batch); in panfrost_update_shader_state()
3312 batch->rsd[PIPE_SHADER_FRAGMENT], in panfrost_emit_draw()
3337 cfg.state = batch->rsd[PIPE_SHADER_FRAGMENT]; in panfrost_emit_draw()
3430 mali_ptr vs_ptr = batch->rsd[PIPE_SHADER_VERTEX]; in panfrost_emit_malloc_vertex()
3447 mali_ptr ptr = batch->rsd[PIPE_SHADER_VERTEX] + in panfrost_emit_malloc_vertex()
3520 mali_ptr saved_rsd = batch->rsd[PIPE_SHADER_VERTEX]; in panfrost_launch_xfb()
3525 … batch->rsd[PIPE_SHADER_VERTEX] = panfrost_emit_compute_shader_meta(batch, PIPE_SHADER_VERTEX); in panfrost_launch_xfb()
3538 batch->rsd[PIPE_SHADER_VERTEX], in panfrost_launch_xfb()
3573 batch->rsd[PIPE_SHADER_VERTEX] = saved_rsd; in panfrost_launch_xfb()
4113 cfg.state = batch->rsd[PIPE_SHADER_COMPUTE]; in panfrost_launch_grid()
4132 batch->rsd[PIPE_SHADER_COMPUTE], in panfrost_launch_grid()