/third_party/mesa3d/src/intel/blorp/ |
D | blorp_clear.c | 442 get_fast_clear_rect(batch->blorp->isl_dev, surf->aux_surf, in blorp_fast_clear() 472 if (blorp->isl_dev->info->ver < 7) in blorp_clear_supports_compute() 476 if (blorp->isl_dev->info->ver >= 12) { in blorp_clear_supports_compute() 548 if (batch->blorp->isl_dev->info->ver < 6) in blorp_clear() 598 if (batch->blorp->isl_dev->info->ver == 4 && in blorp_clear() 600 blorp_surf_convert_to_single_slice(batch->blorp->isl_dev, ¶ms.dst); in blorp_clear() 604 surf_fake_rgb_with_red(batch->blorp->isl_dev, ¶ms.dst); in blorp_clear() 610 blorp_surf_convert_to_uncompressed(batch->blorp->isl_dev, ¶ms.dst, in blorp_clear() 740 if (ISL_GFX_VER(batch->blorp->isl_dev) <= 6) { in blorp_clear_stencil_as_rgba() 759 blorp_surf_fake_interleaved_msaa(batch->blorp->isl_dev, ¶ms.dst); in blorp_clear_stencil_as_rgba() [all …]
|
D | blorp_priv.h | 77 blorp_surf_convert_to_single_slice(const struct isl_device *isl_dev, 80 surf_fake_rgb_with_red(const struct isl_device *isl_dev, 83 blorp_surf_convert_to_uncompressed(const struct isl_device *isl_dev, 88 blorp_surf_fake_interleaved_msaa(const struct isl_device *isl_dev, 91 blorp_surf_retile_w_to_y(const struct isl_device *isl_dev,
|
D | blorp_blit.c | 1173 const struct intel_device_info *devinfo = blorp->isl_dev->info; in brw_blorp_build_nir_shader() 1639 blorp_surf_convert_to_single_slice(const struct isl_device *isl_dev, in blorp_surf_convert_to_single_slice() argument 1665 isl_surf_get_image_surf(isl_dev, &info->surf, in blorp_surf_convert_to_single_slice() 1693 blorp_surf_fake_interleaved_msaa(const struct isl_device *isl_dev, in blorp_surf_fake_interleaved_msaa() argument 1699 blorp_surf_convert_to_single_slice(isl_dev, info); in blorp_surf_fake_interleaved_msaa() 1707 blorp_surf_retile_w_to_y(const struct isl_device *isl_dev, in blorp_surf_retile_w_to_y() argument 1713 blorp_surf_convert_to_single_slice(isl_dev, info); in blorp_surf_retile_w_to_y() 1720 if (isl_dev->info->ver > 6 && in blorp_surf_retile_w_to_y() 1722 blorp_surf_fake_interleaved_msaa(isl_dev, info); in blorp_surf_retile_w_to_y() 1725 if (isl_dev->info->ver == 6 || isl_dev->info->ver == 7) { in blorp_surf_retile_w_to_y() [all …]
|
D | blorp_genX_exec.h | 351 GFX_VER < 10 ? batch->blorp->isl_dev->ss.clear_value_size : 4 * 4; in blorp_emit_input_varying_data() 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() local 1467 isl_surf_fill_state(batch->blorp->isl_dev, state, in blorp_emit_surface_state() 1482 blorp_surface_reloc(batch, state_offset + isl_dev->ss.addr_offset, in blorp_emit_surface_state() 1491 uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset; in blorp_emit_surface_state() 1492 blorp_surface_reloc(batch, state_offset + isl_dev->ss.aux_addr_offset, in blorp_emit_surface_state() 1499 uint32_t *clear_addr = state + isl_dev->ss.clear_color_state_offset; in blorp_emit_surface_state() [all …]
|
D | blorp.c | 51 struct isl_device *isl_dev) in blorp_init() argument 54 blorp->isl_dev = isl_dev; in blorp_init() 151 if (is_dest && blorp->isl_dev->info->ver <= 6) in brw_blorp_surface_info_init() 410 const struct intel_device_info *devinfo = batch->blorp->isl_dev->info; in blorp_hiz_op()
|
D | blorp.h | 44 const struct isl_device *isl_dev; member 62 struct isl_device *isl_dev);
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_blit.c | 232 iris_blorp_surf_for_resource(struct isl_device *isl_dev, in iris_blorp_surf_for_resource() argument 247 .mocs = iris_mocs(res->bo, isl_dev, in iris_blorp_surf_for_resource() 260 .mocs = iris_mocs(res->bo, isl_dev, 0), in iris_blorp_surf_for_resource() 267 .mocs = iris_mocs(res->aux.clear_color_bo, isl_dev, 0), in iris_blorp_surf_for_resource() 482 iris_blorp_surf_for_resource(&screen->isl_dev, &src_surf, in iris_blit() 485 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_blit() 645 .mocs = iris_mocs(src_res->bo, &screen->isl_dev, in iris_copy_region() 651 .mocs = iris_mocs(dst_res->bo, &screen->isl_dev, in iris_copy_region() 671 iris_blorp_surf_for_resource(&screen->isl_dev, &src_surf, in iris_copy_region() 673 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_copy_region()
|
D | iris_draw.c | 325 const struct isl_device *isl_dev = &screen->isl_dev; in iris_update_grid_size_resource() local 360 u_upload_alloc(ice->state.surface_uploader, 0, isl_dev->ss.size, in iris_update_grid_size_resource() 361 isl_dev->ss.align, &state_ref->offset, &state_ref->res, in iris_update_grid_size_resource() 365 isl_buffer_fill_state(&screen->isl_dev, surf_map, in iris_update_grid_size_resource() 370 .mocs = iris_mocs(grid_bo, isl_dev, in iris_update_grid_size_resource()
|
D | iris_state.c | 698 struct isl_device *isl_dev = &batch->screen->isl_dev; in init_state_base_address() local 699 uint32_t mocs = isl_mocs(isl_dev, 0, false); in init_state_base_address() 2209 fill_buffer_surface_state(struct isl_device *isl_dev, in fill_buffer_surface_state() argument 2241 isl_buffer_fill_state(isl_dev, map, in fill_buffer_surface_state() 2247 .mocs = iris_mocs(res->bo, isl_dev, usage)); in fill_buffer_surface_state() 2333 fill_surface_state(struct isl_device *isl_dev, in fill_surface_state() argument 2346 .mocs = iris_mocs(res->bo, isl_dev, view->usage), in fill_surface_state() 2363 f.use_clear_address = isl_dev->info->ver > 9; in fill_surface_state() 2367 isl_surf_fill_state_s(isl_dev, map, &f); in fill_surface_state() 2450 fill_surface_state(&screen->isl_dev, map, isv->res, &isv->res->surf, in iris_create_sampler_view() [all …]
|
D | iris_clear.c | 321 iris_blorp_surf_for_resource(&batch->screen->isl_dev, &surf, in fast_clear_color() 386 iris_blorp_surf_for_resource(&batch->screen->isl_dev, &surf, in clear_color() 604 iris_blorp_surf_for_resource(&batch->screen->isl_dev, &z_surf, in clear_depth_stencil() 614 iris_blorp_surf_for_resource(&batch->screen->isl_dev, in clear_depth_stencil()
|
D | iris_blorp.c | 196 .mocs = iris_mocs(bo, &batch->screen->isl_dev, in blorp_alloc_vertex_buffer() 410 blorp_init(&ice->blorp, ice, &screen->isl_dev); in genX()
|
D | iris_screen.h | 200 struct isl_device isl_dev; member
|
D | iris_screen.c | 108 const struct isl_device *isldev = &screen->isl_dev; in iris_get_device_uuid() 825 isl_device_init(&screen->isl_dev, &screen->devinfo, false); in iris_screen_create()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_wm_surface_state.c | 173 brw->isl_dev.ss.size, in brw_emit_surface_state() 174 brw->isl_dev.ss.align, in brw_emit_surface_state() 177 isl_surf_fill_state(&brw->isl_dev, state, .surf = &surf, .view = &view, in brw_emit_surface_state() 179 *surf_offset + brw->isl_dev.ss.addr_offset, in brw_emit_surface_state() 200 uint64_t *aux_addr = state + brw->isl_dev.ss.aux_addr_offset; in brw_emit_surface_state() 203 brw->isl_dev.ss.aux_addr_offset, in brw_emit_surface_state() 207 uint32_t *aux_addr = state + brw->isl_dev.ss.aux_addr_offset; in brw_emit_surface_state() 210 brw->isl_dev.ss.aux_addr_offset, in brw_emit_surface_state() 221 state + brw->isl_dev.ss.clear_color_state_offset; in brw_emit_surface_state() 224 brw->isl_dev.ss.clear_color_state_offset, in brw_emit_surface_state() [all …]
|
D | brw_misc_state.c | 352 const unsigned ds_dwords = brw->isl_dev.ds.size / 4; in brw_emit_depthbuffer() 376 ds_offset + brw->isl_dev.ds.depth_offset, in brw_emit_depthbuffer() 410 ds_offset + brw->isl_dev.ds.hiz_offset, in brw_emit_depthbuffer() 444 ds_offset + brw->isl_dev.ds.stencil_offset, in brw_emit_depthbuffer() 450 isl_emit_depth_stencil_hiz_s(&brw->isl_dev, ds_map, &info); in brw_emit_depthbuffer()
|
D | brw_screen.h | 67 struct isl_device isl_dev; member
|
D | brw_mipmap_tree.c | 393 if (!isl_surf_init_s(&brw->isl_dev, &mt->surf, &init_info)) in make_surface() 407 if (!isl_surf_init_s(&brw->isl_dev, &mt->surf, &init_info)) in make_surface() 411 if (!isl_surf_init_s(&brw->isl_dev, &mt->surf, &init_info)) in make_surface() 731 if (!isl_surf_get_ccs_surf(&brw->isl_dev, &mt->surf, NULL, in create_ccs_buf_for_image() 754 if (brw->isl_dev.ss.clear_color_state_size > 0) { in create_ccs_buf_for_image() 757 brw->isl_dev.ss.clear_color_state_size, in create_ccs_buf_for_image() 1412 const bool has_indirect_clear = brw->isl_dev.ss.clear_color_state_size > 0; in brw_alloc_aux_buffer() 1419 size += brw->isl_dev.ss.clear_color_state_size; in brw_alloc_aux_buffer() 1462 brw->isl_dev.ss.clear_color_state_size); in brw_alloc_aux_buffer() 1542 aux_surf_ok = isl_surf_get_hiz_surf(&brw->isl_dev, &mt->surf, &aux_surf); in brw_miptree_alloc_aux() [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_state.c | 2978 isl_surf_get_image_surf(&screen->isl_dev, &res->surf, in crocus_create_surface() 3104 isl_surf_fill_image_param(&screen->isl_dev, in crocus_set_shader_images() 3401 struct isl_device *isl_dev = &screen->isl_dev; in crocus_set_framebuffer_state() 4923 struct isl_device *isl_dev = &batch->screen->isl_dev; in emit_sized_null_surface() local 4924 uint32_t *surf = stream_state(batch, isl_dev->ss.size, in emit_sized_null_surface() 4925 isl_dev->ss.align, in emit_sized_null_surface() 4928 isl_null_fill_state(isl_dev, surf, in emit_sized_null_surface() 4984 struct isl_device *isl_dev = &batch->screen->isl_dev; in emit_surface_state() local 4996 isl_surf_get_image_surf(isl_dev, in_surf, in emit_surface_state() 5004 isl_surf_get_image_surf(isl_dev, in_surf, in emit_surface_state() [all …]
|
D | crocus_blit.c | 272 struct isl_device *isl_dev, in crocus_blorp_surf_for_resource() argument 293 .mocs = crocus_mocs(res->bo, isl_dev), in crocus_blorp_surf_for_resource() 304 .mocs = crocus_mocs(res->bo, isl_dev), in crocus_blorp_surf_for_resource() 585 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &src_surf, in crocus_blit() 588 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &dst_surf, in crocus_blit() 726 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &src_surf, in crocus_copy_region() 728 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &dst_surf, in crocus_copy_region()
|
D | crocus_clear.c | 300 crocus_blorp_surf_for_resource(&screen->vtbl, &batch->screen->isl_dev, &surf, in fast_clear_color() 370 crocus_blorp_surf_for_resource(&screen->vtbl, &batch->screen->isl_dev, &surf, in clear_color() 593 crocus_blorp_surf_for_resource(&screen->vtbl, &batch->screen->isl_dev, in clear_depth_stencil() 605 crocus_blorp_surf_for_resource(&screen->vtbl, &batch->screen->isl_dev, in clear_depth_stencil()
|
D | crocus_blorp.c | 210 .mocs = crocus_mocs(bo, &batch->screen->isl_dev), in blorp_alloc_vertex_buffer() 409 blorp_init(&ice->blorp, ice, &screen->isl_dev); in genX()
|
D | crocus_screen.c | 112 const struct isl_device *isldev = &screen->isl_dev; in crocus_get_device_uuid() 795 isl_device_init(&screen->isl_dev, &screen->devinfo, in crocus_screen_create()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_image.c | 465 device->isl_dev.ss.clear_color_state_size : in add_aux_state_tracking_buffer() 466 device->isl_dev.ss.clear_value_size; in add_aux_state_tracking_buffer() 557 ok = isl_surf_get_hiz_surf(&device->isl_dev, in add_aux_surface_if_supported() 563 if (!isl_surf_supports_ccs(&device->isl_dev, in add_aux_surface_if_supported() 598 if (!isl_surf_supports_ccs(&device->isl_dev, in add_aux_surface_if_supported() 655 ok = isl_surf_get_ccs_surf(&device->isl_dev, in add_aux_surface_if_supported() 706 ok = isl_surf_get_mcs_surf(&device->isl_dev, in add_aux_surface_if_supported() 736 ok = isl_surf_init(&device->isl_dev, in add_shadow_surface() 781 ok = isl_surf_init(&device->isl_dev, &anv_surf->isl, in add_primary_surface() 2399 isl_buffer_fill_state(&device->isl_dev, state_inout->state.map, in anv_image_fill_surface_state() [all …]
|
D | genX_cmd_buffer.c | 93 uint32_t mocs = isl_mocs(&device->isl_dev, 0, false); in genX() 291 const struct isl_device *isl_dev = &cmd_buffer->device->isl_dev; in add_surface_reloc() local 294 state.offset + isl_dev->ss.addr_offset, in add_surface_reloc() 306 const struct isl_device *isl_dev = &cmd_buffer->device->isl_dev; in add_surface_state_relocs() local 315 state.state.offset + isl_dev->ss.aux_addr_offset, in add_surface_state_relocs() 328 isl_dev->ss.clear_color_state_offset, in add_surface_state_relocs() 1041 const struct isl_device *isl_dev = &cmd_buffer->device->isl_dev; in init_fast_clear_color() local 1043 isl_dev->ss.clear_color_state_size / 4 : in init_fast_clear_color() 1044 isl_dev->ss.clear_value_size / 4; in init_fast_clear_color() 1090 cmd_buffer->device->isl_dev.ss.clear_value_offset, in genX() [all …]
|
D | anv_device.c | 591 intel_uuid_compute_device_id(device->device_uuid, &device->isl_dev, VK_UUID_SIZE); in anv_physical_device_init_uuids() 964 isl_device_init(&device->isl_dev, &device->info, swizzled); in anv_physical_device_try_create() 1815 isl_device_get_sample_counts(&pdevice->isl_dev); in anv_GetPhysicalDeviceProperties() 1826 .maxStorageBufferRange = pdevice->isl_dev.max_buffer_size, in anv_GetPhysicalDeviceProperties() 2139 isl_device_get_sample_counts(&pdevice->isl_dev); in anv_get_physical_device_properties_1_2() 2302 properties->maxBufferSize = pdevice->isl_dev.max_buffer_size; in anv_GetPhysicalDeviceProperties2() 2414 isl_device_get_sample_counts(&pdevice->isl_dev); in anv_GetPhysicalDeviceProperties2() 3101 device->isl_dev = physical_device->isl_dev; in anv_CreateDevice() 3232 device->isl_dev.ss.size, in anv_CreateDevice() 3233 device->isl_dev.ss.align); in anv_CreateDevice() [all …]
|