| [ | |
| { | |
| "severity": "error", | |
| "message": "'workgroupBarrier' must only be called from uniform control flow", | |
| "file": "<dawn>/test/tint/errors/json-diagnostics-error-with-notes.wgsl", | |
| "range": { | |
| "start": { | |
| "line": 7, | |
| "column": 5 | |
| }, | |
| "end": { | |
| "line": 7, | |
| "column": 21 | |
| } | |
| } | |
| }, | |
| { | |
| "severity": "note", | |
| "message": "control flow depends on possibly non-uniform value", | |
| "file": "<dawn>/test/tint/errors/json-diagnostics-error-with-notes.wgsl", | |
| "range": { | |
| "start": { | |
| "line": 6, | |
| "column": 3 | |
| }, | |
| "end": { | |
| "line": 6, | |
| "column": 5 | |
| } | |
| } | |
| }, | |
| { | |
| "severity": "note", | |
| "message": "reading from module-scope private variable 'cond' may result in a non-uniform value", | |
| "file": "<dawn>/test/tint/errors/json-diagnostics-error-with-notes.wgsl", | |
| "range": { | |
| "start": { | |
| "line": 6, | |
| "column": 6 | |
| }, | |
| "end": { | |
| "line": 6, | |
| "column": 10 | |
| } | |
| } | |
| } | |
| ] | |