File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed
src/renderers/webgpu/nodes Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -789,19 +789,6 @@ class WGSLNodeBuilder extends NodeBuilder {
789
789
790
790
}
791
791
792
- /**
793
- * Returns uniforms group count for the given shader stage.
794
- *
795
- * @private
796
- * @param {string } shaderStage - The shader stage.
797
- * @return {number } The uniforms group count for the given shader stage.
798
- */
799
- _getUniformGroupCount ( shaderStage ) {
800
-
801
- return Object . keys ( this . uniforms [ shaderStage ] ) . length ;
802
-
803
- }
804
-
805
792
/**
806
793
* Returns the native shader operator name for a given generic name.
807
794
*
@@ -1449,6 +1436,12 @@ ${ flowData.code }
1449
1436
1450
1437
}
1451
1438
1439
+ if ( struct . output ) {
1440
+
1441
+ snippets . push ( `\t${ this . getBuiltins ( 'output' ) } ` ) ;
1442
+
1443
+ }
1444
+
1452
1445
return snippets . join ( ',\n' ) ;
1453
1446
1454
1447
}
You can’t perform that action at this time.
0 commit comments