Selaa lähdekoodia

Updated builds.

Mr.doob 6 kuukautta sitten
vanhempi
sitoutus
83c21462f7

+ 11 - 19
build/three.webgpu.js

@@ -3575,20 +3575,6 @@ const getConstNode = ( value, type ) => {
 
 
 };
 };
 
 
-const safeGetNodeType = ( node ) => {
-
-	try {
-
-		return node.getNodeType();
-
-	} catch ( _ ) {
-
-		return undefined;
-
-	}
-
-};
-
 const ConvertType = function ( type, cacheMap = null ) {
 const ConvertType = function ( type, cacheMap = null ) {
 
 
 	return ( ...params ) => {
 	return ( ...params ) => {
@@ -3608,7 +3594,7 @@ const ConvertType = function ( type, cacheMap = null ) {
 		if ( params.length === 1 ) {
 		if ( params.length === 1 ) {
 
 
 			const node = getConstNode( params[ 0 ], type );
 			const node = getConstNode( params[ 0 ], type );
-			if ( safeGetNodeType( node ) === type ) return nodeObject( node );
+			if ( node.nodeType === type ) return nodeObject( node );
 			return nodeObject( new ConvertNode( node, type ) );
 			return nodeObject( new ConvertNode( node, type ) );
 
 
 		}
 		}
@@ -55190,7 +55176,7 @@ class NodeSampledTexture3D extends NodeSampledTexture {
 		 * @readonly
 		 * @readonly
 		 * @default true
 		 * @default true
 		 */
 		 */
-		this.is3DTexture = true;
+		this.isSampledTexture3D = true;
 
 
 	}
 	}
 
 
@@ -63760,20 +63746,26 @@ const GPUInputStepMode = {
 };
 };
 
 
 const GPUFeatureName = {
 const GPUFeatureName = {
+	CoreFeaturesAndLimits: 'core-features-and-limits',
 	DepthClipControl: 'depth-clip-control',
 	DepthClipControl: 'depth-clip-control',
 	Depth32FloatStencil8: 'depth32float-stencil8',
 	Depth32FloatStencil8: 'depth32float-stencil8',
 	TextureCompressionBC: 'texture-compression-bc',
 	TextureCompressionBC: 'texture-compression-bc',
+	TextureCompressionBCSliced3D: 'texture-compression-bc-sliced-3d',
 	TextureCompressionETC2: 'texture-compression-etc2',
 	TextureCompressionETC2: 'texture-compression-etc2',
 	TextureCompressionASTC: 'texture-compression-astc',
 	TextureCompressionASTC: 'texture-compression-astc',
+	TextureCompressionASTCSliced3D: 'texture-compression-astc-sliced-3d',
 	TimestampQuery: 'timestamp-query',
 	TimestampQuery: 'timestamp-query',
 	IndirectFirstInstance: 'indirect-first-instance',
 	IndirectFirstInstance: 'indirect-first-instance',
 	ShaderF16: 'shader-f16',
 	ShaderF16: 'shader-f16',
 	RG11B10UFloat: 'rg11b10ufloat-renderable',
 	RG11B10UFloat: 'rg11b10ufloat-renderable',
 	BGRA8UNormStorage: 'bgra8unorm-storage',
 	BGRA8UNormStorage: 'bgra8unorm-storage',
 	Float32Filterable: 'float32-filterable',
 	Float32Filterable: 'float32-filterable',
+	Float32Blendable: 'float32-blendable',
 	ClipDistances: 'clip-distances',
 	ClipDistances: 'clip-distances',
 	DualSourceBlending: 'dual-source-blending',
 	DualSourceBlending: 'dual-source-blending',
-	Subgroups: 'subgroups'
+	Subgroups: 'subgroups',
+	TextureFormatsTier1: 'texture-formats-tier1',
+	TextureFormatsTier2: 'texture-formats-tier2'
 };
 };
 
 
 /**
 /**
@@ -69093,7 +69085,7 @@ class WebGPUBindingUtils {
 
 
 					texture.viewDimension = GPUTextureViewDimension.TwoDArray;
 					texture.viewDimension = GPUTextureViewDimension.TwoDArray;
 
 
-				} else if ( binding.texture.is3DTexture ) {
+				} else if ( binding.isSampledTexture3D ) {
 
 
 					texture.viewDimension = GPUTextureViewDimension.ThreeD;
 					texture.viewDimension = GPUTextureViewDimension.ThreeD;
 
 
@@ -69315,7 +69307,7 @@ class WebGPUBindingUtils {
 
 
 							dimensionViewGPU = GPUTextureViewDimension.Cube;
 							dimensionViewGPU = GPUTextureViewDimension.Cube;
 
 
-						} else if ( binding.texture.is3DTexture ) {
+						} else if ( binding.isSampledTexture3D ) {
 
 
 							dimensionViewGPU = GPUTextureViewDimension.ThreeD;
 							dimensionViewGPU = GPUTextureViewDimension.ThreeD;
 
 

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
build/three.webgpu.min.js


+ 11 - 19
build/three.webgpu.nodes.js

@@ -3575,20 +3575,6 @@ const getConstNode = ( value, type ) => {
 
 
 };
 };
 
 
-const safeGetNodeType = ( node ) => {
-
-	try {
-
-		return node.getNodeType();
-
-	} catch ( _ ) {
-
-		return undefined;
-
-	}
-
-};
-
 const ConvertType = function ( type, cacheMap = null ) {
 const ConvertType = function ( type, cacheMap = null ) {
 
 
 	return ( ...params ) => {
 	return ( ...params ) => {
@@ -3608,7 +3594,7 @@ const ConvertType = function ( type, cacheMap = null ) {
 		if ( params.length === 1 ) {
 		if ( params.length === 1 ) {
 
 
 			const node = getConstNode( params[ 0 ], type );
 			const node = getConstNode( params[ 0 ], type );
-			if ( safeGetNodeType( node ) === type ) return nodeObject( node );
+			if ( node.nodeType === type ) return nodeObject( node );
 			return nodeObject( new ConvertNode( node, type ) );
 			return nodeObject( new ConvertNode( node, type ) );
 
 
 		}
 		}
@@ -55190,7 +55176,7 @@ class NodeSampledTexture3D extends NodeSampledTexture {
 		 * @readonly
 		 * @readonly
 		 * @default true
 		 * @default true
 		 */
 		 */
-		this.is3DTexture = true;
+		this.isSampledTexture3D = true;
 
 
 	}
 	}
 
 
@@ -63760,20 +63746,26 @@ const GPUInputStepMode = {
 };
 };
 
 
 const GPUFeatureName = {
 const GPUFeatureName = {
+	CoreFeaturesAndLimits: 'core-features-and-limits',
 	DepthClipControl: 'depth-clip-control',
 	DepthClipControl: 'depth-clip-control',
 	Depth32FloatStencil8: 'depth32float-stencil8',
 	Depth32FloatStencil8: 'depth32float-stencil8',
 	TextureCompressionBC: 'texture-compression-bc',
 	TextureCompressionBC: 'texture-compression-bc',
+	TextureCompressionBCSliced3D: 'texture-compression-bc-sliced-3d',
 	TextureCompressionETC2: 'texture-compression-etc2',
 	TextureCompressionETC2: 'texture-compression-etc2',
 	TextureCompressionASTC: 'texture-compression-astc',
 	TextureCompressionASTC: 'texture-compression-astc',
+	TextureCompressionASTCSliced3D: 'texture-compression-astc-sliced-3d',
 	TimestampQuery: 'timestamp-query',
 	TimestampQuery: 'timestamp-query',
 	IndirectFirstInstance: 'indirect-first-instance',
 	IndirectFirstInstance: 'indirect-first-instance',
 	ShaderF16: 'shader-f16',
 	ShaderF16: 'shader-f16',
 	RG11B10UFloat: 'rg11b10ufloat-renderable',
 	RG11B10UFloat: 'rg11b10ufloat-renderable',
 	BGRA8UNormStorage: 'bgra8unorm-storage',
 	BGRA8UNormStorage: 'bgra8unorm-storage',
 	Float32Filterable: 'float32-filterable',
 	Float32Filterable: 'float32-filterable',
+	Float32Blendable: 'float32-blendable',
 	ClipDistances: 'clip-distances',
 	ClipDistances: 'clip-distances',
 	DualSourceBlending: 'dual-source-blending',
 	DualSourceBlending: 'dual-source-blending',
-	Subgroups: 'subgroups'
+	Subgroups: 'subgroups',
+	TextureFormatsTier1: 'texture-formats-tier1',
+	TextureFormatsTier2: 'texture-formats-tier2'
 };
 };
 
 
 /**
 /**
@@ -69093,7 +69085,7 @@ class WebGPUBindingUtils {
 
 
 					texture.viewDimension = GPUTextureViewDimension.TwoDArray;
 					texture.viewDimension = GPUTextureViewDimension.TwoDArray;
 
 
-				} else if ( binding.texture.is3DTexture ) {
+				} else if ( binding.isSampledTexture3D ) {
 
 
 					texture.viewDimension = GPUTextureViewDimension.ThreeD;
 					texture.viewDimension = GPUTextureViewDimension.ThreeD;
 
 
@@ -69315,7 +69307,7 @@ class WebGPUBindingUtils {
 
 
 							dimensionViewGPU = GPUTextureViewDimension.Cube;
 							dimensionViewGPU = GPUTextureViewDimension.Cube;
 
 
-						} else if ( binding.texture.is3DTexture ) {
+						} else if ( binding.isSampledTexture3D ) {
 
 
 							dimensionViewGPU = GPUTextureViewDimension.ThreeD;
 							dimensionViewGPU = GPUTextureViewDimension.ThreeD;
 
 

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
build/three.webgpu.nodes.min.js


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä

粤ICP备19079148号