|
|
@@ -1326,7 +1326,8 @@ class WebGPUBackend extends Backend {
|
|
|
// pipeline
|
|
|
|
|
|
const pipelineGPU = this.get( pipeline ).pipeline;
|
|
|
- passEncoderGPU.setPipeline( pipelineGPU );
|
|
|
+
|
|
|
+ this.pipelineUtils.setPipeline( passEncoderGPU, pipelineGPU );
|
|
|
|
|
|
// bind groups
|
|
|
|
|
|
@@ -1422,7 +1423,7 @@ class WebGPUBackend extends Backend {
|
|
|
const setPipelineAndBindings = ( passEncoderGPU, currentSets ) => {
|
|
|
|
|
|
// pipeline
|
|
|
- passEncoderGPU.setPipeline( pipelineGPU );
|
|
|
+ this.pipelineUtils.setPipeline( passEncoderGPU, pipelineGPU );
|
|
|
currentSets.pipeline = pipelineGPU;
|
|
|
|
|
|
// bind groups
|
|
|
@@ -1653,8 +1654,8 @@ class WebGPUBackend extends Backend {
|
|
|
|
|
|
} else {
|
|
|
|
|
|
- // Regular single camera rendering
|
|
|
- if ( renderContextData.currentPass ) {
|
|
|
+ // Regular single camera rendering
|
|
|
+ if ( renderContextData.currentPass ) {
|
|
|
|
|
|
// Handle occlusion queries
|
|
|
if ( renderContextData.occlusionQuerySet !== undefined ) {
|