mesa/src/intel/vulkan
Jason Ekstrand 893fa30afe anv: Include scissors in viewport calculations
It's tricky to always get the render area to the viewport code.  In
particular, it's not provided to secondary command buffers as part of
the inheritance info so we have to bend over backwards and look for a
framebuffer.  With VK_KHR_dynamic_rendering, there is no framebuffer and
this approach won't work and we'll need something better if we want
competent guardbands in secondary command buffers.

The good news is that any client that's sloppily rendering and trusting
the clipper to keep things inside the render area will set a scissor and
that's something they have to set inside the secondary.  We can dig
through the scissor state and also include the corresponding scissor (if
any) and use that for our render area.  This should give us the same
secondary command buffer performance with VK_KHR_dynamic_rendering.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14961>
2022-03-16 13:13:45 -05:00
..
tests anv/tests: Free BO cache and device mutex 2022-01-07 13:33:32 +00:00
anv_acceleration_structure.c anv: drop a set but unused variable 2022-01-31 16:10:31 +00:00
anv_allocator.c anv: Align state pools to 2MiB on XeHP 2022-02-23 20:15:24 +00:00
anv_android.c anv: drop unused label 2022-01-24 22:23:33 +00:00
anv_android.h anv: move VkImage object allocation to anv_CreateImage 2021-10-06 02:18:39 +00:00
anv_android_stubs.c anv: move VkImage object allocation to anv_CreateImage 2021-10-06 02:18:39 +00:00
anv_batch_chain.c anv: silence compiler warnings 2022-03-16 01:02:05 +00:00
anv_blorp.c anv: Convert to 100% dynamic rendering 2022-03-16 13:13:36 -05:00
anv_bo_sync.c anv: Drop anv_sync_create_for_bo 2021-12-17 00:55:31 +00:00
anv_cmd_buffer.c anv: Convert to 100% dynamic rendering 2022-03-16 13:13:36 -05:00
anv_descriptor_set.c anv: silence compiler warning 2022-03-11 08:47:15 +00:00
anv_device.c anv: Convert to vk_framebuffer 2022-03-16 12:51:15 -05:00
anv_formats.c anv: Update VK_KHR_fragment_shading_rate for newer HW 2022-02-02 17:09:46 +00:00
anv_gem.c intel/gem: Return length from intel_i915_query_alloc 2022-01-19 00:29:35 +00:00
anv_gem_stubs.c intel/dev: Add gtt_size to devinfo 2021-12-11 05:05:19 +00:00
anv_genX.h anv: enable ray queries 2022-02-08 12:55:25 +00:00
anv_image.c anv: Stop treating color input attachments specially 2022-03-16 12:51:15 -05:00
anv_measure.c anv: Convert to 100% dynamic rendering 2022-03-16 13:13:36 -05:00
anv_measure.h anv: add a custom AcquireNextImage2KHR func 2022-02-17 22:15:23 +00:00
anv_nir.h anv: Do UBO loads with global addresses for bindless 2021-03-17 17:49:59 +00:00
anv_nir_add_base_work_group_id.c anv: use nir_shader_instructions_pass in anv_nir_add_base_work_group_id 2021-10-05 10:02:54 +00:00
anv_nir_apply_pipeline_layout.c anv: Stop treating color input attachments specially 2022-03-16 12:51:15 -05:00
anv_nir_compute_push_layout.c anv: Add support for UBOs, SSBOs and push constants in Mesh pipeline 2022-02-02 18:17:57 +00:00
anv_nir_lower_multiview.c anv: Drop pipeline pass/subpass in favor of rendering_info 2022-03-16 12:51:16 -05:00
anv_nir_lower_ubo_loads.c anv: Add a pass for lowering A64 UBO access 2021-03-17 17:49:59 +00:00
anv_nir_lower_ycbcr_textures.c anv: use nir_shader_instructions_pass in anv_nir_lower_ycbcr_textures 2021-10-05 10:02:54 +00:00
anv_perf.c anv: Use the new common device lost tracking 2021-11-16 10:02:08 -06:00
anv_pipeline.c anv: Convert to 100% dynamic rendering 2022-03-16 13:13:36 -05:00
anv_pipeline_cache.c intel: remove chipset_id 2022-01-13 03:09:36 +00:00
anv_private.h anv: Move viewport/scissor emit to genX_cmd_buffer.c 2022-03-16 13:13:45 -05:00
anv_queue.c anv: add perfetto source 2022-01-14 20:17:44 +00:00
anv_util.c anv,iris: PSS Stall Sync around color fast clears 2022-01-12 01:30:34 +00:00
anv_utrace.c anv: flush utrace before at device destroy 2022-02-04 23:43:48 +00:00
anv_wsi.c anv: add a custom AcquireNextImage2KHR func 2022-02-17 22:15:23 +00:00
genX_blorp_exec.c blorp: Add a binding_table_offset_to_pointer helper 2022-03-09 09:18:59 +00:00
genX_cmd_buffer.c anv: Include scissors in viewport calculations 2022-03-16 13:13:45 -05:00
genX_gpu_memcpy.c anv: expose a couple of emit helper to build utrace buffer copies 2022-01-14 20:17:44 +00:00
genX_pipeline.c anv: Convert to 100% dynamic rendering 2022-03-16 13:13:36 -05:00
genX_query.c anv: Convert to 100% dynamic rendering 2022-03-16 13:13:36 -05:00
genX_state.c anv: Update VK_KHR_fragment_shading_rate for newer HW 2022-02-02 17:09:46 +00:00
gfx7_cmd_buffer.c anv: Move viewport/scissor emit to genX_cmd_buffer.c 2022-03-16 13:13:45 -05:00
gfx8_cmd_buffer.c anv: Move viewport/scissor emit to genX_cmd_buffer.c 2022-03-16 13:13:45 -05:00
meson.build anv: Convert to 100% dynamic rendering 2022-03-16 13:13:36 -05:00
TODO intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00