mesa/src/intel/vulkan
Chad Versace 78d074b87a anv/cmd_buffer: Enable rendering to HiZ
Nanley Chery:
(rebase)
 - Resolve conflicts with new anv_batch_emit macro
(amend)
 - Handle a QPitch TODO
 - Emit 3DSTATE_HIER_DEPTH_BUFFER on pre-BDW systems
 - Only use HiZ for single-subpass renderpasses
 - Emit the HiZ instruction before the stencil instruction to follow the
   optimized clear sequence specified in the PRMs
 - Don't modify clear params
 - Enable resolves when a HiZ buffer is used to ensure depth buffer validity

Provides an FPS increase of ~15% on the Sascha triangle and multisampling
demos.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-07 12:54:18 -07:00
..
tests anv: fold the tests' makefile 2016-05-01 08:38:04 +01:00
.gitignore anv: Give the installed intel_icd.json file an absolute path 2016-08-20 00:50:03 -07:00
anv_allocator.c i965: rename max_ds_* variable to max_tes_* 2016-10-03 15:29:58 +11:00
anv_batch_chain.c anv/batch_chain: free pointers for error cases 2016-05-18 15:14:22 -07:00
anv_blorp.c anv: Use blorp for VkCmdFillBuffer 2016-10-05 09:33:44 -07:00
anv_cmd_buffer.c anv/cmd_buffer: Don't call set_subpass in a secondary 2016-10-06 16:52:31 -07:00
anv_descriptor_set.c anv/descriptor_set: memset anv_descriptor_set_layout 2016-08-30 15:08:23 -07:00
anv_device.c anv: Move BindImageMemory to anv_image.c 2016-10-07 12:54:18 -07:00
anv_dump.c anv/dump: Fix post-blit memory barrier 2016-07-09 20:58:33 -07:00
anv_entrypoints_gen.py anv/entrypoints: Save off the entire devinfo rather than a pointer 2016-10-06 21:13:52 -07:00
anv_formats.c anv/formats: Fix build on gcc-4 and earlier 2016-10-03 15:45:28 +03:00
anv_gem.c anv: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
anv_gem_stubs.c anv: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
anv_genX.h anv/cmd_buffer: Add code for performing HZ operations 2016-10-07 12:54:18 -07:00
anv_image.c anv/image: Memset hiz surfaces to 0 when binding memory 2016-10-07 12:54:18 -07:00
anv_intel.c
anv_meta.c anv: Use blorp for doing MSAA resolves 2016-09-13 12:40:13 -07:00
anv_meta.h anv: Use blorp for doing MSAA resolves 2016-09-13 12:40:13 -07:00
anv_meta_clear.c anv/meta: Roll clear_image into CmdClearDepthStencilImage 2016-10-05 09:33:44 -07:00
anv_nir.h anv/lower_push_constants: Stop treating scalar specially 2016-04-20 09:14:47 -07:00
anv_nir_apply_dynamic_offsets.c anv/pipeline: Only do buffer bounds checks if robustBufferAccess is enabled 2016-05-19 21:18:59 -07:00
anv_nir_apply_pipeline_layout.c anv/pipeline: Store the (set, binding, index) tripple in the bind map 2016-06-10 09:43:07 -07:00
anv_nir_lower_push_constants.c nir: Switch the arguments to nir_foreach_function 2016-04-28 15:54:48 -07:00
anv_pass.c anv: Add anv_render_pass_attachment::store_op 2016-06-23 16:10:25 -07:00
anv_pipeline.c anv/pipeline: Roll compute_urb_partition into emit_urb_setup 2016-09-13 12:40:12 -07:00
anv_pipeline_cache.c anv: pipeline cache: fix return value of vkGetPipelineCacheData 2016-10-07 18:46:12 +01:00
anv_private.h anv: Add func anv_image_has_hiz() 2016-10-07 12:54:17 -07:00
anv_query.c
anv_util.c anv/util: Fix vector resizing 2016-03-03 08:17:36 -08:00
anv_wsi.c anv: resolve wayland-only build 2016-05-30 10:26:35 +01:00
anv_wsi.h anv/wsi: Make WSI per-physical-device rather than per-instance 2016-05-17 12:17:22 -07:00
anv_wsi_wayland.c anv/wsi: Advertise UNORM formats as well as sRGB 2016-10-06 16:52:31 -07:00
anv_wsi_x11.c anv/wsi: Advertise UNORM formats as well as sRGB 2016-10-06 16:52:31 -07:00
dev_icd.json.in
gen7_cmd_buffer.c anv/cmd_buffer: Add code for performing HZ operations 2016-10-07 12:54:18 -07:00
gen7_pipeline.c anv/gen7_pipeline: Fix typo in semicolon 2016-10-04 13:20:35 -07:00
gen8_cmd_buffer.c anv/cmd_buffer: Enable rendering to HiZ 2016-10-07 12:54:18 -07:00
gen8_pipeline.c anv/gen8_pipeline: Add an assert to ensure use_alt_mode is not set in prog_data 2016-10-04 13:20:34 -07:00
genX_blorp_exec.c intel/blorp: Stop setting 3DSTATE_DRAWING_RECTANGLE 2016-09-14 17:51:16 -07:00
genX_cmd_buffer.c anv/cmd_buffer: Enable rendering to HiZ 2016-10-07 12:54:18 -07:00
genX_pipeline.c anv: get rid of duplicated values from gen_device_info 2016-09-23 10:12:06 +03:00
genX_pipeline_util.h intel: Move Vulkan sample positions to common code 2016-09-14 17:51:16 -07:00
genX_state.c intel: Move Vulkan sample positions to common code 2016-09-14 17:51:16 -07:00
intel_icd.json.in anv: Add a --disable-vulkan-icd-full-driver-path option 2016-08-25 10:32:31 +10:00
Makefile.am anv: automake: ship intel_icd.json.in in the tarball 2016-10-06 15:03:46 +01:00
Makefile.sources intel: automake: reference the correct header 2016-10-06 15:03:46 +01:00
TODO anv: Stop linking against libmesa.la and libdri_test_stubs.la 2016-05-26 14:13:38 -07:00
vk_format_info.h anv: Add helpers to provide simple VkFormat introspection 2016-05-17 12:17:22 -07:00