| 1 |
# Copyright (C) 2022 The Qt Company Ltd. |
| 2 |
# SPDX-License-Identifier: BSD-3-Clause |
| 3 |
|
| 4 |
##################################################################### |
| 5 |
## float16texture_with_compute Binary: |
| 6 |
##################################################################### |
| 7 |
|
| 8 |
qt_internal_add_manual_test(float16texture_with_compute |
| 9 |
GUI |
| 10 |
SOURCES |
| 11 |
float16texture_with_compute.cpp |
| 12 |
LIBRARIES |
| 13 |
Qt::Gui |
| 14 |
Qt::GuiPrivate |
| 15 |
) |
| 16 |
|
| 17 |
# Resources: |
| 18 |
set_source_files_properties("../shared/qt256.png" |
| 19 |
PROPERTIES QT_RESOURCE_ALIAS "qt256.png" |
| 20 |
) |
| 21 |
set_source_files_properties("../shared/texture.frag.qsb" |
| 22 |
PROPERTIES QT_RESOURCE_ALIAS "texture.frag.qsb" |
| 23 |
) |
| 24 |
set_source_files_properties("../shared/texture.vert.qsb" |
| 25 |
PROPERTIES QT_RESOURCE_ALIAS "texture.vert.qsb" |
| 26 |
) |
| 27 |
set(float16texture_with_compute_resource_files |
| 28 |
"../shared/qt256.png" |
| 29 |
"../shared/texture.frag.qsb" |
| 30 |
"../shared/texture.vert.qsb" |
| 31 |
"load.comp.qsb" |
| 32 |
"prefilter.comp.qsb" |
| 33 |
) |
| 34 |
|
| 35 |
qt_internal_add_resource(float16texture_with_compute "float16texture_with_compute" |
| 36 |
PREFIX |
| 37 |
"/" |
| 38 |
FILES |
| 39 |
${float16texture_with_compute_resource_files} |
| 40 |
) |