mesa/src
Connor Abbott 36e000d832 nir: Fix overlapping vars in nir_assign_io_var_locations()
When handling two variables with overlapping locations, we process the
one with lower location first, and then extend the location ->
driver_location map to guarantee that it's contiguous for the second
variable too. But the loop had the wrong bound, so we weren't extending
the map 100%, which could lead to problems later such as an incorrect
num_inputs. The loop index i is an index into the slots of the variable,
so we need to stop at the final slot of the variable (var_size) instead
of the number of unassigned slots.

This fixes
spec@arb_enhanced_layouts@execution@component-layout@vs-fs-array-interleave-range
on radeonsi NIR.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2019-09-25 15:53:50 +02:00
..
amd radv: fix s/load/store/ copy-paste typo 2019-09-24 19:18:54 +01:00
broadcom broadcom/genxml: Stop manually scrubbing 'α' -> "alpha" 2019-09-23 20:24:54 +00:00
compiler nir: Fix overlapping vars in nir_assign_io_var_locations() 2019-09-25 15:53:50 +02:00
drm-shim meson: replace libmesa_util with idep_mesautil 2019-08-03 00:08:37 +00:00
egl egl/surfaceless: Add FP16 format support 2019-09-20 19:10:31 +00:00
etnaviv etnaviv: Add valgrind support 2019-08-14 10:36:20 +02:00
freedreno turnip: use image tile_mode for gmem configuration 2019-09-24 22:32:09 -04:00
gallium clover: eliminate "ignoring attributes on template argument" warning 2019-09-25 10:39:58 +00:00
gbm libgbm: Wire up getCapability for the image loader 2019-09-20 19:10:31 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx glx: Implement GLX_EXT_no_config_context 2019-09-23 20:39:01 -04:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl
imgui imgui: bump imgui memory editor copy 2019-06-18 15:34:13 +00:00
intel i965/fs: set rounding mode when emitting the flrp instruction 2019-09-24 12:06:59 +03:00
loader loader: always map the "amdgpu" kernel driver name to radeonsi (v2) 2019-09-23 15:14:11 -04:00
mapi scons: Make scons and meson agree about path to glapi generated headers 2019-09-16 17:54:00 +00:00
mesa intel: Increase Gen11 compute shader scratch IDs to 64. 2019-09-23 16:59:40 -07:00
panfrost Revert "panfrost: Rework midgard_pair_load_store() to kill the nested foreach loop" 2019-09-19 21:01:27 +02:00
util util/rb_tree: Replace useless ifs with asserts 2019-09-23 22:38:30 +00:00
vulkan vulkan: Update the XML and headers to 1.1.123 2019-09-17 04:11:05 +00:00
meson.build gl: drop incorrect pkg-config file for glvnd 2019-09-18 22:16:51 +01:00
SConscript