Home
last modified time | relevance | path

Searched refs:cl_packet_length (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/broadcom/vulkan/
Dv3dv_cl.h143 #define cl_packet_length(packet) V3DX(packet ## _length) macro
144 #define cl_aligned_packet_length(packet, alignment) ALIGN(cl_packet_length(packet), alignment)
171 cl_advance(&cl_out, cl_packet_length(packet)); \
184 uint8_t packed[cl_packet_length(packet)]; \
186 for (int _i = 0; _i < cl_packet_length(packet); _i++) \
188 cl_advance(&cl_out, cl_packet_length(packet)); \
225 cl_packet_length(packet))); \
Dv3dv_cmd_buffer.c341 v3dv_cl_ensure_space_with_branch(&job->bcl, cl_packet_length(FLUSH)); in v3dv_job_emit_binning_flush()
628 cl_packet_length(RETURN_FROM_SUB_LIST)); in cmd_buffer_end_render_pass_secondary()
1181 v3dv_cl_ensure_space_with_branch(&job->bcl, cl_packet_length(CLIP_WINDOW)); in emit_clip_window()
2010 cl_packet_length(SUPERTILE_COORDINATES)); in cmd_buffer_emit_render_pass_rcl()
2581 STATIC_ASSERT(cl_packet_length(RETURN_FROM_SUB_LIST) == 1); in cmd_buffer_execute_inside_pass()
2619 cl_packet_length(BRANCH_TO_SUB_LIST)); in cmd_buffer_execute_inside_pass()
3356 cl_packet_length(CLIPPER_XY_SCALING) + in emit_viewport()
3357 cl_packet_length(CLIPPER_Z_SCALE_AND_OFFSET) + in emit_viewport()
3358 cl_packet_length(CLIPPER_Z_MIN_MAX_CLIPPING_PLANES) + in emit_viewport()
3359 cl_packet_length(VIEWPORT_OFFSET); in emit_viewport()
[all …]
Dv3dv_private.h484 uint8_t texture_shader_state[2][cl_packet_length(TEXTURE_SHADER_STATE)];
511 uint8_t texture_shader_state[cl_packet_length(TEXTURE_SHADER_STATE)];
1512 uint8_t sampler_state[cl_packet_length(SAMPLER_STATE)];
1638 uint8_t cfg[V3D_MAX_DRAW_BUFFERS][cl_packet_length(BLEND_CFG)];
1655 uint8_t cfg_bits[cl_packet_length(CFG_BITS)];
1656 uint8_t shader_state_record[cl_packet_length(GL_SHADER_STATE_RECORD)];
1657 uint8_t vcm_cache_size[cl_packet_length(VCM_CACHE_SIZE)];
1658 uint8_t vertex_attrs[cl_packet_length(GL_SHADER_STATE_ATTRIBUTE_RECORD) *
1660 uint8_t stencil_cfg[2][cl_packet_length(STENCIL_CFG)];
Dv3dv_cl.c104 if (v3dv_cl_offset(cl) + space + cl_packet_length(BRANCH) <= cl->size) in v3dv_cl_ensure_space_with_branch()
Dv3dv_pipeline.c2299 assert(sizeof(pipeline->cfg_bits) == cl_packet_length(CFG_BITS)); in pack_cfg_bits()
2442 assert(sizeof(pipeline->stencil_cfg) == 2 * cl_packet_length(STENCIL_CFG)); in pack_stencil_cfg()
2555 cl_packet_length(GL_SHADER_STATE_RECORD)); in pack_shader_state_record()
2702 cl_packet_length(VCM_CACHE_SIZE)); in pack_vcm_cache_size()
2810 cl_packet_length(GL_SHADER_STATE_ATTRIBUTE_RECORD); in pack_shader_state_attribute_record()
Dv3dv_descriptor_set.c848 cl_packet_length(SAMPLER_STATE)); in descriptor_set_create()
Dv3dv_queue.c762 cl_packet_length(SUPERTILE_COORDINATES)); in emit_noop_render()
Dv3dv_meta_clear.c1424 cl_packet_length(SUPERTILE_COORDINATES)); in emit_tlb_clear_job()
Dv3dv_meta_copy.c270 cl_packet_length(SUPERTILE_COORDINATES)); in emit_rcl_prologue()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3dx_job.c36 cl_packet_length(PRIMITIVE_COUNTS_FEEDBACK) + in v3dX()
38 cl_packet_length(TRANSFORM_FEEDBACK_SPECS) + in v3dX()
40 cl_packet_length(FLUSH)); in v3dX()
Dv3d_cl.h199 #define cl_packet_length(packet) V3DX(packet ## _length) macro
234 cl_advance(&cl_out, cl_packet_length(packet)); \
247 uint8_t packed[cl_packet_length(packet)]; \
249 for (int _i = 0; _i < cl_packet_length(packet); _i++) \
251 cl_advance(&cl_out, cl_packet_length(packet)); \
273 cl_packet_length(packet))); \
Dv3dx_state.c104 cl_packet_length(DEPTH_OFFSET)); in v3d_create_rasterizer_state()
215 cl_packet_length(STENCIL_CFG)); in v3d_create_depth_stencil_alpha_state()
237 cl_packet_length(STENCIL_CFG)); in v3d_create_depth_stencil_alpha_state()
349 cl_packet_length(GL_SHADER_STATE_ATTRIBUTE_RECORD); in v3d_vertex_state_create()
742 int sampler_size = align(cl_packet_length(SAMPLER_STATE), sampler_align); in v3d_create_sampler_state()
910 cl_packet_length(TEXTURE_SHADER_STATE), "sampler"); in v3dX()
914 cl_packet_length(TEXTURE_SHADER_STATE)); in v3dX()
1312 u_upload_alloc(v3d->uploader, 0, cl_packet_length(TEXTURE_SHADER_STATE), in v3d_create_image_view_texture_shader_state()
Dv3d_cl.c63 if (cl_offset(cl) + space + cl_packet_length(BRANCH) <= cl->size) in v3d_cl_ensure_space_with_branch()
Dv3dx_emit.c146 cl_packet_length(TEXTURE_SHADER_STATE), in emit_one_texture()
244 uint8_t packed[cl_packet_length(TEXTURE_SHADER_STATE)]; in emit_one_texture()
546 cl_packet_length(DEPTH_OFFSET)); in v3dX()
550 cl_packet_length(DEPTH_OFFSET)); in v3dX()
Dv3dx_draw.c675 cl_packet_length(GL_SHADER_STATE_RECORD); in v3d_emit_gl_shader_state()
679 cl_packet_length(GEOMETRY_SHADER_STATE_RECORD) + in v3d_emit_gl_shader_state()
680 cl_packet_length(TESSELLATION_GEOMETRY_COMMON_PARAMS) + in v3d_emit_gl_shader_state()
681 2 * cl_packet_length(TESSELLATION_GEOMETRY_SHADER_PARAMS); in v3d_emit_gl_shader_state()
689 cl_packet_length(GL_SHADER_STATE_ATTRIBUTE_RECORD), in v3d_emit_gl_shader_state()
884 cl_packet_length(GL_SHADER_STATE_ATTRIBUTE_RECORD); in v3d_emit_gl_shader_state()
Dv3dx_rcl.c638 cl_packet_length(SUPERTILE_COORDINATES)); in v3dX()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_cl.h222 #define cl_packet_length(packet) V3D21_ ## packet ## _length macro
260 cl_packet_length(packet))); \
261 cl_advance(&cl_out, cl_packet_length(packet)); \