We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
textureDimensions()
1 parent 8ad5f7c commit be5aee8Copy full SHA for be5aee8
1 file changed
src/renderers/webgpu/nodes/WGSLNodeBuilder.js
@@ -436,7 +436,7 @@ class WGSLNodeBuilder extends NodeBuilder {
436
*/
437
generateTextureDimension( texture, textureProperty, levelSnippet ) {
438
439
- const textureData = this.getDataFromNode( texture, this.shaderStage, this.globalCache );
+ const textureData = this.getDataFromNode( texture, this.shaderStage, this.cache );
440
441
if ( textureData.dimensionsSnippet === undefined ) textureData.dimensionsSnippet = {};
442
0 commit comments