Skip to content

Commit

Permalink
WebGPURenderer: Simplify init(). (mrdoob#25885)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored and emmanueljl committed Apr 28, 2023
1 parent 11780ed commit 42339e3
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions examples/jsm/renderers/webgpu/WebGPURenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,19 +201,7 @@ class WebGPURenderer {

// feature support

const features = [
GPUFeatureName.DepthClipControl,
GPUFeatureName.Depth32FloatStencil8,
GPUFeatureName.TextureCompressionBC,
GPUFeatureName.TextureCompressionETC2,
GPUFeatureName.TextureCompressionASTC,
GPUFeatureName.TimestampQuery,
GPUFeatureName.IndirectFirstInstance,
GPUFeatureName.ShaderF16,
GPUFeatureName.RG11B10UFloat,
GPUFeatureName.BGRA8UNormStorage,
GPUFeatureName.Float32Filterable
];
const features = Object.values( GPUFeatureName );

const supportedFeatures = [];

Expand Down

0 comments on commit 42339e3

Please sign in to comment.