Mesa (master): microsoft/compiler: Make resource_state_manager only build with_gallium_d3d12

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 29 21:48:25 UTC 2021


Module: Mesa
Branch: master
Commit: f026345b34a925bea149492b620033f6ca074b77
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f026345b34a925bea149492b620033f6ca074b77

Author: Michael Tang <tangm at microsoft.com>
Date:   Fri Jan 29 12:48:43 2021 -0800

microsoft/compiler: Make resource_state_manager only build with_gallium_d3d12

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8785>

---

 src/microsoft/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/microsoft/meson.build b/src/microsoft/meson.build
index a27c343ab54..a243d9e0f70 100644
--- a/src/microsoft/meson.build
+++ b/src/microsoft/meson.build
@@ -23,7 +23,9 @@ subdir('compiler')
 if with_microsoft_clc
   subdir('clc')
 endif
-subdir('resource_state_manager')
+if with_gallium_d3d12
+  subdir('resource_state_manager')
+endif
 if with_spirv_to_dxil
   subdir('spirv_to_dxil')
 endif



More information about the mesa-commit mailing list