mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
intel/vulkan: Add bvh build dependency
Fixes: 41baeb3810 ("anv: Implement acceleration structure API")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12558
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33333>
This commit is contained in:
parent
98ddfd040a
commit
c64871accc
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,6 @@ anv_bvh_includes = files(
|
|||
'anv_bvh.h',
|
||||
)
|
||||
|
||||
bvh_spv = []
|
||||
foreach s : bvh_shaders
|
||||
command = [
|
||||
prog_glslang, '-V', '-I' + vk_bvh_include_dir, '-I' + anv_bvh_include_dir, '--target-env', 'spirv1.5', '-x', '-o', '@OUTPUT@', '@INPUT@'
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ idep_anv_headers = declare_dependency(
|
|||
include_directories : inc_anv,
|
||||
)
|
||||
|
||||
bvh_spv = []
|
||||
if with_intel_vk_rt
|
||||
if with_intel_bvh_grl
|
||||
subdir('grl')
|
||||
|
|
@ -124,7 +125,7 @@ endif
|
|||
foreach _gfx_ver : ['90', '110', '120', '125', '200', '300']
|
||||
libanv_per_hw_ver_libs += static_library(
|
||||
'anv_per_hw_ver@0@'.format(_gfx_ver),
|
||||
[anv_per_hw_ver_files, anv_entrypoints[0]],
|
||||
[anv_per_hw_ver_files, anv_entrypoints[0]] + bvh_spv,
|
||||
include_directories : [
|
||||
inc_include, inc_src, inc_intel,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue