/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_draw.h | 44 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 D | fd5_draw.c | 47 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 D | fd4_draw.h | 50 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 D | fd4_draw.c | 47 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 D | freedreno_draw.h | 44 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 D | parse-submits.lua | 303 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 D | test.lua | 9 function draw(primtype, nindx) 10 io.write("DRAW: " .. primtype .. ", " .. nindx .. "\n")
|
H A D | analyze.lua | 23 -- * 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 D | tex3d-layout.lua | 37 function draw(primtype, nindx) 38 if primtype ~= "BLIT_OP_SCALE" then
|
H A D | sanity-a6xx.lua | 57 function draw(primtype, nindx)
|
H A D | texturator-to-unit-test.lua | 57 function draw(primtype, nindx) 61 if primtype == "BLIT_OP_SCALE" then
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_draw.c | 59 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 D | intel_decode.c | 2287 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 D | script.h | 49 void script_draw(const char *primtype, uint32_t nindx);
|
H A D | cffdec.c | 1020 __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 D | script.c | 658 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 D | tu_pipeline.h | 175 enum pc_di_primtype primtype; member
|
H A D | tu_cmd_buffer.h | 332 enum pc_di_primtype primtype; member
|
H A D | tu_cmd_buffer.c | 2464 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 D | tu_pipeline.c | 3290 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()
|