mesa/src
Alyssa Rosenzweig f2801f7775 panfrost: Rewrite u-interleaving code
Rather than using a magic lookup table with no explanations, let's add
liberal comments to the code to explain what this tiling scheme is and
how to encode/decode it efficiently.

It's not so mysterious after all -- just reordering bits with some XORs
thrown in.

v2: Correct copyright identifier. Fix spelling error. Switch space_4 to
a LUT. Fix comment typo. Use LUT instead of space_x tricks. Fallback on
generic rather than split up unaligned writes.

v3: Correct stride order (fixes crash loading). Correct coordinate
system mishap.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
2019-07-01 07:39:51 -07:00
..
amd radv: rework how the number of VGPRs is computed 2019-07-01 14:59:27 +02:00
broadcom nir: define behavior of nir_op_bfm and nir_op_u/ibfe according to SM5 spec. 2019-06-24 18:42:20 +02:00
compiler glsl/nir: Lower buffers using Binding instead of Names 2019-06-30 16:58:27 -05:00
egl egl: Enable eglGetPlatformDisplay on Android Platform 2019-06-29 12:20:17 +01:00
etnaviv etnaviv: etnaviv_bo_cache_test: Use /dev/dri/renderD128 by default 2019-06-05 08:58:05 +00:00
freedreno freedreno: update generated registers 2019-07-01 06:15:52 -07:00
gallium targets/opencl: Add clangASTMatchers library as dependency 2019-07-01 12:54:40 +02:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx glx: fix glvnd pointer types 2019-06-20 17:21:37 +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: fix indentation 2019-06-29 22:41:06 +01:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi android: fix typo LOCAL_EXPORT_C_INCLUDES 2019-06-29 17:17:49 +02:00
mesa glspirv: Enable the new deref-base UBO/SSBO path on gl_spirv 2019-06-30 16:58:27 -05:00
panfrost panfrost: Rewrite u-interleaving code 2019-07-01 07:39:51 -07:00
util util: add os_file_create_unique() 2019-06-28 23:37:49 +01:00
vulkan vulkan: Update the XML and headers to 1.1.110 2019-06-04 17:30:51 +00:00
meson.build lima,panfrost: Move lima_tiling.c/h to /src/panfrost 2019-06-20 08:06:35 -07:00
SConscript