summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/build.ninja
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/scripts/build.ninja')
-rw-r--r--3rdparty/bgfx/scripts/build.ninja9
1 files changed, 9 insertions, 0 deletions
diff --git a/3rdparty/bgfx/scripts/build.ninja b/3rdparty/bgfx/scripts/build.ninja
index 54b099e0b6f..f36701ea387 100644
--- a/3rdparty/bgfx/scripts/build.ninja
+++ b/3rdparty/bgfx/scripts/build.ninja
@@ -29,6 +29,15 @@ rule texturec_etc1
rule texturec_etc2
command = texturec -f $in -o $out -t etc2 -m
+rule texturec_diffuse
+ command = texturec -f $in -o $out -t bc2 -m
+
+rule texturec_normal
+ command = texturec -f $in -o $out -t bc5 -m -n
+
+rule texturec_height
+ command = texturec -f $in -o $out -t r8
+
pwd = ../examples/assets/meshes
subninja ../examples/assets/meshes/meshes.ninja