Przeglądaj źródła

Fix Pass:compute indentation;

bjorn 1 rok temu
rodzic
commit
187eaa58cc
1 zmienionych plików z 27 dodań i 27 usunięć
  1. 27 27
      api/lovr/graphics/Pass/compute.lua

+ 27 - 27
api/lovr/graphics/Pass/compute.lua

@@ -9,33 +9,33 @@ return {
     control the order.
   ]],
   arguments = {
-     x = {
-       type = 'number',
-       default = '1',
-       description = 'The number of workgroups to dispatch in the x dimension.'
-     },
-     y = {
-       type = 'number',
-       default = '1',
-       description = 'The number of workgroups to dispatch in the y dimension.'
-     },
-     z = {
-       type = 'number',
-       default = '1',
-       description = 'The number of workgroups to dispatch in the z dimension.'
-     },
-     buffer = {
-       type = 'Buffer',
-       description = [[
-         A Buffer object containing the x, y, and z workgroup counts, stored as 4 byte unsigned
-         integers.
-       ]]
-     },
-     offset = {
-       type = 'number',
-       default = '0',
-       description = 'The byte offset to read the workgroup counts from in the Buffer.'
-     }
+    x = {
+      type = 'number',
+      default = '1',
+      description = 'The number of workgroups to dispatch in the x dimension.'
+    },
+    y = {
+      type = 'number',
+      default = '1',
+      description = 'The number of workgroups to dispatch in the y dimension.'
+    },
+    z = {
+      type = 'number',
+      default = '1',
+      description = 'The number of workgroups to dispatch in the z dimension.'
+    },
+    buffer = {
+      type = 'Buffer',
+      description = [[
+        A Buffer object containing the x, y, and z workgroup counts, stored as 4 byte unsigned
+        integers.
+      ]]
+    },
+    offset = {
+      type = 'number',
+      default = '0',
+      description = 'The byte offset to read the workgroup counts from in the Buffer.'
+    }
   },
   returns = {},
   variants = {