mesa/src
Dave Airlie 4785e50e75 nir/test: add split vars tests (v2)
This just adds some split var splitting tests, it verifies
by counting derefs and local vars.

a basic load from inputs, store to array,
same as before but with a shader temp
struct { float } [4] don't split test
a basic load from inputs, with some out of band loads.
a load/store of only half the array
two level array, load from inputs store to all levels
a basic load from inputs with an indirect store to array.
two level array, indirect store to lvl 0
two level array, indirect store to lvl 1
load from inputs, store to array twice
load from input, store to array, load from array, store to another array.
load and from input and copy deref to array
create wildcard derefs, and do a copy

v2: use array_imm helpers, move derefs out of loops,
rename toplevel/secondlevel, use ints, fix lvl1 don't split test,
rename globabls to shader_temp, add comment, check the derefs type

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
2019-05-21 13:43:28 +10:00
..
amd spirv, radv, anv: Replace ptr_type with addr_format 2019-05-20 10:53:38 -07:00
broadcom nir: allow specifying a set of opcodes in lower_alu_to_scalar 2019-05-10 15:10:41 +00:00
compiler nir/test: add split vars tests (v2) 2019-05-21 13:43:28 +10:00
egl egl: Allow EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY in ES and GL 2019-05-17 15:13:15 -07:00
freedreno freedreno: Log the number of loops in the shader for shader-db. 2019-05-16 10:25:22 -07:00
gallium freedreno/a6xx: WFI in program stateobj too 2019-05-20 09:10:12 -07:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 13:16:44 +10: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: fix undefined behaviour bitshift. 2019-05-17 12:33:09 +10:00
intel anv: Don't re-use entry_point pointer from spirv_to_nir 2019-05-20 16:47:39 -07:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi meson: make nm binary optional 2019-05-03 10:58:05 -07:00
mesa mesa: unreference current winsys buffers when unbinding winsys buffers 2019-05-20 13:09:32 -07:00
util util: add missing include to build_id.h 2019-05-20 10:24:23 +10:00
vulkan vulkan/wsi: Set X11 minImageCount to 3. 2019-05-19 00:38:03 +00:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00