/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_context.c | 58 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_destroy() local 63 if (llvmpipe->csctx) { in llvmpipe_destroy() 64 lp_csctx_destroy(llvmpipe->csctx); in llvmpipe_destroy() 66 if (llvmpipe->blitter) { in llvmpipe_destroy() 67 util_blitter_destroy(llvmpipe->blitter); in llvmpipe_destroy() 70 if (llvmpipe->pipe.stream_uploader) in llvmpipe_destroy() 71 u_upload_destroy(llvmpipe->pipe.stream_uploader); in llvmpipe_destroy() 75 if (llvmpipe->draw) in llvmpipe_destroy() 76 draw_destroy( llvmpipe->draw ); in llvmpipe_destroy() 79 pipe_surface_reference(&llvmpipe->framebuffer.cbufs[i], NULL); in llvmpipe_destroy() [all …]
|
D | lp_state_derived.c | 49 compute_vertex_info(struct llvmpipe_context *llvmpipe) in compute_vertex_info() argument 51 const struct tgsi_shader_info *fsInfo = &llvmpipe->fs->info.base; in compute_vertex_info() 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info() 56 draw_prepare_shader_outputs(llvmpipe->draw); in compute_vertex_info() 63 llvmpipe->color_slot[0] = -1; in compute_vertex_info() 64 llvmpipe->color_slot[1] = -1; in compute_vertex_info() 65 llvmpipe->bcolor_slot[0] = -1; in compute_vertex_info() 66 llvmpipe->bcolor_slot[1] = -1; in compute_vertex_info() 67 llvmpipe->viewport_index_slot = -1; in compute_vertex_info() 68 llvmpipe->layer_slot = -1; in compute_vertex_info() [all …]
|
D | lp_state_blend.c | 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_blend_state() local 66 if (llvmpipe->blend == blend) in llvmpipe_bind_blend_state() 69 draw_flush(llvmpipe->draw); in llvmpipe_bind_blend_state() 71 llvmpipe->blend = blend; in llvmpipe_bind_blend_state() 73 llvmpipe->dirty |= LP_NEW_BLEND; in llvmpipe_bind_blend_state() 88 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_blend_color() local 93 if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) in llvmpipe_set_blend_color() 96 draw_flush(llvmpipe->draw); in llvmpipe_set_blend_color() 98 memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color); in llvmpipe_set_blend_color() 100 llvmpipe->dirty |= LP_NEW_BLEND_COLOR; in llvmpipe_set_blend_color() [all …]
|
D | lp_state_tess.c | 44 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_tcs_state() local 62 state->dtcs = draw_create_tess_ctrl_shader(llvmpipe->draw, templ); in llvmpipe_create_tcs_state() 80 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_tcs_state() local 82 llvmpipe->tcs = (struct lp_tess_ctrl_shader *)tcs; in llvmpipe_bind_tcs_state() 84 draw_bind_tess_ctrl_shader(llvmpipe->draw, in llvmpipe_bind_tcs_state() 85 (llvmpipe->tcs ? llvmpipe->tcs->dtcs : NULL)); in llvmpipe_bind_tcs_state() 87 llvmpipe->dirty |= LP_NEW_TCS; in llvmpipe_bind_tcs_state() 94 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_tcs_state() local 103 draw_delete_tess_ctrl_shader(llvmpipe->draw, state->dtcs); in llvmpipe_delete_tcs_state() 112 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_tes_state() local [all …]
|
D | lp_state_clip.c | 39 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_clip_state() local 42 draw_set_clip_state(llvmpipe->draw, clip); in llvmpipe_set_clip_state() 52 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_viewport_states() local 55 draw_set_viewport_states(llvmpipe->draw, start_slot, num_viewports, in llvmpipe_set_viewport_states() 58 memcpy(llvmpipe->viewports + start_slot, viewports, in llvmpipe_set_viewport_states() 60 llvmpipe->dirty |= LP_NEW_VIEWPORT; in llvmpipe_set_viewport_states() 70 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_scissor_states() local 72 draw_flush(llvmpipe->draw); in llvmpipe_set_scissor_states() 77 memcpy(llvmpipe->scissors + start_slot, scissors, in llvmpipe_set_scissor_states() 80 llvmpipe->dirty |= LP_NEW_SCISSOR; in llvmpipe_set_scissor_states() [all …]
|
D | lp_query.c | 351 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_begin_query() local 365 lp_setup_begin_query(llvmpipe->setup, pq); in llvmpipe_begin_query() 369 pq->num_primitives_written[0] = llvmpipe->so_stats[pq->index].num_primitives_written; in llvmpipe_begin_query() 372 pq->num_primitives_generated[0] = llvmpipe->so_stats[pq->index].primitives_storage_needed; in llvmpipe_begin_query() 373 llvmpipe->active_primgen_queries++; in llvmpipe_begin_query() 376 pq->num_primitives_written[0] = llvmpipe->so_stats[pq->index].num_primitives_written; in llvmpipe_begin_query() 377 pq->num_primitives_generated[0] = llvmpipe->so_stats[pq->index].primitives_storage_needed; in llvmpipe_begin_query() 381 pq->num_primitives_written[s] = llvmpipe->so_stats[s].num_primitives_written; in llvmpipe_begin_query() 382 pq->num_primitives_generated[s] = llvmpipe->so_stats[s].primitives_storage_needed; in llvmpipe_begin_query() 386 pq->num_primitives_written[0] = llvmpipe->so_stats[pq->index].num_primitives_written; in llvmpipe_begin_query() [all …]
|
D | lp_state_vertex.c | 60 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_vertex_elements_state() local 63 llvmpipe->velems = lp_velems; in llvmpipe_bind_vertex_elements_state() 65 llvmpipe->dirty |= LP_NEW_VERTEX; in llvmpipe_bind_vertex_elements_state() 68 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); in llvmpipe_bind_vertex_elements_state() 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_vertex_buffers() local 86 util_set_vertex_buffers_count(llvmpipe->vertex_buffer, in llvmpipe_set_vertex_buffers() 87 &llvmpipe->num_vertex_buffers, in llvmpipe_set_vertex_buffers() 90 llvmpipe->dirty |= LP_NEW_VERTEX; in llvmpipe_set_vertex_buffers() 92 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count, buffers); in llvmpipe_set_vertex_buffers() 97 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_vertex_funcs() argument [all …]
|
D | lp_state_vs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_vs_state() local 48 vs = draw_create_vertex_shader(llvmpipe->draw, templ); in llvmpipe_create_vs_state() 65 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_vs_state() local 68 if (llvmpipe->vs == vs) in llvmpipe_bind_vs_state() 71 draw_bind_vertex_shader(llvmpipe->draw, vs); in llvmpipe_bind_vs_state() 73 llvmpipe->vs = vs; in llvmpipe_bind_vs_state() 75 llvmpipe->dirty |= LP_NEW_VS; in llvmpipe_bind_vs_state() 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_vs_state() local 85 draw_delete_vertex_shader(llvmpipe->draw, vs); in llvmpipe_delete_vs_state() 91 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_vs_funcs() argument [all …]
|
D | lp_state_gs.c | 46 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_gs_state() local 67 state->dgs = draw_create_geometry_shader(llvmpipe->draw, templ); in llvmpipe_create_gs_state() 85 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_gs_state() local 87 llvmpipe->gs = (struct lp_geometry_shader *)gs; in llvmpipe_bind_gs_state() 89 draw_bind_geometry_shader(llvmpipe->draw, in llvmpipe_bind_gs_state() 90 (llvmpipe->gs ? llvmpipe->gs->dgs : NULL)); in llvmpipe_bind_gs_state() 92 llvmpipe->dirty |= LP_NEW_GS; in llvmpipe_bind_gs_state() 99 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_gs_state() local 108 draw_delete_geometry_shader(llvmpipe->draw, state->dgs); in llvmpipe_delete_gs_state() 114 llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_gs_funcs() argument [all …]
|
D | lp_state_rasterizer.c | 104 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_rasterizer_state() local 109 llvmpipe->rasterizer = &state->lp_state; in llvmpipe_bind_rasterizer_state() 110 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle); in llvmpipe_bind_rasterizer_state() 114 lp_setup_set_triangle_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 121 lp_setup_set_flatshade_first( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 123 lp_setup_set_line_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 125 lp_setup_set_point_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 132 llvmpipe->rasterizer = NULL; in llvmpipe_bind_rasterizer_state() 133 draw_set_rasterizer_state(llvmpipe->draw, NULL, handle); in llvmpipe_bind_rasterizer_state() 136 llvmpipe->dirty |= LP_NEW_RASTERIZER; in llvmpipe_bind_rasterizer_state() [all …]
|
D | lp_state.h | 120 llvmpipe_update_derived(struct llvmpipe_context *llvmpipe); 123 llvmpipe_init_sampler_funcs(struct llvmpipe_context *llvmpipe); 126 llvmpipe_init_blend_funcs(struct llvmpipe_context *llvmpipe); 129 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe); 132 llvmpipe_init_draw_funcs(struct llvmpipe_context *llvmpipe); 135 llvmpipe_init_compute_funcs(struct llvmpipe_context *llvmpipe); 138 llvmpipe_init_clip_funcs(struct llvmpipe_context *llvmpipe); 141 llvmpipe_init_fs_funcs(struct llvmpipe_context *llvmpipe); 144 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe); 147 llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe); [all …]
|
D | lp_state_so.c | 69 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_so_targets() local 82 …pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], targets[i]… in llvmpipe_set_so_targets() 85 if (!append && llvmpipe->so_targets[i]) { in llvmpipe_set_so_targets() 86 llvmpipe->so_targets[i]->internal_offset = offsets[i]; in llvmpipe_set_so_targets() 91 llvmpipe->so_targets[i]->mapping = buf; in llvmpipe_set_so_targets() 95 for (; i < llvmpipe->num_so_targets; i++) { in llvmpipe_set_so_targets() 96 pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], NULL); in llvmpipe_set_so_targets() 98 llvmpipe->num_so_targets = num_targets; in llvmpipe_set_so_targets() 100 draw_set_mapped_so_targets(llvmpipe->draw, llvmpipe->num_so_targets, in llvmpipe_set_so_targets() 101 llvmpipe->so_targets); in llvmpipe_set_so_targets()
|
D | lp_state_sampler.c | 75 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_sampler_states() local 79 assert(start + num <= ARRAY_SIZE(llvmpipe->samplers[shader])); in llvmpipe_bind_sampler_states() 81 draw_flush(llvmpipe->draw); in llvmpipe_bind_sampler_states() 89 llvmpipe->samplers[shader][start + i] = sampler; in llvmpipe_bind_sampler_states() 94 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num); in llvmpipe_bind_sampler_states() 95 while (j > 0 && llvmpipe->samplers[shader][j - 1] == NULL) in llvmpipe_bind_sampler_states() 97 llvmpipe->num_samplers[shader] = j; in llvmpipe_bind_sampler_states() 104 draw_set_samplers(llvmpipe->draw, in llvmpipe_bind_sampler_states() 106 llvmpipe->samplers[shader], in llvmpipe_bind_sampler_states() 107 llvmpipe->num_samplers[shader]); in llvmpipe_bind_sampler_states() [all …]
|
D | lp_flush.c | 51 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_flush() local 53 draw_flush(llvmpipe->draw); in llvmpipe_flush() 56 lp_setup_flush(llvmpipe->setup, fence, reason); in llvmpipe_flush() 64 for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) { in llvmpipe_flush() 66 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]); in llvmpipe_flush() 71 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf); in llvmpipe_flush()
|
D | SConscript | 7 print('warning: LLVM disabled: not building llvmpipe') 14 llvmpipe = env.ConvenienceLibrary( 15 target = 'llvmpipe', 19 env.Alias('llvmpipe', llvmpipe) 28 env.Prepend(LIBS = [llvmpipe, gallium, mesautil]) 46 Export('llvmpipe')
|
D | lp_state_cs.c | 479 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_compute_state() local 481 if (llvmpipe->cs == cs) in llvmpipe_bind_compute_state() 484 llvmpipe->cs = (struct lp_compute_shader *)cs; in llvmpipe_bind_compute_state() 485 llvmpipe->cs_dirty |= LP_CSNEW_CS; in llvmpipe_bind_compute_state() 523 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_compute_state() local 527 if (llvmpipe->cs == cs) in llvmpipe_delete_compute_state() 528 llvmpipe->cs = NULL; in llvmpipe_delete_compute_state() 537 llvmpipe_remove_cs_shader_variant(llvmpipe, li->base); in llvmpipe_delete_compute_state() 1157 update_csctx_consts(struct llvmpipe_context *llvmpipe) in update_csctx_consts() argument 1159 struct lp_cs_context *csctx = llvmpipe->csctx; in update_csctx_consts() [all …]
|
D | lp_state_fs.h | 186 llvmpipe_destroy_fs(struct llvmpipe_context *llvmpipe, 190 lp_fs_reference(struct llvmpipe_context *llvmpipe, in lp_fs_reference() argument 196 llvmpipe_destroy_fs(llvmpipe, old_ptr); in lp_fs_reference() 206 lp_fs_variant_reference(struct llvmpipe_context *llvmpipe, in lp_fs_variant_reference() argument 212 llvmpipe_destroy_shader_variant(llvmpipe, old_ptr); in lp_fs_variant_reference()
|
D | lp_clear.c | 55 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_clear() local 57 if (!llvmpipe_check_render_cond(llvmpipe)) in llvmpipe_clear() 63 lp_setup_clear( llvmpipe->setup, color, depth, stencil, buffers ); in llvmpipe_clear()
|
D | lp_setup_vbuf.c | 562 struct llvmpipe_context *llvmpipe = llvmpipe_context(setup->pipe); in lp_setup_pipeline_statistics() local 564 llvmpipe->pipeline_statistics.ia_vertices += in lp_setup_pipeline_statistics() 566 llvmpipe->pipeline_statistics.ia_primitives += in lp_setup_pipeline_statistics() 568 llvmpipe->pipeline_statistics.vs_invocations += in lp_setup_pipeline_statistics() 570 llvmpipe->pipeline_statistics.gs_invocations += in lp_setup_pipeline_statistics() 572 llvmpipe->pipeline_statistics.gs_primitives += in lp_setup_pipeline_statistics() 574 llvmpipe->pipeline_statistics.hs_invocations += in lp_setup_pipeline_statistics() 576 llvmpipe->pipeline_statistics.ds_invocations += in lp_setup_pipeline_statistics() 579 llvmpipe->pipeline_statistics.c_invocations += in lp_setup_pipeline_statistics() 582 llvmpipe->pipeline_statistics.c_invocations = 0; in lp_setup_pipeline_statistics()
|
D | lp_state_fs.c | 3593 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_fs_state() local 3620 shader->draw_data = draw_create_fragment_shader(llvmpipe->draw, templ); in llvmpipe_create_fs_state() 3696 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_fs_state() local 3698 if (llvmpipe->fs == lp_fs) in llvmpipe_bind_fs_state() 3701 draw_bind_fragment_shader(llvmpipe->draw, in llvmpipe_bind_fs_state() 3704 lp_fs_reference(llvmpipe, &llvmpipe->fs, lp_fs); in llvmpipe_bind_fs_state() 3707 lp_setup_set_fs_variant(llvmpipe->setup, NULL); in llvmpipe_bind_fs_state() 3708 llvmpipe->dirty |= LP_NEW_FS; in llvmpipe_bind_fs_state() 3752 llvmpipe_destroy_fs(struct llvmpipe_context *llvmpipe, in llvmpipe_destroy_fs() argument 3756 draw_delete_fragment_shader(llvmpipe->draw, shader->draw_data); in llvmpipe_destroy_fs() [all …]
|
/external/mesa3d/docs/ |
D | features.txt | 39 GL 3.0, GLSL 1.30 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, sw… 66 …asing DONE (freedreno/a5xx+, freedreno (*), llvmpipe (*), softpipe (*)… 69 (*) freedreno (a2xx-a4xx), llvmpipe, softpipe, and swr have fake Multisample anti-aliasing support 72 GL 3.1, GLSL 1.40 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, sw… 85 GL 3.2, GLSL 1.50 --- all DONE: i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr, virgl, z… 100 GL 3.3, GLSL 3.30 --- all DONE: i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, virgl, zink 114 GL 4.0, GLSL 4.00 --- all DONE: i965/gen7+, nvc0, r600, radeonsi, llvmpipe, virgl 143 GL 4.1, GLSL 4.10 --- all DONE: i965/gen7+, nvc0, r600, radeonsi, llvmpipe, virgl 153 GL 4.2, GLSL 4.20 -- all DONE: i965/gen7+, nvc0, r600, radeonsi, llvmpipe, virgl 169 GL 4.3, GLSL 4.30 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, virgl [all …]
|
/external/mesa3d/docs/relnotes/ |
D | 7.10.rst | 35 - GL_NV_primitive_restart extension (Gallium softpipe, llvmpipe). 65 [llvmpipe] SIGABRT src/gallium/drivers/llvmpipe/lp_state_fs.c:779 124 llvmpipe renders stencil demo incorrectly 218 - llvmpipe: cast to silence warning 219 - llvmpipe: s/boolean/unsigned/ in bitfield to silence warning 236 - llvmpipe: fix query bug when no there's no scene 238 - llvmpipe: maintain fragment shader state for draw module 239 - llvmpipe: indentation fix 240 - llvmpipe: reformatting, remove trailing whitespace, etc 241 - llvmpipe: clean-up, comments in setup_point_coefficient() [all …]
|
D | 11.0.0.rst | 41 - GL_ARB_gpu_shader_fp64 on llvmpipe, radeonsi 45 - GL_ARB_shader_stencil_export on llvmpipe 50 - GL_ARB_vertex_attrib_64bit on llvmpipe, radeonsi 58 softpipe, llvmpipe 60 nvc0, softpipe, llvmpipe 62 nvc0, softpipe, llvmpipe 64 nv50, nvc0, softpipe, llvmpipe 80 [llvmpipe] lp_scene.h:210:lp_scene_alloc: Assertion \`size <= (64 \* 182 softpipe/llvmpipe 197 [llvmpipe] piglit glsl-max-varyings >max_varying_components
|
/external/mesa3d/docs/drivers/openswr/ |
D | faq.rst | 8 llvmpipe) in the Mesa tree. Two important reasons for this: 14 to design decisions much different than llvmpipe. 42 and pixel shaders we reuse bits of llvmpipe from 44 differently than llvmpipe's ``auxiliary/draw`` code. 50 significantly faster than llvmpipe. This is to be expected, as 51 llvmpipe only threads the fragment processing and not the geometry 52 frontend. The performance advantage over llvmpipe roughly scales
|
/external/mesa3d/docs/drivers/ |
D | openswr.rst | 6 geometry heavy workloads there is a considerable speedup over llvmpipe, 7 which is to be expected as the geometry frontend of llvmpipe is single
|