nir: Don't lower the local work group size if it's variable.
authorPlamena Manolova <plamena.n.manolova@gmail.com>
Sun, 11 Nov 2018 20:30:09 +0000 (22:30 +0200)
committerPlamena Manolova <plamena.n.manolova@gmail.com>
Tue, 13 Nov 2018 08:57:04 +0000 (10:57 +0200)
commitc5f3013cba2b11198643310386915c10d38377f7
treebb94889e00ac58661b57d799b41021251f1025a2
parentefb1ccadca89b1b3f39fb52b7b83154dff764a15
nir: Don't lower the local work group size if it's variable.

If the local work group size is variable it won't be available
at compile time so we can't lower it in nir_lower_system_values().

Signed-off-by: Plamena Manolova <plamena.n.manolova@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/nir/nir_lower_system_values.c