nv50/ir/nir: implement vote and ballot
authorKarol Herbst <kherbst@redhat.com>
Wed, 20 Dec 2017 16:06:03 +0000 (17:06 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sun, 17 Mar 2019 09:33:28 +0000 (10:33 +0100)
commitfa361a3c1e7bf7b291de59c2386501fc13ebfed1
treeefa8d5c47a5d06ac69dccba1f4723e580a4e46d2
parent4dec7f81e0066554347461822b1fcbe6f355674a
nv50/ir/nir: implement vote and ballot

v2: add vote_eq support
    use the new subop intrinsic helper
    add ballot
v3: add read_(first_)invocation
v8: handle vectorized intrinsics
    don't require C++11 features
v9: lower_subgroups to 32 bit (produces less instructions)
    use getSSA and getScratch instead of new_LValue

Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp