Home
last modified time | relevance | path

Searched refs:blorp (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/mesa3d/src/intel/blorp/
Dblorp.c50 blorp_init(struct blorp_context *blorp, void *driver_ctx, in blorp_init() argument
53 blorp->driver_ctx = driver_ctx; in blorp_init()
54 blorp->isl_dev = isl_dev; in blorp_init()
58 blorp_finish(struct blorp_context *blorp) in blorp_finish() argument
60 blorp->driver_ctx = NULL; in blorp_finish()
64 blorp_batch_init(struct blorp_context *blorp, in blorp_batch_init() argument
68 batch->blorp = blorp; in blorp_batch_init()
76 batch->blorp = NULL; in blorp_batch_finish()
86 struct blorp_context *blorp = batch->blorp; in brw_blorp_surface_info_init() local
151 if (is_dest && blorp->isl_dev->info->ver <= 6) in brw_blorp_surface_info_init()
[all …]
Dblorp_clear.c54 struct blorp_context *blorp = batch->blorp; in blorp_params_get_clear_kernel_fs() local
64 if (blorp->lookup_shader(batch, &blorp_key, sizeof(blorp_key), in blorp_params_get_clear_kernel_fs()
96 blorp_compile_fs(blorp, mem_ctx, b.shader, &wm_key, use_replicated_data, in blorp_params_get_clear_kernel_fs()
100 blorp->upload_shader(batch, MESA_SHADER_FRAGMENT, in blorp_params_get_clear_kernel_fs()
115 struct blorp_context *blorp = batch->blorp; in blorp_params_get_clear_kernel_cs() local
125 if (blorp->lookup_shader(batch, &blorp_key, sizeof(blorp_key), in blorp_params_get_clear_kernel_cs()
170 blorp_compile_cs(blorp, mem_ctx, b.shader, &cs_key, &prog_data); in blorp_params_get_clear_kernel_cs()
173 blorp->upload_shader(batch, MESA_SHADER_COMPUTE, in blorp_params_get_clear_kernel_cs()
217 struct blorp_context *blorp = batch->blorp; in blorp_params_get_layer_offset_vs() local
225 if (blorp->lookup_shader(batch, &blorp_key, sizeof(blorp_key), in blorp_params_get_layer_offset_vs()
[all …]
Dblorp.h61 void blorp_init(struct blorp_context *blorp, void *driver_ctx,
63 void blorp_finish(struct blorp_context *blorp);
89 struct blorp_context *blorp; member
94 void blorp_batch_init(struct blorp_context *blorp, struct blorp_batch *batch,
177 blorp_clear_supports_compute(struct blorp_context *blorp,
182 blorp_copy_supports_compute(struct blorp_context *blorp,
186 blorp_blit_supports_compute(struct blorp_context *blorp,
Dblorp_blit.c1169 brw_blorp_build_nir_shader(struct blorp_context *blorp, in brw_blorp_build_nir_shader() argument
1173 const struct intel_device_info *devinfo = blorp->isl_dev->info; in brw_blorp_build_nir_shader()
1513 struct blorp_context *blorp = batch->blorp; in brw_blorp_get_blit_kernel_fs() local
1515 if (blorp->lookup_shader(batch, key, sizeof(*key), in brw_blorp_get_blit_kernel_fs()
1524 nir_shader *nir = brw_blorp_build_nir_shader(blorp, batch, mem_ctx, key); in brw_blorp_get_blit_kernel_fs()
1535 program = blorp_compile_fs(blorp, mem_ctx, nir, &wm_key, false, in brw_blorp_get_blit_kernel_fs()
1539 blorp->upload_shader(batch, MESA_SHADER_FRAGMENT, in brw_blorp_get_blit_kernel_fs()
1554 struct blorp_context *blorp = batch->blorp; in brw_blorp_get_blit_kernel_cs() local
1556 if (blorp->lookup_shader(batch, prog_key, sizeof(*prog_key), in brw_blorp_get_blit_kernel_cs()
1565 nir_shader *nir = brw_blorp_build_nir_shader(blorp, batch, mem_ctx, in brw_blorp_get_blit_kernel_cs()
[all …]
Dmeson.build22 'blorp.c',
23 'blorp.h',
32 'blorp',
Dblorp_priv.h412 blorp_compile_fs(struct blorp_context *blorp, void *mem_ctx,
419 blorp_compile_vs(struct blorp_context *blorp, void *mem_ctx,
451 blorp_compile_cs(struct blorp_context *blorp, void *mem_ctx,
DTODO15 - Avoid re-emitting state for repeated blorp calls
Dblorp_genX_exec.h232 intel_get_urb_config(batch->blorp->compiler->devinfo, in emit_urb_config()
351 GFX_VER < 10 ? batch->blorp->isl_dev->ss.clear_value_size : 4 * 4; in blorp_emit_input_varying_data()
431 bool need_ndc = batch->blorp->compiler->devinfo->ver <= 5; in blorp_emit_vertex_elements()
701 batch->blorp->isl_dev->info->max_vs_threads - 1; in blorp_emit_vs_config()
978 batch->blorp->isl_dev->info->max_wm_threads - 1; in blorp_emit_ps_config()
1032 batch->blorp->isl_dev->info->max_wm_threads - 1; in blorp_emit_ps_config()
1430 const struct isl_device *isl_dev = batch->blorp->isl_dev; in blorp_emit_surface_state()
1467 isl_surf_fill_state(batch->blorp->isl_dev, state, in blorp_emit_surface_state()
1561 const struct isl_device *isl_dev = batch->blorp->isl_dev; in blorp_setup_binding_table()
1649 const struct isl_device *isl_dev = batch->blorp->isl_dev; in blorp_emit_depth_stencil_config()
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_blorp.c135 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_alloc_dynamic_state()
161 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_alloc_binding_table()
185 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_alloc_vertex_buffer()
214 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_vf_invalidate_for_vb_48b_transitions()
269 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in iris_blorp_exec()
396 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_measure_start()
410 blorp_init(&ice->blorp, ice, &screen->isl_dev); in genX()
411 ice->blorp.compiler = screen->compiler; in genX()
412 ice->blorp.lookup_shader = iris_blorp_lookup_shader; in genX()
413 ice->blorp.upload_shader = iris_blorp_upload_shader; in genX()
[all …]
Diris_program_cache.c202 struct blorp_context *blorp = blorp_batch->blorp; in iris_blorp_lookup_shader() local
203 struct iris_context *ice = blorp->driver_ctx; in iris_blorp_lookup_shader()
229 struct blorp_context *blorp = blorp_batch->blorp; in iris_blorp_upload_shader() local
230 struct iris_context *ice = blorp->driver_ctx; in iris_blorp_upload_shader()
Diris_blit.c436 blorp_batch_init(&ice->blorp, &blorp_batch, batch, blorp_flags); in iris_blit()
614 iris_copy_region(struct blorp_context *blorp, in iris_copy_region() argument
624 struct iris_context *ice = blorp->driver_ctx; in iris_copy_region()
663 blorp_batch_init(&ice->blorp, &blorp_batch, batch, 0); in iris_copy_region()
688 blorp_batch_init(&ice->blorp, &blorp_batch, batch, 0); in iris_copy_region()
727 iris_copy_region(&ice->blorp, batch, p_dst, dst_level, dstx, dsty, dstz, in iris_resource_copy_region()
736 iris_copy_region(&ice->blorp, batch, &s_dst_res->base.b, dst_level, dstx, in iris_resource_copy_region()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
DgenX_blorp_exec.c47 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_emit_dwords()
61 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_emit_reloc()
84 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_surface_reloc()
112 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_get_surface_base_address()
127 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_alloc_dynamic_state()
149 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_alloc_binding_table()
168 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_alloc_vertex_buffer()
250 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_get_workaround_address()
272 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_get_l3_config()
283 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_emit_urb_config()
[all …]
Dgfx4_blorp_exec.h27 assert(batch->blorp->driver_ctx == batch->driver_batch); in dynamic_state_address()
39 assert(batch->blorp->driver_ctx == batch->driver_batch); in instruction_state_address()
51 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_emit_vs_state()
72 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_emit_sf_state()
155 batch->blorp->compiler->devinfo->max_wm_threads - 1; in blorp_emit_wm_state()
178 assert(batch->blorp->driver_ctx == batch->driver_batch); in blorp_emit_pipeline()
Dbrw_blorp.c75 blorp_init(&brw->blorp, brw, &brw->isl_dev); in brw_blorp_init()
77 brw->blorp.compiler = brw->screen->compiler; in brw_blorp_init()
82 brw->blorp.exec = gfx45_blorp_exec; in brw_blorp_init()
84 brw->blorp.exec = gfx4_blorp_exec; in brw_blorp_init()
88 brw->blorp.exec = gfx5_blorp_exec; in brw_blorp_init()
91 brw->blorp.exec = gfx6_blorp_exec; in brw_blorp_init()
95 brw->blorp.exec = gfx75_blorp_exec; in brw_blorp_init()
97 brw->blorp.exec = gfx7_blorp_exec; in brw_blorp_init()
101 brw->blorp.exec = gfx8_blorp_exec; in brw_blorp_init()
104 brw->blorp.exec = gfx9_blorp_exec; in brw_blorp_init()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program_cache.c245 struct blorp_context *blorp = blorp_batch->blorp; in crocus_blorp_lookup_shader() local
246 struct crocus_context *ice = blorp->driver_ctx; in crocus_blorp_lookup_shader()
267 struct blorp_context *blorp = blorp_batch->blorp; in crocus_blorp_upload_shader() local
268 struct crocus_context *ice = blorp->driver_ctx; in crocus_blorp_upload_shader()
Dcrocus_blorp.c274 struct crocus_context *ice = blorp_batch->blorp->driver_ctx; in crocus_blorp_exec()
409 blorp_init(&ice->blorp, ice, &screen->isl_dev); in genX()
410 ice->blorp.compiler = screen->compiler; in genX()
411 ice->blorp.lookup_shader = crocus_blorp_lookup_shader; in genX()
412 ice->blorp.upload_shader = crocus_blorp_upload_shader; in genX()
413 ice->blorp.exec = crocus_blorp_exec; in genX()
Dcrocus_blit.c528 blorp_batch_init(&ice->blorp, &blorp_batch, batch, blorp_flags); in crocus_blit()
674 crocus_copy_region(struct blorp_context *blorp, in crocus_copy_region() argument
684 struct crocus_context *ice = blorp->driver_ctx; in crocus_copy_region()
719 blorp_batch_init(&ice->blorp, &blorp_batch, batch, 0); in crocus_copy_region()
738 blorp_batch_init(&ice->blorp, &blorp_batch, batch, 0); in crocus_copy_region()
818 crocus_copy_region(&ice->blorp, batch, p_dst, dst_level, dstx, dsty, dstz, in crocus_resource_copy_region()
828 crocus_copy_region(&ice->blorp, batch, &s_dst_res->base.b, dst_level, dstx, in crocus_resource_copy_region()
/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c31 struct blorp_context *blorp = batch->blorp; in lookup_blorp_shader() local
32 struct anv_device *device = blorp->driver_ctx; in lookup_blorp_shader()
61 struct blorp_context *blorp = batch->blorp; in upload_blorp_shader() local
62 struct anv_device *device = blorp->driver_ctx; in upload_blorp_shader()
95 blorp_init(&device->blorp, device, &device->isl_dev); in anv_device_init_blorp()
96 device->blorp.compiler = device->physical->compiler; in anv_device_init_blorp()
97 device->blorp.lookup_shader = lookup_blorp_shader; in anv_device_init_blorp()
98 device->blorp.upload_shader = upload_blorp_shader; in anv_device_init_blorp()
101 device->blorp.exec = gfx7_blorp_exec; in anv_device_init_blorp()
104 device->blorp.exec = gfx75_blorp_exec; in anv_device_init_blorp()
[all …]
/third_party/mesa3d/docs/relnotes/
D17.0.4.rst87 - anv/blorp: Align vertex buffers to 64B
88 - i965/blorp: Align vertex buffers to 64B
89 - i965/blorp: Bump the batch space estimate
D17.2.5.rst48 - cherry-ignore: i965: fix blorp stage_prog_data->param leak
79 - i965/blorp: Use blorp_to_isl_format for src_isl_format in
81 - i965/blorp: Use more temporary isl_format variables
D17.0.2.rst99 - anv/blorp/clear_subpass: Only set surface clear color for fast clears
103 - anv/blorp: Turn off AUX after doing a CCS_D resolve
104 - anv/blorp: Only set a clear color for resolves if fast-cleared
D13.0.1.rst101 - intel/blorp: Use wm_prog_data instead of hand-rolling our own
102 - intel/blorp: Pass a brw_stage_prog_data to upload_shader
105 - intel/blorp: Emit all the binding tables
D18.2.4.rst89 - blorp: Emit a dummy 3DSTATE_WM prior to 3DSTATE_WM_HZ_OP
114 - intel/blorp: Define the clear value bounds for HiZ clears
D17.0.5.rst84 - anv/blorp: Flush the texture cache in UpdateBuffer
88 - anv/blorp: Properly handle VK_ATTACHMENT_UNUSED
D18.1.5.rst106 - blorp: Handle the RGB workaround more like other workarounds
107 - intel/blorp: Handle 3-component formats in clears

1234