We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f367f20 commit b708ed3Copy full SHA for b708ed3
src/renderers/webgpu/utils/WebGPUPipelineUtils.js
@@ -152,11 +152,22 @@ class WebGPUPipelineUtils {
152
153
const colorFormat = utils.getTextureFormatGPU( textures[ i ] );
154
155
- targets.push( {
156
- format: colorFormat,
157
- blend: blending,
158
- writeMask: colorWriteMask
159
- } );
+ if ( i === 0 ) {
+
+ targets.push( {
+ format: colorFormat,
+ blend: blending,
160
+ writeMask: colorWriteMask
161
+ } );
162
163
+ } else {
164
165
166
167
168
169
170
+ }
171
172
}
173
0 commit comments