|
|
@@ -698,7 +698,8 @@ class WebGPUTextureUtils {
|
|
|
|
|
|
device.queue.copyExternalImageToTexture(
|
|
|
{
|
|
|
- source: image
|
|
|
+ source: image,
|
|
|
+ flipY: flipY
|
|
|
}, {
|
|
|
texture: textureGPU,
|
|
|
mipLevel: 0,
|
|
|
@@ -710,12 +711,6 @@ class WebGPUTextureUtils {
|
|
|
}
|
|
|
);
|
|
|
|
|
|
- if ( flipY === true ) {
|
|
|
-
|
|
|
- this._flipY( textureGPU, textureDescriptorGPU, originDepth );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
/**
|