• Home
  • Raw
  • Download

Lines Matching refs:virgl_encoder_write_dword

44    virgl_encoder_write_dword(ctx->cbuf, dword);  in virgl_encoder_write_cmd_dword()
52 virgl_encoder_write_dword(ctx->cbuf, res->handle); in virgl_encoder_write_res()
54 virgl_encoder_write_dword(ctx->cbuf, 0); in virgl_encoder_write_res()
61 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_bind_object()
69 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_delete_object()
81 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_blend_state()
90 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_encode_blend_state()
93 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_encode_blend_state()
105 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_encode_blend_state()
117 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_dsa_state()
124 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_encode_dsa_state()
134 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_encode_dsa_state()
137 virgl_encoder_write_dword(ctx->cbuf, fui(dsa_state->alpha.ref_value)); in virgl_encode_dsa_state()
147 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_rasterizer_state()
178 virgl_encoder_write_dword(ctx->cbuf, tmp); /* S0 */ in virgl_encode_rasterizer_state()
179 virgl_encoder_write_dword(ctx->cbuf, fui(state->point_size)); /* S1 */ in virgl_encode_rasterizer_state()
180 virgl_encoder_write_dword(ctx->cbuf, state->sprite_coord_enable); /* S2 */ in virgl_encode_rasterizer_state()
184 virgl_encoder_write_dword(ctx->cbuf, tmp); /* S3 */ in virgl_encode_rasterizer_state()
185 virgl_encoder_write_dword(ctx->cbuf, fui(state->line_width)); /* S4 */ in virgl_encode_rasterizer_state()
186 virgl_encoder_write_dword(ctx->cbuf, fui(state->offset_units)); /* S5 */ in virgl_encode_rasterizer_state()
187 virgl_encoder_write_dword(ctx->cbuf, fui(state->offset_scale)); /* S6 */ in virgl_encode_rasterizer_state()
188 virgl_encoder_write_dword(ctx->cbuf, fui(state->offset_clamp)); /* S7 */ in virgl_encode_rasterizer_state()
198 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_emit_shader_header()
199 virgl_encoder_write_dword(ctx->cbuf, type); in virgl_emit_shader_header()
200 virgl_encoder_write_dword(ctx->cbuf, offlen); in virgl_emit_shader_header()
201 virgl_encoder_write_dword(ctx->cbuf, num_tokens); in virgl_emit_shader_header()
214 virgl_encoder_write_dword(ctx->cbuf, num_outputs); in virgl_emit_shader_streamout()
217 virgl_encoder_write_dword(ctx->cbuf, so_info->stride[i]); in virgl_emit_shader_streamout()
226 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_emit_shader_streamout()
227 virgl_encoder_write_dword(ctx->cbuf, 0); in virgl_emit_shader_streamout()
312 virgl_encoder_write_dword(ctx->cbuf, buffers); in virgl_encode_clear()
314 virgl_encoder_write_dword(ctx->cbuf, color->ui[i]); in virgl_encode_clear()
316 virgl_encoder_write_dword(ctx->cbuf, stencil); in virgl_encode_clear()
327 virgl_encoder_write_dword(ctx->cbuf, state->nr_cbufs); in virgl_encoder_set_framebuffer_state()
328 virgl_encoder_write_dword(ctx->cbuf, zsurf ? zsurf->handle : 0); in virgl_encoder_set_framebuffer_state()
331 virgl_encoder_write_dword(ctx->cbuf, surf ? surf->handle : 0); in virgl_encoder_set_framebuffer_state()
344 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encoder_set_viewport_states()
347 virgl_encoder_write_dword(ctx->cbuf, fui(states[v].scale[i])); in virgl_encoder_set_viewport_states()
349 virgl_encoder_write_dword(ctx->cbuf, fui(states[v].translate[i])); in virgl_encoder_set_viewport_states()
361 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encoder_create_vertex_elements()
363 virgl_encoder_write_dword(ctx->cbuf, element[i].src_offset); in virgl_encoder_create_vertex_elements()
364 virgl_encoder_write_dword(ctx->cbuf, element[i].instance_divisor); in virgl_encoder_create_vertex_elements()
365 virgl_encoder_write_dword(ctx->cbuf, element[i].vertex_buffer_index); in virgl_encoder_create_vertex_elements()
366 virgl_encoder_write_dword(ctx->cbuf, element[i].src_format); in virgl_encoder_create_vertex_elements()
379 virgl_encoder_write_dword(ctx->cbuf, buffers[i].stride); in virgl_encoder_set_vertex_buffers()
380 virgl_encoder_write_dword(ctx->cbuf, buffers[i].buffer_offset); in virgl_encoder_set_vertex_buffers()
397 virgl_encoder_write_dword(ctx->cbuf, ib->index_size); in virgl_encoder_set_index_buffer()
398 virgl_encoder_write_dword(ctx->cbuf, ib->offset); in virgl_encoder_set_index_buffer()
407 virgl_encoder_write_dword(ctx->cbuf, info->start); in virgl_encoder_draw_vbo()
408 virgl_encoder_write_dword(ctx->cbuf, info->count); in virgl_encoder_draw_vbo()
409 virgl_encoder_write_dword(ctx->cbuf, info->mode); in virgl_encoder_draw_vbo()
410 virgl_encoder_write_dword(ctx->cbuf, info->indexed); in virgl_encoder_draw_vbo()
411 virgl_encoder_write_dword(ctx->cbuf, info->instance_count); in virgl_encoder_draw_vbo()
412 virgl_encoder_write_dword(ctx->cbuf, info->index_bias); in virgl_encoder_draw_vbo()
413 virgl_encoder_write_dword(ctx->cbuf, info->start_instance); in virgl_encoder_draw_vbo()
414 virgl_encoder_write_dword(ctx->cbuf, info->primitive_restart); in virgl_encoder_draw_vbo()
415 virgl_encoder_write_dword(ctx->cbuf, info->restart_index); in virgl_encoder_draw_vbo()
416 virgl_encoder_write_dword(ctx->cbuf, info->min_index); in virgl_encoder_draw_vbo()
417 virgl_encoder_write_dword(ctx->cbuf, info->max_index); in virgl_encoder_draw_vbo()
419 virgl_encoder_write_dword(ctx->cbuf, info->count_from_stream_output->buffer_size); in virgl_encoder_draw_vbo()
421 virgl_encoder_write_dword(ctx->cbuf, 0); in virgl_encoder_draw_vbo()
431 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encoder_create_surface()
433 virgl_encoder_write_dword(ctx->cbuf, templat->format); in virgl_encoder_create_surface()
435 virgl_encoder_write_dword(ctx->cbuf, templat->u.buf.first_element); in virgl_encoder_create_surface()
436 virgl_encoder_write_dword(ctx->cbuf, templat->u.buf.last_element); in virgl_encoder_create_surface()
439 virgl_encoder_write_dword(ctx->cbuf, templat->u.tex.level); in virgl_encoder_create_surface()
440virgl_encoder_write_dword(ctx->cbuf, templat->u.tex.first_layer | (templat->u.tex.last_layer << 16… in virgl_encoder_create_surface()
452 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encoder_create_so_target()
454 virgl_encoder_write_dword(ctx->cbuf, buffer_offset); in virgl_encoder_create_so_target()
455 virgl_encoder_write_dword(ctx->cbuf, buffer_size); in virgl_encoder_create_so_target()
466 virgl_encoder_write_dword(ctx->cbuf, level); in virgl_encoder_iw_emit_header_1d()
467 virgl_encoder_write_dword(ctx->cbuf, usage); in virgl_encoder_iw_emit_header_1d()
468 virgl_encoder_write_dword(ctx->cbuf, stride); in virgl_encoder_iw_emit_header_1d()
469 virgl_encoder_write_dword(ctx->cbuf, layer_stride); in virgl_encoder_iw_emit_header_1d()
470 virgl_encoder_write_dword(ctx->cbuf, box->x); in virgl_encoder_iw_emit_header_1d()
471 virgl_encoder_write_dword(ctx->cbuf, box->y); in virgl_encoder_iw_emit_header_1d()
472 virgl_encoder_write_dword(ctx->cbuf, box->z); in virgl_encoder_iw_emit_header_1d()
473 virgl_encoder_write_dword(ctx->cbuf, box->width); in virgl_encoder_iw_emit_header_1d()
474 virgl_encoder_write_dword(ctx->cbuf, box->height); in virgl_encoder_iw_emit_header_1d()
475 virgl_encoder_write_dword(ctx->cbuf, box->depth); in virgl_encoder_iw_emit_header_1d()
581 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_sampler_state()
592 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_encode_sampler_state()
593 virgl_encoder_write_dword(ctx->cbuf, fui(state->lod_bias)); in virgl_encode_sampler_state()
594 virgl_encoder_write_dword(ctx->cbuf, fui(state->min_lod)); in virgl_encode_sampler_state()
595 virgl_encoder_write_dword(ctx->cbuf, fui(state->max_lod)); in virgl_encode_sampler_state()
597 virgl_encoder_write_dword(ctx->cbuf, state->border_color.ui[i]); in virgl_encode_sampler_state()
609 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_sampler_view()
611 virgl_encoder_write_dword(ctx->cbuf, state->format); in virgl_encode_sampler_view()
613 virgl_encoder_write_dword(ctx->cbuf, state->u.buf.first_element); in virgl_encode_sampler_view()
614 virgl_encoder_write_dword(ctx->cbuf, state->u.buf.last_element); in virgl_encode_sampler_view()
616virgl_encoder_write_dword(ctx->cbuf, state->u.tex.first_layer | state->u.tex.last_layer << 16); in virgl_encode_sampler_view()
617 virgl_encoder_write_dword(ctx->cbuf, state->u.tex.first_level | state->u.tex.last_level << 8); in virgl_encode_sampler_view()
623 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_encode_sampler_view()
635 virgl_encoder_write_dword(ctx->cbuf, shader_type); in virgl_encode_set_sampler_views()
636 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_set_sampler_views()
639 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_set_sampler_views()
652 virgl_encoder_write_dword(ctx->cbuf, shader_type); in virgl_encode_bind_sampler_states()
653 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_bind_sampler_states()
655 virgl_encoder_write_dword(ctx->cbuf, handles[i]); in virgl_encode_bind_sampler_states()
666 virgl_encoder_write_dword(ctx->cbuf, shader); in virgl_encoder_write_constant_buffer()
667 virgl_encoder_write_dword(ctx->cbuf, index); in virgl_encoder_write_constant_buffer()
681 virgl_encoder_write_dword(ctx->cbuf, shader); in virgl_encoder_set_uniform_buffer()
682 virgl_encoder_write_dword(ctx->cbuf, index); in virgl_encoder_set_uniform_buffer()
683 virgl_encoder_write_dword(ctx->cbuf, offset); in virgl_encoder_set_uniform_buffer()
684 virgl_encoder_write_dword(ctx->cbuf, length); in virgl_encoder_set_uniform_buffer()
694virgl_encoder_write_dword(ctx->cbuf, VIRGL_STENCIL_REF_VAL(ref->ref_value[0] , (ref->ref_value[1])… in virgl_encoder_set_stencil_ref()
704 virgl_encoder_write_dword(ctx->cbuf, fui(color->color[i])); in virgl_encoder_set_blend_color()
715 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encoder_set_scissor_state()
717 virgl_encoder_write_dword(ctx->cbuf, (ss[i].minx | ss[i].miny << 16)); in virgl_encoder_set_scissor_state()
718 virgl_encoder_write_dword(ctx->cbuf, (ss[i].maxx | ss[i].maxy << 16)); in virgl_encoder_set_scissor_state()
729 virgl_encoder_write_dword(ctx->cbuf, ps->stipple[i]); in virgl_encoder_set_polygon_stipple()
737 virgl_encoder_write_dword(ctx->cbuf, sample_mask); in virgl_encoder_set_sample_mask()
747 virgl_encoder_write_dword(ctx->cbuf, fui(clip->ucp[i][j])); in virgl_encoder_set_clip_state()
762 virgl_encoder_write_dword(ctx->cbuf, dst_level); in virgl_encode_resource_copy_region()
763 virgl_encoder_write_dword(ctx->cbuf, dstx); in virgl_encode_resource_copy_region()
764 virgl_encoder_write_dword(ctx->cbuf, dsty); in virgl_encode_resource_copy_region()
765 virgl_encoder_write_dword(ctx->cbuf, dstz); in virgl_encode_resource_copy_region()
767 virgl_encoder_write_dword(ctx->cbuf, src_level); in virgl_encode_resource_copy_region()
768 virgl_encoder_write_dword(ctx->cbuf, src_box->x); in virgl_encode_resource_copy_region()
769 virgl_encoder_write_dword(ctx->cbuf, src_box->y); in virgl_encode_resource_copy_region()
770 virgl_encoder_write_dword(ctx->cbuf, src_box->z); in virgl_encode_resource_copy_region()
771 virgl_encoder_write_dword(ctx->cbuf, src_box->width); in virgl_encode_resource_copy_region()
772 virgl_encoder_write_dword(ctx->cbuf, src_box->height); in virgl_encode_resource_copy_region()
773 virgl_encoder_write_dword(ctx->cbuf, src_box->depth); in virgl_encode_resource_copy_region()
787 virgl_encoder_write_dword(ctx->cbuf, tmp); in virgl_encode_blit()
788 virgl_encoder_write_dword(ctx->cbuf, (blit->scissor.minx | blit->scissor.miny << 16)); in virgl_encode_blit()
789 virgl_encoder_write_dword(ctx->cbuf, (blit->scissor.maxx | blit->scissor.maxy << 16)); in virgl_encode_blit()
792 virgl_encoder_write_dword(ctx->cbuf, blit->dst.level); in virgl_encode_blit()
793 virgl_encoder_write_dword(ctx->cbuf, blit->dst.format); in virgl_encode_blit()
794 virgl_encoder_write_dword(ctx->cbuf, blit->dst.box.x); in virgl_encode_blit()
795 virgl_encoder_write_dword(ctx->cbuf, blit->dst.box.y); in virgl_encode_blit()
796 virgl_encoder_write_dword(ctx->cbuf, blit->dst.box.z); in virgl_encode_blit()
797 virgl_encoder_write_dword(ctx->cbuf, blit->dst.box.width); in virgl_encode_blit()
798 virgl_encoder_write_dword(ctx->cbuf, blit->dst.box.height); in virgl_encode_blit()
799 virgl_encoder_write_dword(ctx->cbuf, blit->dst.box.depth); in virgl_encode_blit()
802 virgl_encoder_write_dword(ctx->cbuf, blit->src.level); in virgl_encode_blit()
803 virgl_encoder_write_dword(ctx->cbuf, blit->src.format); in virgl_encode_blit()
804 virgl_encoder_write_dword(ctx->cbuf, blit->src.box.x); in virgl_encode_blit()
805 virgl_encoder_write_dword(ctx->cbuf, blit->src.box.y); in virgl_encode_blit()
806 virgl_encoder_write_dword(ctx->cbuf, blit->src.box.z); in virgl_encode_blit()
807 virgl_encoder_write_dword(ctx->cbuf, blit->src.box.width); in virgl_encode_blit()
808 virgl_encoder_write_dword(ctx->cbuf, blit->src.box.height); in virgl_encode_blit()
809 virgl_encoder_write_dword(ctx->cbuf, blit->src.box.depth); in virgl_encode_blit()
820 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encoder_create_query()
821 virgl_encoder_write_dword(ctx->cbuf, query_type); in virgl_encoder_create_query()
822 virgl_encoder_write_dword(ctx->cbuf, offset); in virgl_encoder_create_query()
831 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encoder_begin_query()
839 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encoder_end_query()
847 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encoder_get_query_result()
848 virgl_encoder_write_dword(ctx->cbuf, wait ? 1 : 0); in virgl_encoder_get_query_result()
857 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encoder_render_condition()
858 virgl_encoder_write_dword(ctx->cbuf, condition); in virgl_encoder_render_condition()
859 virgl_encoder_write_dword(ctx->cbuf, mode); in virgl_encoder_render_condition()
871 virgl_encoder_write_dword(ctx->cbuf, append_bitmask); in virgl_encoder_set_so_targets()
874 virgl_encoder_write_dword(ctx->cbuf, tg->handle); in virgl_encoder_set_so_targets()
883 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_set_sub_ctx()
890 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_create_sub_ctx()
897 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_destroy_sub_ctx()
905 virgl_encoder_write_dword(ctx->cbuf, handle); in virgl_encode_bind_shader()
906 virgl_encoder_write_dword(ctx->cbuf, type); in virgl_encode_bind_shader()