textureBarrier
Function
Holds every invocation of the workgroup until all have arrived, ordering their writes to the TEXTURE address space.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
declare function textureBarrier(): voidReturn value
void
Description
A statement, in a compute entry or a function it calls, in uniform control flow. WebGPU-only, and part of the readonly_and_readwrite_storage_textures WGSL language feature that reflect().requiredLanguageFeatures reports.
Targets
- WGSL
-
textureBarrier() - GLSL ES 3.00
- textureBarrier has no GLSL ES 3.00 spelling (no compute stage)