加入volk 和 wma 后 编译不通过, 先保存代码

This commit is contained in:
xsl
2025-10-18 23:59:21 +08:00
parent 4237213658
commit 234e30bd50
605 changed files with 144276 additions and 15 deletions
+39
View File
@@ -0,0 +1,39 @@
#ifndef __FaceApp_H__
#define __FaceApp_H__
#include "Application.h"
#include "framework/core/buffer.h"
struct TextureLoadingVertexStructure
{
float pos[3];
float uv[2];
float normal[3];
};
struct PushConstants {
float myValue;
};
class FaceApp :public Application
{
public:
FaceApp(/* args */);
~FaceApp();
void initVulkan() override;
private:
void generate_quad();
std::unique_ptr<vkb::core::BufferC> vertex_buffer;
std::unique_ptr<vkb::core::BufferC> index_buffer;
uint32_t index_count;
std::vector<TextureLoadingVertexStructure> obj_vertices;
std::vector<uint32_t> obj_indices;
};
#endif