From f026345b34a925bea149492b620033f6ca074b77 Mon Sep 17 00:00:00 2001 From: Michael Tang Date: Fri, 29 Jan 2021 12:48:43 -0800 Subject: [PATCH] microsoft/compiler: Make resource_state_manager only build with_gallium_d3d12 Reviewed-by: Jesse Natalie Part-of: --- 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