• Dave Airlie's avatar
    nir/test: add split vars tests (v2) · 4785e50e
    Dave Airlie authored
    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's avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
    4785e50e
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
common.py Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...