Przeglądaj źródła

Set default caps

Popov72 4 lat temu
rodzic
commit
25948816da
1 zmienionych plików z 5 dodań i 5 usunięć
  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,
             bptc: this._deviceEnabledExtensions.indexOf(WebGPUConstants.ExtensionName.TextureCompressionBC) >= 0 ? true : undefined,
             maxAnisotropy: 0,  // TODO: Retrieve this smartly. Currently set to D3D11 maximum allowable value.
             maxAnisotropy: 0,  // TODO: Retrieve this smartly. Currently set to D3D11 maximum allowable value.
             uintIndices: false,
             uintIndices: false,
-            fragmentDepthSupported: false,
+            fragmentDepthSupported: true,
             highPrecisionShaderSupported: true,
             highPrecisionShaderSupported: true,
             colorBufferFloat: false,
             colorBufferFloat: false,
             textureFloat: true,
             textureFloat: true,
-            textureFloatLinearFiltering: false,
-            textureFloatRender: false,
+            textureFloatLinearFiltering: true,
+            textureFloatRender: true,
             textureHalfFloat: true,
             textureHalfFloat: true,
-            textureHalfFloatLinearFiltering: false,
-            textureHalfFloatRender: false,
+            textureHalfFloatLinearFiltering: true,
+            textureHalfFloatRender: true,
             textureLOD: true,
             textureLOD: true,
             drawBuffersExtension: true,
             drawBuffersExtension: true,
             depthTextureExtension: true,
             depthTextureExtension: true,