We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0c83f5 commit f11716fCopy full SHA for f11716f
modules/webgpu/src/adapter/resources/webgpu-pipeline-layout.ts
@@ -6,8 +6,6 @@ import {
6
} from '@luma.gl/core';
7
import {WebGPUDevice} from '../webgpu-device';
8
9
-const VISIBILITY_ALL = GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT | GPUShaderStage.COMPUTE;
10
-
11
export class WebGPUPipelineLayout extends PipelineLayout {
12
device: WebGPUDevice;
13
handle: GPUPipelineLayout;
@@ -107,6 +105,9 @@ export class WebGPUPipelineLayout extends PipelineLayout {
107
105
}
108
106
109
+ const VISIBILITY_ALL =
+ GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT | GPUShaderStage.COMPUTE;
110
+
111
bindGroupEntries.push({
112
binding: binding.location,
113
visibility: binding.visibility || VISIBILITY_ALL,
0 commit comments