mesa/src/intel
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
..
blorp blorp: Add a binding_table_offset_to_pointer helper 2022-03-09 09:18:59 +00:00
ci anv: Convert to 100% dynamic rendering 2022-03-16 13:13:36 -05:00
common intel/guardband: Take min/max instead of total size 2022-03-16 13:13:45 -05:00
compiler intel/compiler: Fix non-trivial designated initializer 2022-03-14 09:56:04 +00:00
dev intel/dev: provide some default values for no_hw 2022-02-17 07:49:08 +00:00
ds intel/ds: fix compilation with perfetto 2022-02-08 12:29:21 +00:00
genxml anv/genxml/intel/fs: fix binding shader record entry 2022-02-19 13:50:56 +00:00
isl intel/isl: Add format assertions for surfaces using CCS 2022-02-10 04:47:14 +00:00
nullhw-layer intel/nullhw: fix build 2021-03-26 20:12:40 +00:00
perf intel/perf: Destination array calculation into function 2022-03-07 21:09:54 +00:00
tools intel: remove chipset_id 2022-01-13 03:09:36 +00:00
vulkan anv: Include scissors in viewport calculations 2022-03-16 13:13:45 -05:00
Makefile.perf.am intel: Rename GEN_PERF prefix to INTEL_PERF in build files 2021-04-20 20:06:34 +00:00
meson.build anv: add perfetto source 2022-01-14 20:17:44 +00:00