浏览代码

Set default caps

Popov72 4 年之前
父节点
当前提交
25948816da
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/Engines/webgpuEngine.ts

+ 5 - 5
src/Engines/webgpuEngine.ts

@@ -384,15 +384,15 @@ export class WebGPUEngine extends Engine {
             bptc: this._deviceEnabledExtensions.indexOf(WebGPUConstants.ExtensionName.TextureCompressionBC) >= 0 ? true : undefined,
             maxAnisotropy: 0,  // TODO: Retrieve this smartly. Currently set to D3D11 maximum allowable value.
             uintIndices: false,
-            fragmentDepthSupported: false,
+            fragmentDepthSupported: true,
             highPrecisionShaderSupported: true,
             colorBufferFloat: false,
             textureFloat: true,
-            textureFloatLinearFiltering: false,
-            textureFloatRender: false,
+            textureFloatLinearFiltering: true,
+            textureFloatRender: true,
             textureHalfFloat: true,
-            textureHalfFloatLinearFiltering: false,
-            textureHalfFloatRender: false,
+            textureHalfFloatLinearFiltering: true,
+            textureHalfFloatRender: true,
             textureLOD: true,
             drawBuffersExtension: true,
             depthTextureExtension: true,