alichraghi pushed to master at alichraghi/zig 2026年07月08日 17:57:42 +02:00
da0b1ad2b2 spirv: move some compile errors into frontend
35aed591c9 spirv: always emit int64 cap for spirv64
767db2b27f spirv: spec constants
e97c3b3bbf spirv: cache composite integer limbs and use 64bit ints when possible
2857374575 Sema: reject more unrepresentable pointer casts for SPIR-V
Compare 49 commits »
alichraghi pushed to master at ziglang/zig 2026年07月08日 16:43:55 +02:00
ac7bf53d94 hardcode opengl float type alignment
alichraghi merged pull request ziglang/zig#36073 2026年07月08日 16:43:55 +02:00
fix spirv32-opengl shader compilation
alichraghi approved ziglang/zig#36073 2026年07月07日 19:25:11 +02:00
fix spirv32-opengl shader compilation
alichraghi commented on pull request ziglang/zig#36073 2026年07月07日 11:19:48 +02:00
fix spirv32-opengl shader compilation

Oh I thought that error was coming from frontend. This is not a blocker for this PR though. I was going to move a big chunk of them out of codegen anyway.

alichraghi commented on pull request ziglang/zig#36073 2026年07月07日 10:50:13 +02:00
fix spirv32-opengl shader compilation

I'm not aware of any rule or spec that states f16's size != alignment so it should be 2. And we have no such thing as f80 or f128 in SPIR-V even as an extension so it's safe to use...

alichraghi closed pull request ziglang/zig#35985 2026年07月07日 08:47:52 +02:00
Some comments fixes
alichraghi commented on pull request ziglang/zig#35985 2026年07月07日 08:47:51 +02:00
Some comments fixes

Please read #31297. These type of PRs are a waste of CI resources.

alichraghi commented on pull request ziglang/zig#35985 2026年07月07日 08:47:21 +02:00
Some comments fixes

--zig-lib-dir is removed so this is still wrong

alichraghi commented on pull request ziglang/zig#36073 2026年07月07日 07:55:19 +02:00
fix spirv32-opengl shader compilation

@alexrp Agreed but we rely on cTypeAlign for float types. This can be a rather...

alichraghi pushed to master at alichraghi/zig 2026年07月05日 13:17:09 +02:00
827c3d528c test: unskip 72 passing behavior tests for spirv backend
alichraghi pushed to master at alichraghi/zig 2026年07月05日 12:19:21 +02:00
38c1463f27 test: unskip 72 passing behavior tests for spirv backend
alichraghi created pull request ziglang/zig#36051 2026年07月05日 11:34:45 +02:00
spirv: bug fixes
alichraghi pushed to master at alichraghi/zig 2026年07月05日 11:31:11 +02:00
055289c898 test: unskip 72 passing behavior tests for spirv backend
de1adf89ef spirv: emit Block-decorated interface types for union push/storage/uniform vars
16c4ed275d spirv: skip pointer OpBitcast on union field access when types match
501b43a75b spirv: add alignment info to store ops
18f2ab7882 Sema: disallow loading spirv runtime arrays
Compare 146 commits »
alichraghi approved ziglang/zig#35974 2026年07月01日 05:29:03 +02:00
SPIR-V: miscellaneous changes
alichraghi pushed to spirv-fixes at ziglang/zig 2026年06月30日 10:28:44 +02:00
ae4fc20de3 spirv: decorate const storage buffers as NonWritable
be7634b828 Target.spirv: omit Linkage and friends caps/ext from cpu features
21dd8ea1d2 InternPool: don't store unique info for @SpirvType
Compare 3 commits »
alichraghi pushed to main at alichraghi/daw 2026年06月30日 10:23:19 +02:00
f7b2501c66 fix zig shader
8ee1d46a0e swapchain: call deviceWaitIdle before recreating it
2cb4ff4268 move render_finished from Graphics to Swapchain
8f89d408b9 add --debug flag to shader compiler
4437ab6a8e Graphics: don't request validation for device_address_binding_bit_ext
Compare 6 commits »
alichraghi created pull request andrewrk/daw#24 2026年06月30日 10:21:38 +02:00
fix zig shader
alichraghi pushed to main at alichraghi/daw 2026年06月30日 10:21:30 +02:00
ed9844918a fix zig shader
alichraghi pushed to spirv-fixes at ziglang/zig 2026年06月30日 10:14:15 +02:00
015270a372 spirv: decorate const storage buffers as NonWritable
fe1a607cb5 Target.spirv: omit Linkage and friends caps/ext from cpu features
15224006b1 InternPool: don't store unique info for @SpirvType
bac1ea6548 Sema: disallow input/output pointer params for shader functions
199f8603ed spirv: emit layout-decorated type variants for Vulkan interface blocks
Compare 5 commits »