projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de10428
)
llvmpipe: enable lower device id to zero
author
Dave Airlie
<airlied@redhat.com>
Fri, 18 Dec 2020 02:29:27 +0000
(12:29 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 23 Dec 2020 22:10:02 +0000
(08:10 +1000)
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>
src/gallium/drivers/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index
a76aa8d
..
69b35b8
100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.c
@@
-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