/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta.h | 103 VkResult radv_device_init_meta_clear_state(struct radv_device *device, bool on_demand); 104 void radv_device_finish_meta_clear_state(struct radv_device *device); 106 VkResult radv_device_init_meta_resolve_state(struct radv_device *device, bool on_demand); 107 void radv_device_finish_meta_resolve_state(struct radv_device *device); 109 VkResult radv_device_init_meta_depth_decomp_state(struct radv_device *device, bool on_demand); 110 void radv_device_finish_meta_depth_decomp_state(struct radv_device *device); 112 VkResult radv_device_init_meta_fast_clear_flush_state(struct radv_device *device, bool on_demand); 113 void radv_device_finish_meta_fast_clear_flush_state(struct radv_device *device); 115 VkResult radv_device_init_meta_blit_state(struct radv_device *device, bool on_demand); 116 void radv_device_finish_meta_blit_state(struct radv_device *device); [all …]
|
D | radv_shader.h | 45 struct radv_device; 485 void radv_optimize_nir(const struct radv_device *device, struct nir_shader *shader, 490 nir_shader *radv_shader_compile_to_nir(struct radv_device *device, struct vk_shader_module *module, 496 void radv_init_shader_arenas(struct radv_device *device); 497 void radv_destroy_shader_arenas(struct radv_device *device); 501 struct radv_device *device, struct radv_pipeline_cache *cache, 508 struct radv_shader_variant *radv_shader_variant_create(struct radv_device *device, 512 struct radv_device *device, struct vk_shader_module *module, struct nir_shader *const *shaders, 518 radv_create_gs_copy_shader(struct radv_device *device, struct nir_shader *nir, 523 struct radv_shader_variant *radv_create_trap_handler_shader(struct radv_device *device); [all …]
|
D | radv_debug.h | 83 bool radv_init_trace(struct radv_device *device); 84 void radv_finish_trace(struct radv_device *device); 90 void radv_dump_enabled_options(struct radv_device *device, FILE *f); 92 bool radv_trap_handler_init(struct radv_device *device); 93 void radv_trap_handler_finish(struct radv_device *device);
|
D | radv_private.h | 332 struct radv_device *device; 349 void radv_pipeline_cache_init(struct radv_pipeline_cache *cache, struct radv_device *device); 354 struct radv_device *device, struct radv_pipeline_cache *cache, const unsigned char *sha1, 359 struct radv_device *device, struct radv_pipeline_cache *cache, const unsigned char *sha1, 664 struct radv_device *device; 724 struct radv_device { struct 843 VkResult _radv_device_set_lost(struct radv_device *device, const char *file, int line, argument 849 radv_device_is_lost(const struct radv_device *device) in radv_device_is_lost() 870 void radv_device_memory_init(struct radv_device_memory *mem, struct radv_device *device, 972 void radv_buffer_init(struct radv_buffer *buffer, struct radv_device *device, [all …]
|
D | radv_sqtt.c | 39 radv_se_is_disabled(struct radv_device *device, unsigned se) in radv_se_is_disabled() 46 gfx10_get_thread_trace_ctrl(struct radv_device *device, bool enable) in gfx10_get_thread_trace_ctrl() 61 radv_emit_thread_trace_start(struct radv_device *device, struct radeon_cmdbuf *cs, in radv_emit_thread_trace_start() 208 radv_copy_thread_trace_info_regs(struct radv_device *device, struct radeon_cmdbuf *cs, in radv_copy_thread_trace_info_regs() 239 radv_emit_thread_trace_stop(struct radv_device *device, struct radeon_cmdbuf *cs, in radv_emit_thread_trace_stop() 315 radv_emit_thread_trace_userdata(const struct radv_device *device, struct radeon_cmdbuf *cs, in radv_emit_thread_trace_userdata() 339 radv_emit_spi_config_cntl(struct radv_device *device, struct radeon_cmdbuf *cs, bool enable) in radv_emit_spi_config_cntl() 359 radv_emit_inhibit_clockgating(struct radv_device *device, struct radeon_cmdbuf *cs, bool inhibit) in radv_emit_inhibit_clockgating() 371 radv_emit_wait_for_idle(struct radv_device *device, struct radeon_cmdbuf *cs, int family) in radv_emit_wait_for_idle() 386 radv_thread_trace_init_bo(struct radv_device *device) in radv_thread_trace_init_bo() [all …]
|
D | radv_image.c | 46 radv_choose_tiling(struct radv_device *device, const VkImageCreateInfo *pCreateInfo, in radv_choose_tiling() 73 radv_use_tc_compat_htile_for_image(struct radv_device *device, const VkImageCreateInfo *pCreateInfo, in radv_use_tc_compat_htile_for_image() 114 radv_surface_has_scanout(struct radv_device *device, const struct radv_image_create_info *info) in radv_surface_has_scanout() 127 radv_image_use_fast_clear_for_image_early(const struct radv_device *device, in radv_image_use_fast_clear_for_image_early() 146 radv_image_use_fast_clear_for_image(const struct radv_device *device, in radv_image_use_fast_clear_for_image() 199 radv_format_is_atomic_allowed(struct radv_device *device, VkFormat format) in radv_format_is_atomic_allowed() 208 radv_formats_is_atomic_allowed(struct radv_device *device, const void *pNext, VkFormat format, in radv_formats_is_atomic_allowed() 232 radv_use_dcc_for_image_early(struct radv_device *device, struct radv_image *image, in radv_use_dcc_for_image_early() 292 radv_use_dcc_for_image_late(struct radv_device *device, struct radv_image *image) in radv_use_dcc_for_image_late() 322 radv_image_use_dcc_image_stores(const struct radv_device *device, const struct radv_image *image) in radv_image_use_dcc_image_stores() [all …]
|
D | radv_debug.c | 65 radv_init_trace(struct radv_device *device) in radv_init_trace() 92 radv_finish_trace(struct radv_device *device) in radv_finish_trace() 103 radv_dump_trace(struct radv_device *device, struct radeon_cmdbuf *cs, FILE *f) in radv_dump_trace() 110 radv_dump_mmapped_reg(struct radv_device *device, FILE *f, unsigned offset) in radv_dump_mmapped_reg() 120 radv_dump_debug_registers(struct radv_device *device, FILE *f) in radv_dump_debug_registers() 193 radv_dump_descriptor_set(struct radv_device *device, struct radv_descriptor_set *set, unsigned id, in radv_dump_descriptor_set() 241 radv_dump_descriptors(struct radv_device *device, FILE *f) in radv_dump_descriptors() 491 radv_get_saved_pipeline(struct radv_device *device, enum ring_type ring) in radv_get_saved_pipeline() 542 radv_dump_enabled_options(struct radv_device *device, FILE *f) in radv_dump_enabled_options() 570 radv_dump_app_info(struct radv_device *device, FILE *f) in radv_dump_app_info() [all …]
|
D | radv_meta_bufimage.c | 36 build_nir_itob_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_itob_compute_shader() 97 radv_device_init_meta_itob_state(struct radv_device *device) in radv_device_init_meta_itob_state() 203 radv_device_finish_meta_itob_state(struct radv_device *device) in radv_device_finish_meta_itob_state() 217 build_nir_btoi_compute_shader(struct radv_device *dev, bool is_3d) in build_nir_btoi_compute_shader() 282 radv_device_init_meta_btoi_state(struct radv_device *device) in radv_device_init_meta_btoi_state() 384 radv_device_finish_meta_btoi_state(struct radv_device *device) in radv_device_finish_meta_btoi_state() 398 build_nir_btoi_r32g32b32_compute_shader(struct radv_device *dev) in build_nir_btoi_r32g32b32_compute_shader() 467 radv_device_init_meta_btoi_r32g32b32_state(struct radv_device *device) in radv_device_init_meta_btoi_r32g32b32_state() 536 radv_device_finish_meta_btoi_r32g32b32_state(struct radv_device *device) in radv_device_finish_meta_btoi_r32g32b32_state() 549 build_nir_itoi_compute_shader(struct radv_device *dev, bool is_3d, int samples) in build_nir_itoi_compute_shader() [all …]
|
D | radv_descriptor_set.c | 95 RADV_FROM_HANDLE(radv_device, device, _device); in radv_CreateDescriptorSetLayout() 342 RADV_FROM_HANDLE(radv_device, device, _device); in radv_DestroyDescriptorSetLayout() 474 RADV_FROM_HANDLE(radv_device, device, _device); in radv_CreatePipelineLayout() 537 RADV_FROM_HANDLE(radv_device, device, _device); in radv_DestroyPipelineLayout() 548 radv_descriptor_set_create(struct radv_device *device, struct radv_descriptor_pool *pool, in radv_descriptor_set_create() 674 radv_descriptor_set_destroy(struct radv_device *device, struct radv_descriptor_pool *pool, in radv_descriptor_set_destroy() 694 radv_destroy_descriptor_pool(struct radv_device *device, const VkAllocationCallbacks *pAllocator, in radv_destroy_descriptor_pool() 717 RADV_FROM_HANDLE(radv_device, device, _device); in radv_CreateDescriptorPool() 853 RADV_FROM_HANDLE(radv_device, device, _device); in radv_DestroyDescriptorPool() 866 RADV_FROM_HANDLE(radv_device, device, _device); in radv_ResetDescriptorPool() [all …]
|
D | radv_shader.c | 106 radv_can_dump_shader(struct radv_device *device, struct vk_shader_module *module, in radv_can_dump_shader() 118 radv_can_dump_shader_stats(struct radv_device *device, struct vk_shader_module *module) in radv_can_dump_shader_stats() 125 radv_optimize_nir(const struct radv_device *device, struct nir_shader *shader, in radv_optimize_nir() 227 struct radv_device *device; 416 radv_shader_compile_to_nir(struct radv_device *device, struct vk_shader_module *module, in radv_shader_compile_to_nir() 822 radv_lower_io(struct radv_device *device, nir_shader *nir) in radv_lower_io() 845 radv_lower_io_to_mem(struct radv_device *device, struct nir_shader *nir, in radv_lower_io_to_mem() 891 radv_consider_culling(struct radv_device *device, struct nir_shader *nir, uint64_t ps_inputs_read, in radv_consider_culling() 947 void radv_lower_ngg(struct radv_device *device, struct nir_shader *nir, in radv_lower_ngg() 1040 remove_hole(struct radv_device *device, union radv_shader_arena_block *hole) in remove_hole() [all …]
|
D | radv_meta_fmask_expand.c | 30 build_fmask_expand_compute_shader(struct radv_device *device, int samples) in build_fmask_expand_compute_shader() 95 struct radv_device *device = cmd_buffer->device; in radv_expand_fmask_image_inplace() 171 radv_device_finish_meta_fmask_expand_state(struct radv_device *device) in radv_device_finish_meta_fmask_expand_state() 187 create_fmask_expand_pipeline(struct radv_device *device, int samples, VkPipeline *pipeline) in create_fmask_expand_pipeline() 218 radv_device_init_meta_fmask_expand_state(struct radv_device *device) in radv_device_init_meta_fmask_expand_state()
|
D | radv_meta_fast_clear.c | 38 build_dcc_decompress_compute_shader(struct radv_device *dev) in build_dcc_decompress_compute_shader() 81 create_dcc_compress_compute(struct radv_device *device) in create_dcc_compress_compute() 153 create_pass(struct radv_device *device) in create_pass() 224 create_pipeline_layout(struct radv_device *device, VkPipelineLayout *layout) in create_pipeline_layout() 239 create_pipeline(struct radv_device *device, VkShaderModule vs_module_h, VkPipelineLayout layout) in create_pipeline() 453 radv_device_finish_meta_fast_clear_flush_state(struct radv_device *device) in radv_device_finish_meta_fast_clear_flush_state() 479 radv_device_init_meta_fast_clear_flush_state_internal(struct radv_device *device) in radv_device_init_meta_fast_clear_flush_state_internal() 526 radv_device_init_meta_fast_clear_flush_state(struct radv_device *device, bool on_demand) in radv_device_init_meta_fast_clear_flush_state() 554 struct radv_device *device = cmd_buffer->device; in radv_process_color_image_layer() 631 struct radv_device *device = cmd_buffer->device; in radv_process_color_image() [all …]
|
D | radv_android.c | 118 RADV_FROM_HANDLE(radv_device, device, device_h); in radv_image_from_gralloc() 222 RADV_FROM_HANDLE(radv_device, device, device_h); in radv_GetSwapchainGrallocUsageANDROID() 307 RADV_FROM_HANDLE(radv_device, device, device_h); in radv_GetSwapchainGrallocUsage2ANDROID() 384 RADV_FROM_HANDLE(radv_device, device, device_h); in radv_AcquireImageANDROID() 591 RADV_FROM_HANDLE(radv_device, device, device_h); in get_ahb_buffer_format_properties() 667 RADV_FROM_HANDLE(radv_device, device, device_h); in get_ahb_buffer_format_properties2() 744 RADV_FROM_HANDLE(radv_device, dev, device_h); in radv_GetAndroidHardwareBufferPropertiesANDROID() 823 radv_import_ahb_memory(struct radv_device *device, struct radv_device_memory *mem, in radv_import_ahb_memory() 887 radv_create_ahb_memory(struct radv_device *device, struct radv_device_memory *mem, in radv_create_ahb_memory()
|
D | radv_device.c | 83 radv_timeline_find_point_at_least_locked(struct radv_device *device, struct radv_timeline *timeline, 86 static struct radv_timeline_point *radv_timeline_add_point_locked(struct radv_device *device, 93 static void radv_destroy_semaphore_part(struct radv_device *device, 2521 RADV_FROM_HANDLE(radv_device, device, _device); in radv_GetMemoryHostPointerPropertiesEXT() 2565 radv_queue_init(struct radv_device *device, struct radv_queue *queue, in radv_queue_init() 2635 radv_device_init_gs_info(struct radv_device *device) in radv_device_init_gs_info() 2642 radv_device_init_border_color(struct radv_device *device) in radv_device_init_border_color() 2667 radv_device_finish_border_color(struct radv_device *device) in radv_device_finish_border_color() 2678 radv_device_init_vs_prologs(struct radv_device *device) in radv_device_init_vs_prologs() 2744 radv_device_finish_vs_prologs(struct radv_device *device) in radv_device_finish_vs_prologs() [all …]
|
D | radv_meta_blit2d.c | 38 static VkResult blit2d_init_color_pipeline(struct radv_device *device, 42 static VkResult blit2d_init_depth_only_pipeline(struct radv_device *device, 46 static VkResult blit2d_init_stencil_only_pipeline(struct radv_device *device, 111 struct radv_device *device = cmd_buffer->device; in blit2d_bind_src() 226 struct radv_device *device = cmd_buffer->device; in radv_meta_blit2d_normal_dst() 461 typedef nir_ssa_def *(*texel_fetch_build_func)(struct nir_builder *, struct radv_device *, 465 build_nir_texel_fetch(struct nir_builder *b, struct radv_device *device, nir_ssa_def *tex_pos, in build_nir_texel_fetch() 518 build_nir_buffer_fetch(struct nir_builder *b, struct radv_device *device, nir_ssa_def *tex_pos, in build_nir_buffer_fetch() 560 build_nir_copy_fragment_shader(struct radv_device *device, texel_fetch_build_func txf_func, in build_nir_copy_fragment_shader() 583 build_nir_copy_fragment_shader_depth(struct radv_device *device, texel_fetch_build_func txf_func, in build_nir_copy_fragment_shader_depth() [all …]
|
D | radv_meta_decompress.c | 37 build_expand_depth_stencil_compute_shader(struct radv_device *dev) in build_expand_depth_stencil_compute_shader() 82 create_expand_depth_stencil_compute(struct radv_device *device) in create_expand_depth_stencil_compute() 154 create_pass(struct radv_device *device, uint32_t samples, VkRenderPass *pass) in create_pass() 222 create_pipeline_layout(struct radv_device *device, VkPipelineLayout *layout) in create_pipeline_layout() 237 create_pipeline(struct radv_device *device, uint32_t samples, VkRenderPass pass, in create_pipeline() 368 radv_device_finish_meta_depth_decomp_state(struct radv_device *device) in radv_device_finish_meta_depth_decomp_state() 393 radv_device_init_meta_depth_decomp_state(struct radv_device *device, bool on_demand) in radv_device_init_meta_depth_decomp_state() 483 struct radv_device *device = cmd_buffer->device; in radv_process_depth_image_layer() 620 struct radv_device *device = cmd_buffer->device; in radv_expand_depth_stencil_compute()
|
D | radv_meta_buffer.c | 8 build_buffer_fill_shader(struct radv_device *dev) in build_buffer_fill_shader() 32 build_buffer_copy_shader(struct radv_device *dev) in build_buffer_copy_shader() 55 radv_device_init_meta_buffer_state(struct radv_device *device) in radv_device_init_meta_buffer_state() 182 radv_device_finish_meta_buffer_state(struct radv_device *device) in radv_device_finish_meta_buffer_state() 202 struct radv_device *device = cmd_buffer->device; in fill_buffer_shader() 246 struct radv_device *device = cmd_buffer->device; in copy_buffer_shader() 291 radv_prefer_compute_dma(const struct radv_device *device, uint64_t size, in radv_prefer_compute_dma()
|
D | radv_pipeline_cache.c | 64 radv_pipeline_cache_init(struct radv_pipeline_cache *cache, struct radv_device *device) in radv_pipeline_cache_init() 286 radv_is_cache_disabled(struct radv_device *device) in radv_is_cache_disabled() 296 struct radv_device *device, struct radv_pipeline_cache *cache, const unsigned char *sha1, in radv_create_shader_variants_from_pipeline_cache() 387 radv_pipeline_cache_insert_shaders(struct radv_device *device, struct radv_pipeline_cache *cache, in radv_pipeline_cache_insert_shaders() 501 struct radv_device *device = cache->device; in radv_pipeline_cache_load() 545 RADV_FROM_HANDLE(radv_device, device, _device); in radv_CreatePipelineCache() 576 RADV_FROM_HANDLE(radv_device, device, _device); in radv_DestroyPipelineCache() 589 RADV_FROM_HANDLE(radv_device, device, _device); in radv_GetPipelineCacheData()
|
D | radv_wsi_display.c | 50 RADV_FROM_HANDLE(radv_device, device, _device); in radv_RegisterDeviceEventEXT() 90 RADV_FROM_HANDLE(radv_device, device, _device); in radv_RegisterDisplayEventEXT()
|
D | radv_meta_copy_vrs_htile.c | 32 radv_device_finish_meta_copy_vrs_htile_state(struct radv_device *device) in radv_device_finish_meta_copy_vrs_htile_state() 45 build_copy_vrs_htile_shader(struct radv_device *device, struct radeon_surf *surf) in build_copy_vrs_htile_shader() 144 radv_device_init_meta_copy_vrs_htile_state(struct radv_device *device, in radv_device_init_meta_copy_vrs_htile_state() 219 struct radv_device *device = cmd_buffer->device; in radv_copy_vrs_htile()
|
D | radv_meta_resolve_fs.c | 49 build_resolve_fragment_shader(struct radv_device *dev, bool is_integer, int samples) in build_resolve_fragment_shader() 81 create_layout(struct radv_device *device) in create_layout() 130 create_resolve_pipeline(struct radv_device *device, int samples_log2, VkFormat format) in create_resolve_pipeline() 325 build_depth_stencil_resolve_fragment_shader(struct radv_device *dev, int samples, int index, in build_depth_stencil_resolve_fragment_shader() 421 create_depth_stencil_resolve_pipeline(struct radv_device *device, int samples_log2, int index, in create_depth_stencil_resolve_pipeline() 649 radv_device_init_meta_resolve_fragment_state(struct radv_device *device, bool on_demand) in radv_device_init_meta_resolve_fragment_state() 710 radv_device_finish_meta_resolve_fragment_state(struct radv_device *device) in radv_device_finish_meta_resolve_fragment_state() 759 struct radv_device *device = cmd_buffer->device; in radv_get_resolve_pipeline() 784 struct radv_device *device = cmd_buffer->device; in emit_resolve() 848 struct radv_device *device = cmd_buffer->device; in emit_depth_stencil_resolve() [all …]
|
D | radv_wsi.c | 42 RADV_FROM_HANDLE(radv_device, device, _device); in radv_wsi_set_memory_ownership() 79 RADV_FROM_HANDLE(radv_device, device, _device); in radv_AcquireNextImage2KHR()
|
D | radv_meta_resolve.c | 50 create_pass(struct radv_device *device, VkFormat vk_format, VkRenderPass *pass) in create_pass() 131 create_pipeline(struct radv_device *device, VkShaderModule vs_module_h, VkPipeline *pipeline, in create_pipeline() 262 radv_device_finish_meta_resolve_state(struct radv_device *device) in radv_device_finish_meta_resolve_state() 276 radv_device_init_meta_resolve_state(struct radv_device *device, bool on_demand) in radv_device_init_meta_resolve_state() 320 struct radv_device *device = cmd_buffer->device; in emit_resolve() 358 image_hw_resolve_compat(const struct radv_device *device, struct radv_image *src_image, in image_hw_resolve_compat() 371 radv_pick_resolve_method_images(struct radv_device *device, struct radv_image *src_image, in radv_pick_resolve_method_images() 413 build_resolve_pipeline(struct radv_device *device, unsigned fs_key) in build_resolve_pipeline() 448 struct radv_device *device = cmd_buffer->device; in radv_meta_resolve_hardware_image()
|
D | radv_meta_resolve_cs.c | 62 build_resolve_compute_shader(struct radv_device *dev, bool is_integer, bool is_srgb, int samples) in build_resolve_compute_shader() 132 build_depth_stencil_resolve_compute_shader(struct radv_device *dev, int samples, int index, in build_depth_stencil_resolve_compute_shader() 231 create_layout(struct radv_device *device) in create_layout() 280 create_resolve_pipeline(struct radv_device *device, int samples, bool is_integer, bool is_srgb, in create_resolve_pipeline() 326 create_depth_stencil_resolve_pipeline(struct radv_device *device, int samples, int index, in create_depth_stencil_resolve_pipeline() 372 radv_device_init_meta_resolve_compute_state(struct radv_device *device, bool on_demand) in radv_device_init_meta_resolve_compute_state() 452 radv_device_finish_meta_resolve_compute_state(struct radv_device *device) in radv_device_finish_meta_resolve_compute_state() 496 struct radv_device *device = cmd_buffer->device; in radv_get_resolve_pipeline() 528 struct radv_device *device = cmd_buffer->device; in emit_resolve() 581 struct radv_device *device = cmd_buffer->device; in emit_depth_stencil_resolve()
|
D | radv_meta_dcc_retile.c | 31 build_dcc_retile_compute_shader(struct radv_device *dev, struct radeon_surf *surf) in build_dcc_retile_compute_shader() 85 radv_device_finish_meta_dcc_retile_state(struct radv_device *device) in radv_device_finish_meta_dcc_retile_state() 111 radv_device_init_meta_dcc_retile_state(struct radv_device *device, struct radeon_surf *surf) in radv_device_init_meta_dcc_retile_state() 187 struct radv_device *device = cmd_buffer->device; in radv_retile_dcc()
|