llvmpipe: enable lower device id to zero

this is to support vulkan device group

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviweed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8154>
This commit is contained in:
Dave Airlie 2020-12-18 12:29:27 +10:00
parent de10428770
commit 7de0d93fcd

View file

@ -581,6 +581,7 @@ static const struct nir_shader_compiler_options gallivm_nir_options = {
.lower_cs_local_index_from_id = true,
.lower_uniforms_to_ubo = true,
.lower_vector_cmp = true,
.lower_device_index_to_zero = true,
};
static void