mesa/src/intel
Jason Ekstrand 4061ac859d anv: Push UBO ranges relative to the start of the binding
There was a disconnect between anv_nir_compute_push_layout and the code
which sets up the push_ubo_sizes array.  The NIR code we emit checks
relative to the start of the bound UBO range so that, if we end up with
a vector which straddles the start of the push range, we can perform the
bounds check without risking overflow issues.  The code which sets up
the push_ubo_sizes, on the other hand, assumed it was relative to the
start of the push range.  Somehow, this didn't get get caught by any of
the available tests.

Fixes: e03f965280 "anv: Bounds-check pushed UBOs when ..."
Closes: #2623
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4195>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4195>
2020-03-16 15:14:14 +00:00
..
blorp intel: Require ISL_AUX_USAGE_STC_CCS for stencil CCS 2020-03-12 17:51:28 +00:00
common intel/isl: Move get_format_encoding function to isl 2020-02-13 18:44:50 +00:00
compiler intel/compiler: detect if atomic load store operations are used 2020-03-16 10:34:21 +00:00
dev intel/device: bdw_gt1 actually has 6 eus per subslice 2020-03-03 00:36:10 +00:00
genxml intel/gen12+: Disable mid thread preemption. 2020-03-03 19:52:06 +00:00
isl isl: allow compression for storage images on gen12+ 2020-03-16 10:34:21 +00:00
perf util/hash_table: added hash functions for integer types 2020-01-23 17:06:57 +00:00
tools intel/tools: Fix compilation with UBSan 2020-03-10 15:20:26 +00:00
vulkan anv: Push UBO ranges relative to the start of the binding 2020-03-16 15:14:14 +00:00
Android.blorp.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.common.mk android: static link with libexpat with Android O+ 2019-03-25 10:11:57 +02:00
Android.compiler.mk android: fix build issues with brw_nir_trig_workarounds.c 2017-10-04 07:39:05 +03:00
Android.dev.mk drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00
Android.genxml.mk intel/genxml: generate pack files for gen12 on android builds 2019-08-28 13:38:33 -07:00
Android.isl.mk isl: Fix the android build. 2020-02-05 21:31:40 -08:00
Android.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.perf.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.vulkan.mk anv/android: setup gralloc1 usage from gralloc0 usage manually 2020-01-28 14:46:25 +02:00
Makefile.perf.am i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Makefile.sources intel/isl: Add isl_aux_info.c to Makefile.sources 2020-02-25 00:41:15 +00:00
meson.build meson: only build imgui when needed 2019-11-25 07:51:56 +00:00