diff options
| author | Robin Voetter <robin@voetter.nl> | 2024-11-01 03:44:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-01 03:44:37 +0100 |
| commit | ba5f57616f69c01aa6faa5bcabab2d58969cf335 (patch) | |
| tree | 8b9b301c895be30f53f74a9a7e70b12cddcb534b /src/Sema.zig | |
| parent | 3f7fac5fff9beed535a7674679a5e2c1f3cd74d2 (diff) | |
| parent | 38345d590949b0c88d83bccb259364f02a59a90e (diff) | |
| download | zig-ba5f57616f69c01aa6faa5bcabab2d58969cf335.tar.gz zig-ba5f57616f69c01aa6faa5bcabab2d58969cf335.zip | |
Merge pull request #21861 from alichraghi/master
spirv: push constants and small fixes
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index 2194b9e96c..46fe7f0a31 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -37806,7 +37806,7 @@ pub fn analyzeAsAddressSpace( .gs, .fs, .ss => (arch == .x86 or arch == .x86_64) and ctx == .pointer, // TODO: check that .shared and .local are left uninitialized .param => is_nv, - .input, .output, .uniform => is_spirv, + .input, .output, .uniform, .push_constant => is_spirv, .global, .shared, .local => is_gpu, .constant => is_gpu and (ctx == .constant), // TODO this should also check how many flash banks the cpu has |
