mesa/src/intel/vulkan
Francisco Jerez 79d08ed3d2 anv: Fix uniform and storage buffer offset alignment limits.
This fixes a regression in a bunch of image store vulkan CTS tests
from commit ad38ba1134, which started
using OWORD block read messages to implement UBO loads.  The reason
for the failure is that we were giving bogus buffer alignment limits
to the application (1B), so the CTS would happily come back with
descriptor sets pointing at not even word-aligned uniform buffer
addresses.

Surprisingly the sampler messages used to fetch pull constants before
that commit were able to cope with the non-texel aligned addresses,
but the dataport messages used to fetch pull constants after that
commit and the ones used to access storage buffers (before and after
the same commit) aren't as permissive with unaligned addresses.

Cc: <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99097
Reported-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-12-16 14:12:54 -08:00
..
tests anv: fold the tests' makefile 2016-05-01 08:38:04 +01:00
.gitignore anv: Suffix the intel_icd file with the host CPU 2016-10-21 09:30:20 -07:00
anv_allocator.c anv: Add missing error-checking to anv_block_pool_init (v2) 2016-11-28 21:11:25 +00:00
anv_batch_chain.c anv: Don't include two different pack headers 2016-11-29 22:02:49 -08:00
anv_blorp.c anv: fix release build unused variable warnings 2016-12-11 20:03:14 +01:00
anv_cmd_buffer.c anv: Handle null in all destructors 2016-11-16 20:07:23 -08:00
anv_descriptor_set.c anv: Set up binding tables and surface states for input attachments 2016-11-22 13:44:55 -08:00
anv_device.c anv: Fix uniform and storage buffer offset alignment limits. 2016-12-16 14:12:54 -08:00
anv_dump.c anv/cmd_buffer: Move Begin/End/Execute to genX_cmd_buffer.c 2016-10-17 17:41:35 -07:00
anv_entrypoints_gen.py anv: Make entrypoint resolution take a gen_device_info 2016-10-14 15:40:39 -07:00
anv_formats.c anv/format: handle unsupported formats earlier 2016-11-15 08:50:48 +01:00
anv_gem.c anv/device: Return the right error for failed maps 2016-11-09 18:17:48 -08:00
anv_gem_stubs.c anv: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
anv_genX.h anv: Implement a depth stall restriction on gen7 2016-11-20 20:40:40 -08:00
anv_image.c anv: Enable fast clears on gen7-8 2016-11-22 14:24:29 -08:00
anv_intel.c anv: Fix unintentional integer overflow in anv_CreateDmaBufImageINTEL 2016-11-22 15:15:45 +00:00
anv_nir.h anv: Add an input attachment lowering pass 2016-11-22 13:44:55 -08: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: Add a input_attachment_index to the bindings 2016-11-22 13:44:55 -08:00
anv_nir_lower_input_attachments.c anv: Add an input attachment lowering pass 2016-11-22 13:44:55 -08: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/pipeline: Handle depth/stencil self-dependencies 2016-11-22 13:44:55 -08:00
anv_pipeline.c anv/pipeline: Call nir_lower_constant_initializers 2016-12-05 15:40:09 -08:00
anv_pipeline_cache.c anv: Store UUID in physical device. 2016-11-28 19:46:05 +00:00
anv_private.h anv: Clean up some unused variables 2016-12-10 11:59:59 +11:00
anv_query.c anv: Handle null in all destructors 2016-11-16 20:07:23 -08:00
anv_util.c anv: port to using new u_vector shared helper. 2016-10-19 09:05:25 +10:00
anv_wsi.c anv: fix segfault in anv_BindImageMemory 2016-11-23 16:11:03 +10:00
anv_wsi_wayland.c anv/wsi: remove all anv references from WSI common code 2016-10-19 10:15:43 +10:00
anv_wsi_x11.c anv/wsi: remove all anv references from WSI common code 2016-10-19 10:15:43 +10:00
dev_icd.json.in anv: Replace "abi_versions" with correct "api_version". 2016-10-25 12:55:39 -07:00
gen7_cmd_buffer.c anv/cmd_buffer: Stop relying on the framebuffer for 3DSTATE_SF on gen7 2016-11-16 10:11:07 -08:00
gen8_cmd_buffer.c anv: Emit cherryview SF state without including gen9_pack.h 2016-11-29 22:02:49 -08:00
genX_blorp_exec.c anv: Implement a depth stall restriction on gen7 2016-11-20 20:40:40 -08:00
genX_cmd_buffer.c anv: fix release build unused variable warnings 2016-12-11 20:03:14 +01:00
genX_gpu_memcpy.c intel: Share URB configuration code between GL and Vulkan. 2016-11-19 11:40:01 -08:00
genX_pipeline.c anv/pipeline: Make is_dual_src_blend_factor inline 2016-11-26 11:58:59 -08:00
genX_state.c anv/state: if enabled, use anisotropic filtering also with VK_FILTER_NEAREST 2016-11-25 08:20:28 +01:00
intel_icd.json.in anv: Replace "abi_versions" with correct "api_version". 2016-10-25 12:55:39 -07:00
Makefile.am anv: Prefer in-tree headers to out-of-tree headers 2016-11-30 20:01:00 +02:00
Makefile.sources anv: automake: don't generate anv_timestamp.h 2016-11-28 19:47:17 +00:00
TODO anv/TODO: Document sampling from HiZ 2016-12-06 14:51:30 -08:00
vk_format_info.h anv: Set up binding tables and surface states for input attachments 2016-11-22 13:44:55 -08:00