Update wgpu.js

mipmapFilter is being ignored and defaulting to .Nearest on web platforms due to incorrect capitalization of the field name
This commit is contained in:
Gaia
2025-05-22 19:46:31 -05:00
committed by GitHub
parent 82c9681e28
commit 433a21b6ff

2
vendor/wgpu/wgpu.js vendored
View File

@@ -2033,7 +2033,7 @@ class WebGPUInterface {
addressModeW: this.enumeration("AddressMode", off(4)),
magFilter: this.enumeration("FilterMode", off(4)),
minFilter: this.enumeration("FilterMode", off(4)),
mipMapFilter: this.enumeration("MipmapFilterMode", off(4)),
mipmapFilter: this.enumeration("MipmapFilterMode", off(4)),
lodMinClamp: this.mem.loadF32(off(4)),
lodMaxClamp: this.mem.loadF32(off(4)),
compare: this.enumeration("CompareFunction", off(4)),