GLSL: implement atomics.

Bug: tint:1314

Change-Id: Ic7a88761752d2db3374be043c94f02fd20684c03
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/69560
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
Stephen White
2021-11-19 17:46:13 +00:00
committed by Tint LUCI CQ
parent 38fa643702
commit 943c410d51
68 changed files with 400 additions and 1313 deletions

View File

@@ -33,6 +33,8 @@ void tint_symbol_inner(uint idx) {
ivec2 g = s.arr[idx].g;
ivec2 h = s.arr[idx].h;
mat2x3 i = s.arr[idx].i;
mat3x2 j = s.arr[idx].j;
ivec4 k[4] = s.arr[idx].k;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;