Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_linear.c107 nr_consts = state->jit_context.num_constants[0]; in lp_fs_linear_run()
110 float val = state->jit_context.constants[0][i]; in lp_fs_linear_run()
127 state->jit_context.u8_blend_color[32] + in lp_fs_linear_run()
128 (state->jit_context.u8_blend_color[16] << 8) + in lp_fs_linear_run()
129 (state->jit_context.u8_blend_color[0] << 16) + in lp_fs_linear_run()
130 (state->jit_context.u8_blend_color[48] << 24); in lp_fs_linear_run()
132 jit.alpha_ref_value = float_to_ubyte(state->jit_context.alpha_ref_value); in lp_fs_linear_run()
184 &state->jit_context.textures[tex_unit], in lp_fs_linear_run()
Dlp_setup.c698 struct lp_jit_image *jit_image = &setup->fs.current.jit_context.images[i]; in lp_setup_set_fs_images()
767 if (setup->fs.current.jit_context.alpha_ref_value != alpha_ref_value) { in lp_setup_set_alpha_ref_value()
768 setup->fs.current.jit_context.alpha_ref_value = alpha_ref_value; in lp_setup_set_alpha_ref_value()
780 if (setup->fs.current.jit_context.stencil_ref_front != refs[0] || in lp_setup_set_stencil_ref_values()
781 setup->fs.current.jit_context.stencil_ref_back != refs[1]) { in lp_setup_set_stencil_ref_values()
782 setup->fs.current.jit_context.stencil_ref_front = refs[0]; in lp_setup_set_stencil_ref_values()
783 setup->fs.current.jit_context.stencil_ref_back = refs[1]; in lp_setup_set_stencil_ref_values()
827 if (setup->fs.current.jit_context.sample_mask != sample_mask) { in lp_setup_set_sample_mask()
828 setup->fs.current.jit_context.sample_mask = sample_mask; in lp_setup_set_sample_mask()
957 jit_tex = &setup->fs.current.jit_context.textures[i]; in lp_setup_set_fragment_sampler_views()
[all …]
Dlp_linear_fastpath.c69 const struct lp_jit_context *context = &state->jit_context; in lp_linear_blit_rgba_blit()
118 const struct lp_jit_context *context = &state->jit_context; in lp_linear_blit_rgb1_blit()
Dlp_state_cs.c955 jit_tex = &csctx->cs.current.jit_context.textures[i]; in lp_csctx_set_sampler_views()
1097 jit_sam = &csctx->cs.current.jit_context.samplers[i]; in lp_csctx_set_sampler_state()
1164 jit_image = &csctx->cs.current.jit_context.images[i]; in lp_csctx_set_cs_images()
1242 csctx->cs.current.jit_context.constants[i] = (const float *)current_data; in update_csctx_consts()
1243 csctx->cs.current.jit_context.num_constants[i] = in update_csctx_consts()
1248 csctx->cs.current.jit_context.constants[i] = fake_const_buf; in update_csctx_consts()
1249 csctx->cs.current.jit_context.num_constants[i] = 0; in update_csctx_consts()
1269 csctx->cs.current.jit_context.ssbos[i] = (const uint32_t *)current_data; in update_csctx_ssbo()
1270 csctx->cs.current.jit_context.num_ssbos[i] = csctx->ssbos[i].current.buffer_size; in update_csctx_ssbo()
1272 csctx->cs.current.jit_context.ssbos[i] = NULL; in update_csctx_ssbo()
[all …]
Dlp_state_fs_linear.c363 const struct lp_jit_context *context = &state->jit_context; in blit_rgba_blit()
415 const struct lp_jit_context *context = &state->jit_context; in blit_rgb1_blit()
475 const struct lp_jit_context *context = &state->jit_context; in blit_rgba()
514 const struct lp_jit_context *context = &state->jit_context; in blit_rgb1()
558 const struct lp_jit_context *context = &state->jit_context; in blit_rgba_blend_premul()
Dlp_state_cs.h124 struct lp_jit_cs_context jit_context; member
Dlp_rast.c364 variant->jit_function[RAST_WHOLE](&state->jit_context, in lp_rast_shade_tile()
459 assert(lp_check_alignment(state->jit_context.u8_blend_color, 16)); in lp_rast_shade_quads_mask_sample()
472 variant->jit_function[RAST_EDGE_TEST](&state->jit_context, in lp_rast_shade_quads_mask_sample()
516 const struct lp_jit_texture *texture = &state->jit_context.textures[0]; in lp_rast_blit_tile_to_dest()
Dlp_rast.h87 struct lp_jit_context jit_context; member
Dlp_rast_linear_fallback.c111 variant->jit_function[fn_index](&state->jit_context, in shade_quads()
Dlp_rast_priv.h275 variant->jit_function[RAST_WHOLE]( &state->jit_context, in lp_rast_shade_quads_all()
Dlp_setup_rect.c157 &setup->fs.current.jit_context.textures[0]; in lp_setup_is_blit()
Dlp_setup_tri.c243 const float *constants = setup->fs.current.jit_context.constants[0]; in check_opaque()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c442 for (i = 0; i < ARRAY_SIZE(llvm->jit_context.vs_constants); ++i) { in llvm_middle_end_bind_parameters()
449 llvm->jit_context.vs_constants[i] = draw->pt.user.vs_constants[i]; in llvm_middle_end_bind_parameters()
450 llvm->jit_context.num_vs_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
452 llvm->jit_context.vs_constants[i] = fake_const_buf; in llvm_middle_end_bind_parameters()
455 for (i = 0; i < ARRAY_SIZE(llvm->jit_context.vs_ssbos); ++i) { in llvm_middle_end_bind_parameters()
457 llvm->jit_context.vs_ssbos[i] = draw->pt.user.vs_ssbos[i]; in llvm_middle_end_bind_parameters()
458 llvm->jit_context.num_vs_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters()
460 llvm->jit_context.vs_ssbos[i] = (const uint32_t *)fake_const_buf; in llvm_middle_end_bind_parameters()
515 llvm->jit_context.planes = in llvm_middle_end_bind_parameters()
520 llvm->jit_context.viewports = draw->viewports; in llvm_middle_end_bind_parameters()
[all …]
Ddraw_tess.h70 struct draw_tcs_jit_context *jit_context; member
97 struct draw_tes_jit_context *jit_context; member
Ddraw_gs.c397 shader->jit_context, shader->gs_input->data, in llvm_gs_run()
406 out_prims[i] = shader->jit_context->emitted_prims[i]; in llvm_gs_run()
651 shader->jit_context->prim_lengths = shader->llvm_prim_lengths; in draw_geometry_shader_run()
652 shader->jit_context->emitted_vertices = shader->llvm_emitted_vertices; in draw_geometry_shader_run()
653 shader->jit_context->emitted_prims = shader->llvm_emitted_primitives; in draw_geometry_shader_run()
886 gs->jit_context = &draw->llvm->gs_jit_context; in draw_create_geometry_shader()
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()
460 tcs->jit_context = &draw->llvm->tcs_jit_context; in draw_create_tess_ctrl_shader()
585 tes->jit_context = &draw->llvm->tes_jit_context; in draw_create_tess_eval_shader()
Ddraw_gs.h102 struct draw_gs_jit_context *jit_context; member
Ddraw_llvm.h844 struct draw_jit_context jit_context; member
Ddraw_llvm.c2507 assert(sview_idx < ARRAY_SIZE(draw->llvm->jit_context.textures)); in draw_llvm_set_mapped_texture()
2508 jit_tex = &draw->llvm->jit_context.textures[sview_idx]; in draw_llvm_set_mapped_texture()
2558 assert(idx < ARRAY_SIZE(draw->llvm->jit_context.images)); in draw_llvm_set_mapped_image()
2559 jit_image = &draw->llvm->jit_context.images[idx]; in draw_llvm_set_mapped_image()
2599 struct draw_jit_sampler *jit_sam = &draw->llvm->jit_context.samplers[i]; in draw_llvm_set_sampler_state()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h26482 struct jit_context { struct
26493 struct jit_context ctx; argument