mesa/src
Rhys Perry 024a46a407 anv: use derefs for shared memory access
vkpipeline-db for my Skylake GPU:
total instructions in shared programs: 8847602 -> 8847896 (<.01%)
instructions in affected programs: 10165 -> 10459 (2.89%)
helped: 8
HURT: 2

total cycles in shared programs: 1606273555 -> 1606251634 (<.01%)
cycles in affected programs: 2201803 -> 2179882 (-1.00%)
helped: 7
HURT: 3

The shaders with more instructions is due to a loop over a shared array
in Three Kingdoms being unrolled (and creating a lot of nested ifs). Not sure
if that's good or bad.

One of the shaders with worse cycles is only worse by 0.04% and the other
two are the shaders with loops unrolled.

v2: add patch
v4: don't set spirv_options.shared_addr_format
v4: move comment concerning the shared address format used and NULL
v4: add vkpipeline-db results
v5: rename to nir_lower_vars_to_explicit_types
v5: move setting of total_shared to outside brw_compile_cs
v6: set shared_addr_format
v6: formatting changes

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> (v5)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-08-08 12:10:39 -05:00
..
amd radv: Avoid VEGA/RAVEN scissor bug in binning. 2019-08-08 14:08:21 +02:00
broadcom v3d: use the GPU to record primitives written to transform feedback 2019-08-08 08:36:52 +02:00
compiler nir: add nir_lower_to_explicit() 2019-08-08 12:10:39 -05:00
drm-shim meson: replace libmesa_util with idep_mesautil 2019-08-03 00:08:37 +00:00
egl util: add anon_file.h for all memfd/temp file usage 2019-08-07 22:57:55 +00:00
etnaviv etnaviv: fix a null pointer dereference 2019-08-05 15:31:43 +02:00
freedreno mesa: freedreno: Android.registers.mk: Fix up register xml.h file generation 2019-08-07 02:18:38 +00:00
gallium mesa: avoid warning on Windows 2019-08-08 18:20:29 +02:00
gbm meson: replace last uses of libxmlconfig with idep_xmlconfig 2019-08-03 00:08:37 +00:00
getopt
glx glx: drop unnecessary pointer deref for function calls 2019-08-04 11:26:20 +01:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: bump imgui memory editor copy 2019-06-18 15:34:13 +00:00
intel anv: use derefs for shared memory access 2019-08-08 12:10:39 -05:00
loader mesa: Rename GLX_USE_TLS to USE_ELF_TLS. 2019-08-03 20:18:17 +02:00
mapi mesa: add EXT_shader_image_load_store glBindImageTextureEXT function 2019-08-06 17:40:53 -04:00
mesa mesa/main: cast away constness 2019-08-08 18:20:29 +02:00
panfrost panfrost: Take into account a index_bias for glDrawElementsBaseVertex calls 2019-08-06 17:18:19 -07:00
util util/hash_table: Fix hashing in clears on 32-bit 2019-08-08 07:42:52 +02:00
vulkan meson: replace last uses of libxmlconfig with idep_xmlconfig 2019-08-03 00:08:37 +00:00
meson.build v3d: Introduce a DRM shim for calling out to the simulator. 2019-07-25 08:56:19 -07:00
SConscript