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 {
789789
790790 }
791791
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-
805792 /**
806793 * Returns the native shader operator name for a given generic name.
807794 *
@@ -1449,6 +1436,12 @@ ${ flowData.code }
14491436
14501437 }
14511438
1439+ if ( struct . output ) {
1440+
1441+ snippets . push ( `\t${ this . getBuiltins ( 'output' ) } ` ) ;
1442+
1443+ }
1444+
14521445 return snippets . join ( ',\n' ) ;
14531446
14541447 }
You can’t perform that action at this time.
0 commit comments