Home
last modified time | relevance | path

Searched refs:max_index_count (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_device_generated_commands.c127 uint32_t max_index_count; member
145 uint32_t max_index_count; member
276 nir_ssa_def *index_count, nir_ssa_def *max_index_count) in dgc_emit_draw_indexed() argument
279 max_index_count, index_offset, index_count, in dgc_emit_draw_indexed()
806 nir_store_var(&b, max_index_count_var, load_param32(&b, max_index_count), 0x1); in build_dgc_prepare_shader()
827 nir_ssa_def *max_index_count = nir_udiv(&b, nir_channel(&b, data, 2), index_size); in build_dgc_prepare_shader() local
828 nir_store_var(&b, max_index_count_var, max_index_count, 0x1); in build_dgc_prepare_shader()
855 cmd_values[7] = max_index_count; in build_dgc_prepare_shader()
862 nir_ssa_def *max_index_count = nir_load_var(&b, max_index_count_var); in build_dgc_prepare_shader() local
869 max_index_count = nir_bcsel(&b, bind_index_buffer, nir_load_var(&b, max_index_count_var), in build_dgc_prepare_shader()
[all …]
Dradv_cmd_buffer.c2912 if (state->max_index_count || in radv_emit_index_buffer()
2919 radeon_emit(cs, state->max_index_count); in radv_emit_index_buffer()
5190 cmd_buffer->state.max_index_count = in radv_CmdBindIndexBuffer()
6666 uint32_t max_index_count, uint32_t index_count, bool not_eop) in radv_cs_emit_draw_indexed_packet() argument
6669 radeon_emit(cmd_buffer->cs, max_index_count); in radv_cs_emit_draw_indexed_packet()
7002 …const uint32_t remaining_indexes = MAX2(state->max_index_count, draw->firstIndex) - draw->firstInd… in radv_emit_draw_packets_indexed()
7026 …const uint32_t remaining_indexes = MAX2(state->max_index_count, draw->firstIndex) - draw->firstInd… in radv_emit_draw_packets_indexed()
7073 …const uint32_t remaining_indexes = MAX2(state->max_index_count, draw->firstIndex) - draw->firstInd… in radv_emit_draw_packets_indexed()
7094 …const uint32_t remaining_indexes = MAX2(state->max_index_count, draw->firstIndex) - draw->firstInd… in radv_emit_draw_packets_indexed()
Dradv_private.h1463 uint32_t max_index_count; member
/third_party/mesa3d/src/mesa/vbo/
Dvbo_save_api.c602 int max_index_count = total_vert_count * (all_prims_supported ? 2 : 3); in compile_vertex_list() local
603 uint32_t* indices = (uint32_t*) malloc(max_index_count * sizeof(uint32_t)); in compile_vertex_list()
604 void *tmp_indices = all_prims_supported ? NULL : malloc(max_index_count * sizeof(uint32_t)); in compile_vertex_list()
635 if (idx + 3 * vertex_count > max_index_count) { in compile_vertex_list()
636 max_index_count = max_index_count + 3 * vertex_count; in compile_vertex_list()
637 indices = (uint32_t*) realloc(indices, max_index_count * sizeof(uint32_t)); in compile_vertex_list()
638 …tmp_indices = all_prims_supported ? NULL : realloc(tmp_indices, max_index_count * sizeof(uint32_t)… in compile_vertex_list()
756 assert((idx > 0 || converted_prim) && idx <= max_index_count); in compile_vertex_list()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.h345 uint32_t max_index_count; member
Dtu_cmd_buffer.c1959 cmd->state.max_index_count = (buf->size - offset) >> index_shift; in tu_CmdBindIndexBuffer()
4732 tu_cs_emit(cs, cmd->state.max_index_count); in tu_CmdDrawIndexed()
4800 tu_cs_emit(cs, cmd->state.max_index_count); in tu_CmdDrawIndexedIndirect()
4866 tu_cs_emit(cs, cmd->state.max_index_count); in tu_CmdDrawIndexedIndirectCount()
/third_party/mesa3d/docs/relnotes/
D21.0.1.rst147 - radv: Fix improper max_index_count argument for indexed draws
D21.3.0.rst3454 - vbo/dlist: fix max_index_count value
D21.1.0.rst5450 - radv: Fix improper max_index_count argument for indexed draws