mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
render/vulkan: Add unit-test for staging buffer
This commit is contained in:
parent
1ec740692f
commit
3c9f1e35b1
2 changed files with 256 additions and 0 deletions
|
|
@ -1,8 +1,30 @@
|
|||
# Used to test internal symbols
|
||||
lib_wlr_internal = static_library(
|
||||
versioned_name + '-internal',
|
||||
objects: lib_wlr.extract_all_objects(recursive: false),
|
||||
dependencies: wlr_deps,
|
||||
include_directories: [wlr_inc],
|
||||
install: false,
|
||||
)
|
||||
|
||||
test(
|
||||
'box',
|
||||
executable('test-box', 'test_box.c', dependencies: wlroots),
|
||||
)
|
||||
|
||||
if features.get('vulkan-renderer')
|
||||
test(
|
||||
'vulkan_stage_buffer',
|
||||
executable(
|
||||
'test-vulkan-stage-buffer',
|
||||
'test_vulkan_stage_buffer.c',
|
||||
link_with: lib_wlr_internal,
|
||||
dependencies: wlr_deps,
|
||||
include_directories: wlr_inc,
|
||||
),
|
||||
)
|
||||
endif
|
||||
|
||||
benchmark(
|
||||
'scene',
|
||||
executable('bench-scene', 'bench_scene.c', dependencies: wlroots),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue