summaryrefslogtreecommitdiff
path: root/tools/asset_packer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/asset_packer.cc')
-rw-r--r--tools/asset_packer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/asset_packer.cc b/tools/asset_packer.cc
index e28d71f..37d2a57 100644
--- a/tools/asset_packer.cc
+++ b/tools/asset_packer.cc
@@ -488,7 +488,8 @@ int main(int argc, char* argv[]) {
std::string full_path = combined_path.lexically_normal().string();
if (disk_load_mode &&
- (info.asset_type == "SPEC" || info.asset_type == "MP3")) {
+ (info.asset_type == "SPEC" || info.asset_type == "MP3" ||
+ info.asset_type == "WGSL")) {
fprintf(assets_data_cc_file,
"alignas(16) static const char %s[] = \"%s\";\n",
info.data_array_name.c_str(), full_path.c_str());