mirror of
				https://github.com/encounter/dawn-cmake.git
				synced 2025-10-26 03:30:30 +00:00 
			
		
		
		
	Fix collision of two CLs landing with different expectations. Change-Id: I44eb904b552f635e37dd51dcc94329fbc34af031 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94685 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
		
			
				
	
	
		
			14 lines
		
	
	
		
			193 B
		
	
	
	
		
			WebGPU Shading Language
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			193 B
		
	
	
	
		
			WebGPU Shading Language
		
	
	
	
	
	
| struct S {
 | |
|   x : i32,
 | |
|   a : atomic<u32>,
 | |
|   b : atomic<u32>,
 | |
| }
 | |
| 
 | |
| var<workgroup> wg : S;
 | |
| 
 | |
| @compute @workgroup_size(1)
 | |
| fn compute_main() {
 | |
|   atomicStore(&(wg.a), 1u);
 | |
|   atomicStore(&(wg.b), 2u);
 | |
| }
 |