Popov72 5 лет назад
Родитель
Сommit
6890821187
2 измененных файлов с 6 добавлено и 6 удалено
  1. 1 1
      src/Engines/WebGPU/webgpuConstants.ts
  2. 5 5
      src/LibDeclarations/webgpu.d.ts

+ 1 - 1
src/Engines/WebGPU/webgpuConstants.ts

@@ -345,7 +345,7 @@ export enum StoreOp {
 export enum QueryType {
     Occlusion = "occlusion",
     PipelineStatistics = "pipeline-statistics",
-    Timestamp = "timestamp"    
+    Timestamp = "timestamp"
 }
 
 /** @hidden */

+ 5 - 5
src/LibDeclarations/webgpu.d.ts

@@ -346,11 +346,11 @@ interface GPUSamplerBindingLayout {
 }
 
 type GPUTextureSampleType =
-  | "float"
-  | "unfilterable-float"
-  | "depth"
-  | "sint"
-  | "uint";
+    | "float"
+    | "unfilterable-float"
+    | "depth"
+    | "sint"
+    | "uint";
 
 interface GPUTextureBindingLayout {
     sampleType?: GPUTextureSampleType; /* default="float" */