Browse Source

Add missing d32fs8 texture format;

bjorn 2 years ago
parent
commit
4c2f92950c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      api/lovr/data/TextureFormat.lua

+ 6 - 0
api/lovr/data/TextureFormat.lua

@@ -89,6 +89,12 @@ return {
       name = 'd32f',
       name = 'd32f',
       description = 'One 32-bit floating point depth channel.  4 bytes per pixel.'
       description = 'One 32-bit floating point depth channel.  4 bytes per pixel.'
     },
     },
+    {
+      name = 'd32fs8',
+      description = [[
+        One 32-bit floating point depth channel and one 8-bit stencil channel.  5 bytes per pixel.
+      ]]
+    },
     {
     {
       name = 'bc1',
       name = 'bc1',
       description = [[
       description = [[