|
@@ -79,6 +79,7 @@ export class WebGPUShaderProcessor implements IShaderProcessor {
|
|
const uniformType = match[1];
|
|
const uniformType = match[1];
|
|
const name = match[2];
|
|
const name = match[2];
|
|
|
|
|
|
|
|
+ // TODO WEBGPU. Ensures it does not conflict with some of today's used construct for shadows.
|
|
if (uniformType.indexOf("texture") === 0 || uniformType.indexOf("sampler") === 0) {
|
|
if (uniformType.indexOf("texture") === 0 || uniformType.indexOf("sampler") === 0) {
|
|
let samplerInfo = _knownSamplers[name];
|
|
let samplerInfo = _knownSamplers[name];
|
|
if (!samplerInfo) {
|
|
if (!samplerInfo) {
|