Home
last modified time | relevance | path

Searched refs:primtype (Results 1 - 20 of 20) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_draw.h44 enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, in fd5_draw()
62 OUT_RINGP(ring, DRAW4(primtype, src_sel, idx_type, 0), in fd5_draw()
65 OUT_RING(ring, DRAW4(primtype, src_sel, idx_type, vismode)); in fd5_draw()
82 enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, in fd5_draw_emit()
103 DRAW4(primtype, DI_SRC_SEL_DMA, in fd5_draw_emit()
111 OUT_RINGP(ring, DRAW4(primtype, DI_SRC_SEL_AUTO_INDEX, 0, 0), in fd5_draw_emit()
138 fd5_draw(batch, ring, primtype, vismode, src_sel, draw->count, in fd5_draw_emit()
43 fd5_draw(struct fd_batch *batch, struct fd_ringbuffer *ring, enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, enum pc_di_src_sel src_sel, uint32_t count, uint32_t instances, enum a4xx_index_size idx_type, uint32_t max_indices, uint32_t idx_offset, struct pipe_resource *idx_buffer) fd5_draw() argument
81 fd5_draw_emit(struct fd_batch *batch, struct fd_ringbuffer *ring, enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, const struct pipe_draw_info *info, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *draw, unsigned index_offset) fd5_draw_emit() argument
H A Dfd5_draw.c47 enum pc_di_primtype primtype = ctx->screen->primtypes[info->mode]; variable
65 fd5_draw_emit(ctx->batch, ring, primtype,
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_draw.h50 enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, in fd4_draw()
68 OUT_RINGP(ring, DRAW4(primtype, src_sel, idx_type, 0), in fd4_draw()
71 OUT_RING(ring, DRAW4(primtype, src_sel, idx_type, vismode)); in fd4_draw()
88 enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, in fd4_draw_emit()
108 DRAW4(primtype, DI_SRC_SEL_DMA, in fd4_draw_emit()
117 OUT_RINGP(ring, DRAW4(primtype, DI_SRC_SEL_AUTO_INDEX, 0, 0), in fd4_draw_emit()
144 fd4_draw(batch, ring, primtype, vismode, src_sel, draw->count, in fd4_draw_emit()
49 fd4_draw(struct fd_batch *batch, struct fd_ringbuffer *ring, enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, enum pc_di_src_sel src_sel, uint32_t count, uint32_t instances, enum a4xx_index_size idx_type, uint32_t max_indices, uint32_t idx_offset, struct pipe_resource *idx_buffer) fd4_draw() argument
87 fd4_draw_emit(struct fd_batch *batch, struct fd_ringbuffer *ring, enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, const struct pipe_draw_info *info, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *draw, unsigned index_offset) fd4_draw_emit() argument
H A Dfd4_draw.c47 enum pc_di_primtype primtype = ctx->screen->primtypes[info->mode]; variable
67 primtype = DI_PT_POINTLIST_PSIZE;
69 fd4_draw_emit(ctx->batch, ring, primtype,
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_draw.h44 enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, in fd_draw()
94 OUT_RING(ring, DRAW_A20X(primtype, DI_FACE_CULL_NONE, src_sel, idx_type, in fd_draw()
107 OUT_RINGP(ring, DRAW(primtype, src_sel, idx_type, 0, instances), in fd_draw()
110 OUT_RING(ring, DRAW(primtype, src_sel, idx_type, vismode, instances)); in fd_draw()
144 enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, in fd_draw_emit()
169 fd_draw(batch, ring, primtype, vismode, src_sel, draw->count, in fd_draw_emit()
43 fd_draw(struct fd_batch *batch, struct fd_ringbuffer *ring, enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, enum pc_di_src_sel src_sel, uint32_t count, uint8_t instances, enum pc_di_index_size idx_type, uint32_t idx_size, uint32_t idx_offset, struct pipe_resource *idx_buffer) fd_draw() argument
143 fd_draw_emit(struct fd_batch *batch, struct fd_ringbuffer *ring, enum pc_di_primtype primtype, enum pc_di_vis_cull_mode vismode, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw, unsigned index_offset) fd_draw_emit() argument
/third_party/mesa3d/src/freedreno/decode/scripts/
H A Dparse-submits.lua303 function draw(primtype, nindx)
304 dbg("draw: %s (%s)\n", primtype, mode)
306 if primtype == "BLIT_OP_SCALE" then
309 elseif primtype == "EVENT:BLIT" then
332 if m == "RM6_RESOLVE" and primtype == "EVENT:BLIT" then
335 printf("unknown MODE %s for primtype %s\n", m, primtype)
H A Dtest.lua9 function draw(primtype, nindx)
10 io.write("DRAW: " .. primtype .. ", " .. nindx .. "\n")
H A Danalyze.lua23 -- * primtype - the primitive type
60 function draw(primtype, nindx)
65 if primtype == "DI_PT_RECTLIST" then
69 local draw = {["primtype"] = primtype, ["regs"] = regtbl}
116 io.write(" " .. didx .. ": " .. draw["primtype"] .. "\n")
H A Dtex3d-layout.lua37 function draw(primtype, nindx)
38 if primtype ~= "BLIT_OP_SCALE" then
H A Dsanity-a6xx.lua57 function draw(primtype, nindx)
H A Dtexturator-to-unit-test.lua57 function draw(primtype, nindx)
61 if primtype == "BLIT_OP_SCALE" then
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_draw.c59 enum pc_di_primtype primtype = ctx->screen->primtypes[info->mode]; variable
90 primtype = DI_PT_POINTLIST_PSIZE;
92 fd_draw_emit(ctx->batch, ring, primtype,
/third_party/libdrm/intel/
H A Dintel_decode.c2287 const char *primtype; in decode_3d_primitive() local
2293 primtype = "TRILIST"; in decode_3d_primitive()
2296 primtype = "TRISTRIP"; in decode_3d_primitive()
2299 primtype = "TRISTRIP_REVERSE"; in decode_3d_primitive()
2302 primtype = "TRIFAN"; in decode_3d_primitive()
2305 primtype = "POLYGON"; in decode_3d_primitive()
2308 primtype = "LINELIST"; in decode_3d_primitive()
2311 primtype = "LINESTRIP"; in decode_3d_primitive()
2314 primtype = "RECTLIST"; in decode_3d_primitive()
2317 primtype in decode_3d_primitive()
2670 get_965_prim_type(uint32_t primtype) get_965_prim_type() argument
[all...]
/third_party/mesa3d/src/freedreno/decode/
H A Dscript.h49 void script_draw(const char *primtype, uint32_t nindx);
H A Dcffdec.c1020 __do_query(const char *primtype, uint32_t num_indices) in __do_query() argument
1038 printf("%4d: %s(%u,%u-%u,%u):%u:", draw_count, primtype, bin_x1, in __do_query()
1063 do_query_compare(const char *primtype, uint32_t num_indices) in do_query_compare() argument
1087 __do_query(primtype, num_indices); in do_query_compare()
1094 __do_query(primtype, num_indices); in do_query_compare()
1109 do_query(const char *primtype, uint32_t num_indices) in do_query() argument
1112 script_draw(primtype, num_indices); in do_query()
1115 do_query_compare(primtype, num_indices); in do_query()
1122 __do_query(primtype, num_indices); in do_query()
1878 const char *primtype; in draw_indx_common() local
[all...]
H A Dscript.c658 script_draw(const char *primtype, uint32_t nindx) in script_draw() argument
671 lua_pushstring(L, primtype); in script_draw()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_pipeline.h175 enum pc_di_primtype primtype; member
H A Dtu_cmd_buffer.h332 enum pc_di_primtype primtype; member
H A Dtu_cmd_buffer.c2464 subdraw_size *= (pipeline->ia.primtype - DI_PT_PATCHES0); in tu_CmdBindPipeline()
2756 cmd->state.primtype = tu6_primtype(primitiveTopology); in tu_CmdSetPrimitiveTopologyEXT()
4564 enum pc_di_primtype primtype = pipeline->ia.primtype; in tu_draw_initiator() local
4567 if (primtype < DI_PT_PATCHES0) { in tu_draw_initiator()
4569 * set via vkCmdSetPrimitiveTopology, but primtype is already in tu_draw_initiator()
4573 * Just use the primtype as is for the case. in tu_draw_initiator()
4575 primtype = cmd->state.primtype; in tu_draw_initiator()
4580 CP_DRAW_INDX_OFFSET_0_PRIM_TYPE(primtype) | in tu_draw_initiator()
[all...]
H A Dtu_pipeline.c3290 pipeline->ia.primtype = tu6_primtype(ia_info->topology); in tu_pipeline_builder_parse_input_assembly()
3318 assert(pipeline->ia.primtype == DI_PT_PATCHES0); in tu_pipeline_builder_parse_tessellation()
3320 pipeline->ia.primtype += tess_info->patchControlPoints; in tu_pipeline_builder_parse_tessellation()
3377 if (tu6_primtype_line(pipeline->ia.primtype) || in tu_pipeline_builder_parse_rasterization()
3378 (tu6_primtype_patches(pipeline->ia.primtype) && in tu_pipeline_builder_parse_rasterization()

Completed in 31 milliseconds