mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
intel: Build float64 shader only for Vulkan
It's only used by anv and it requires glslang, which isn't otherwise
required for building iris.
Fixes: b52e25d3a8 ("anv: rewrite internal shaders using OpenCL")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28943>
This commit is contained in:
parent
bdbcba5269
commit
2a417e3fc1
1 changed files with 15 additions and 13 deletions
|
|
@ -1,19 +1,21 @@
|
|||
# Copyright © 2023 Intel Corporation
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
intel_float64_spv_h = custom_target(
|
||||
'float64_spv.h',
|
||||
input : [glsl2spirv, float64_glsl_file],
|
||||
output : 'float64_spv.h',
|
||||
command : [
|
||||
prog_python, '@INPUT@', '@OUTPUT@',
|
||||
prog_glslang,
|
||||
'--create-entry', 'main',
|
||||
'--vn', 'float64_spv_source',
|
||||
'--glsl-version', '450',
|
||||
'-Olib',
|
||||
]
|
||||
)
|
||||
if with_intel_vk
|
||||
intel_float64_spv_h = custom_target(
|
||||
'float64_spv.h',
|
||||
input : [glsl2spirv, float64_glsl_file],
|
||||
output : 'float64_spv.h',
|
||||
command : [
|
||||
prog_python, '@INPUT@', '@OUTPUT@',
|
||||
prog_glslang,
|
||||
'--create-entry', 'main',
|
||||
'--vn', 'float64_spv_source',
|
||||
'--glsl-version', '450',
|
||||
'-Olib',
|
||||
]
|
||||
)
|
||||
endif
|
||||
|
||||
intel_shader_files = files(
|
||||
'libintel_shaders.h',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue