mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 13:18:17 +02:00
nir: Only build NIR headers when with_gfx_compute is false
Signed-off-by: Thong Thai <thong.thai@amd.com> Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Marek Olšák <maraeo@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41493>
This commit is contained in:
parent
c07a203ef4
commit
931dba218e
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ nir_intrinsics_c = custom_target(
|
|||
depend_files : files('nir_intrinsics.py'),
|
||||
)
|
||||
|
||||
with_nir_headers_only = (
|
||||
with_nir_headers_only = not with_gfx_compute or (
|
||||
gallium_drivers == ['d3d12'] and
|
||||
get_option('gallium-d3d12-graphics').disabled() and
|
||||
not [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue