Home
last modified time | relevance | path

Searched refs:jit_context (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup.c692 jit_image = &setup->fs.current.jit_context.images[i]; in lp_setup_set_fs_images()
753 if(setup->fs.current.jit_context.alpha_ref_value != alpha_ref_value) { in lp_setup_set_alpha_ref_value()
754 setup->fs.current.jit_context.alpha_ref_value = alpha_ref_value; in lp_setup_set_alpha_ref_value()
765 if (setup->fs.current.jit_context.stencil_ref_front != refs[0] || in lp_setup_set_stencil_ref_values()
766 setup->fs.current.jit_context.stencil_ref_back != refs[1]) { in lp_setup_set_stencil_ref_values()
767 setup->fs.current.jit_context.stencil_ref_front = refs[0]; in lp_setup_set_stencil_ref_values()
768 setup->fs.current.jit_context.stencil_ref_back = refs[1]; in lp_setup_set_stencil_ref_values()
810 if (setup->fs.current.jit_context.sample_mask != sample_mask) { in lp_setup_set_sample_mask()
811 setup->fs.current.jit_context.sample_mask = sample_mask; in lp_setup_set_sample_mask()
903 jit_tex = &setup->fs.current.jit_context.textures[i]; in lp_setup_set_fragment_sampler_views()
[all …]
Dlp_state_cs.c893 jit_tex = &csctx->cs.current.jit_context.textures[i]; in lp_csctx_set_sampler_views()
1037 jit_sam = &csctx->cs.current.jit_context.samplers[i]; in lp_csctx_set_sampler_state()
1103 jit_image = &csctx->cs.current.jit_context.images[i]; in lp_csctx_set_cs_images()
1177 csctx->cs.current.jit_context.constants[i] = (const float *)current_data; in update_csctx_consts()
1178 csctx->cs.current.jit_context.num_constants[i] = in update_csctx_consts()
1183 csctx->cs.current.jit_context.constants[i] = fake_const_buf; in update_csctx_consts()
1184 csctx->cs.current.jit_context.num_constants[i] = 0; in update_csctx_consts()
1205 csctx->cs.current.jit_context.ssbos[i] = (const uint32_t *)current_data; in update_csctx_ssbo()
1206 csctx->cs.current.jit_context.num_ssbos[i] = csctx->ssbos[i].current.buffer_size; in update_csctx_ssbo()
1208 csctx->cs.current.jit_context.ssbos[i] = NULL; in update_csctx_ssbo()
[all …]
Dlp_state_cs.h120 struct lp_jit_cs_context jit_context; member
Dlp_rast.h86 struct lp_jit_context jit_context; member
Dlp_rast.c373 variant->jit_function[RAST_WHOLE]( &state->jit_context, in lp_rast_shade_tile()
469 assert(lp_check_alignment(state->jit_context.u8_blend_color, 16)); in lp_rast_shade_quads_mask_sample()
481 variant->jit_function[RAST_EDGE_TEST](&state->jit_context, in lp_rast_shade_quads_mask_sample()
Dlp_rast_priv.h278 variant->jit_function[RAST_WHOLE]( &state->jit_context, in lp_rast_shade_quads_all()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c450 for (i = 0; i < ARRAY_SIZE(llvm->jit_context.vs_constants); ++i) { in llvm_middle_end_bind_parameters()
457 llvm->jit_context.vs_constants[i] = draw->pt.user.vs_constants[i]; in llvm_middle_end_bind_parameters()
458 llvm->jit_context.num_vs_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
460 llvm->jit_context.vs_constants[i] = fake_const_buf; in llvm_middle_end_bind_parameters()
463 for (i = 0; i < ARRAY_SIZE(llvm->jit_context.vs_ssbos); ++i) { in llvm_middle_end_bind_parameters()
465 llvm->jit_context.vs_ssbos[i] = draw->pt.user.vs_ssbos[i]; in llvm_middle_end_bind_parameters()
466 llvm->jit_context.num_vs_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters()
468 llvm->jit_context.vs_ssbos[i] = (const uint32_t *)fake_const_buf; in llvm_middle_end_bind_parameters()
523 llvm->jit_context.planes = in llvm_middle_end_bind_parameters()
528 llvm->jit_context.viewports = draw->viewports; in llvm_middle_end_bind_parameters()
[all …]
Ddraw_tess.h70 struct draw_tcs_jit_context *jit_context; member
96 struct draw_tes_jit_context *jit_context; member
Ddraw_gs.h101 struct draw_gs_jit_context *jit_context; member
Ddraw_tess.c148 …shader->current_variant->jit_func(shader->jit_context, shader->tcs_input->data, shader->tcs_output… in llvm_tcs_run()
310 shader->current_variant->jit_func(shader->jit_context, shader->tes_input->data, output, prim_id, in llvm_tes_run()
459 tcs->jit_context = &draw->llvm->tcs_jit_context; in draw_create_tess_ctrl_shader()
579 tes->jit_context = &draw->llvm->tes_jit_context; in draw_create_tess_eval_shader()
Ddraw_gs.c418 shader->jit_context, shader->gs_input->data, in llvm_gs_run()
426 out_prims[i] = shader->jit_context->emitted_prims[i]; in llvm_gs_run()
670 shader->jit_context->prim_lengths = shader->llvm_prim_lengths; in draw_geometry_shader_run()
671 shader->jit_context->emitted_vertices = shader->llvm_emitted_vertices; in draw_geometry_shader_run()
672 shader->jit_context->emitted_prims = shader->llvm_emitted_primitives; in draw_geometry_shader_run()
894 gs->jit_context = &draw->llvm->gs_jit_context; in draw_create_geometry_shader()
Ddraw_llvm.h786 struct draw_jit_context jit_context; member
Ddraw_llvm.c2489 assert(sview_idx < ARRAY_SIZE(draw->llvm->jit_context.textures)); in draw_llvm_set_mapped_texture()
2490 jit_tex = &draw->llvm->jit_context.textures[sview_idx]; in draw_llvm_set_mapped_texture()
2540 assert(idx < ARRAY_SIZE(draw->llvm->jit_context.images)); in draw_llvm_set_mapped_image()
2541 jit_image = &draw->llvm->jit_context.images[idx]; in draw_llvm_set_mapped_image()
2581 struct draw_jit_sampler *jit_sam = &draw->llvm->jit_context.samplers[i]; in draw_llvm_set_sampler_state()