diff options
Diffstat (limited to 'tools/cnn_test.cc')
| -rw-r--r-- | tools/cnn_test.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/cnn_test.cc b/tools/cnn_test.cc index 25e27e8..d88956d 100644 --- a/tools/cnn_test.cc +++ b/tools/cnn_test.cc @@ -5,7 +5,6 @@ #error "cnn_test requires STRIP_ALL=OFF (tool builds only)" #endif -#include "../cnn_v1/src/cnn_v1_effect.h" #include "generated/assets.h" #include "gpu/bind_group_builder.h" #include "gpu/gpu.h" @@ -30,6 +29,14 @@ #include <cstring> #include <vector> +// CNN v1 structures +struct CNNv1LayerParams { + int layer_index; + float blend_amount; + float _pad[2]; +}; +static_assert(sizeof(CNNv1LayerParams) == 16); + // Helper to get asset string or empty string static const char* SafeGetAsset(AssetId id) { const uint8_t* data = GetAsset(id); |
