Ali Chraghi
624ab118db
dusk: rewrite AstGen.zig and IR.zig
2023-03-19 15:15:16 -07:00
Stephen Gutekanst
46c5ca1dd0
core: fix gamemode dependency inclusion
...
Fixes #723
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-17 14:08:51 -07:00
Release automation
1e3c0667ba
gpu-dawn: update to latest binary release
2023-03-16 17:53:05 +00:00
Wrench[bot]
d9bcb1e291
all: update Zig to version 0.11.0-dev.1987+a2c6ecd6d
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-16 09:47:25 -07:00
Stephen Gutekanst
6bd4d91932
all: cache module() returns to avoid duplicate modules
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-15 21:20:28 -07:00
Stephen Gutekanst
033ebb8551
core: separate entrypoint from core module
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-15 21:19:03 -07:00
Stephen Gutekanst
47eac0d0c5
sysjs: update to latest Zig version
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-11 20:19:33 -07:00
Stephen Gutekanst
729ffa2d17
core: update to latest Zig version
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-11 20:13:50 -07:00
Ali Chraghi
51b0e8695f
dusk: create IR instead simple analysing
2023-03-10 04:52:54 -07:00
Ali Chraghi
0a790a38f3
dusk: cover analyser errors and recursivly fetch type alias type
2023-03-10 04:52:54 -07:00
Dominic
96ad6503d9
core: fix usage of std_options for log_level and log_scope_levels ( #717 )
...
Co-authored-by: dweiller <4678790+dweiller@users.noreplay.github.com>
2023-03-09 19:49:40 -07:00
Release automation
b5f0669bda
gpu-dawn: update to latest binary release
2023-03-05 19:53:43 +00:00
Wrench[bot]
6561c24df5
all: update Zig to version 0.11.0-dev.1824+a7a709aaa ( #709 )
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-05 12:15:06 -07:00
Ali Chraghi
94fbc5d27f
Dusk ( #715 )
...
Co-authored-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-05 12:14:54 -07:00
Aksel Hjerpbakk
2b6f3fb1d9
all: fix issue with glfw vulkan createWindowSurface; update to new for loop syntax ( #713 )
2023-03-01 18:33:17 -07:00
Casey Banner
5aecbb0ee6
glfw: update to new for loop syntax ( #711 )
2023-03-01 18:32:21 -07:00
thedoctorquantum
7dcaabc947
Fixed type error in vulkan.createWindowSurface
2023-02-17 11:10:52 -07:00
Release automation
6ebeb5ea85
gpu-dawn: update to latest binary release
2023-02-13 14:29:03 +00:00
Stephen Gutekanst
34132c01b2
officially deprecate Matrix chat in favor of Discord
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-13 06:46:23 -07:00
Release automation
f334bd1519
gpu-dawn: update to latest binary release
2023-02-13 05:37:22 +00:00
Stephen Gutekanst
0c7df88541
glfw: system_sdk: update Linux SDKs (Vulkan headers)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 22:07:01 -07:00
Stephen Gutekanst
f23108fd27
gpu-dawn: fix linux build
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 20:17:02 -07:00
Stephen Gutekanst
aaf4704783
gpu-dawn: update -Drelease to new -Doptimize flag
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 20:14:46 -07:00
Stephen Gutekanst
c112466cb5
core: enable testing with gamemode on linux
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 20:02:37 -07:00
Stephen Gutekanst
341b9e0b28
Revert "core: fix linux build (gamemode import not available during testing currently)"
...
This reverts commit 5ae82c42d4 .
2023-02-12 17:30:42 -07:00
Stephen Gutekanst
5ae82c42d4
core: fix linux build (gamemode import not available during testing currently)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 17:30:23 -07:00
Stephen Gutekanst
e54a4b458a
core: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
f80e02b7c1
gpu: update to latest std.mem.span API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
fc45fd594e
gpu: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
0f71895634
gpu-dawn: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
46a805bc90
sysaudio: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
ddb728d74d
gamemode: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
b6f41b3fb0
ecs: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
a2eb384eaf
freetype: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
8c72c124e2
ecs: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
4e9fbbdd4d
sysjs: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
ae06ca541f
model3d: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
ca062e08fe
earcut: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Stephen Gutekanst
f56385a76c
basisu: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
avokadoen
06cc7b3115
glfw: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Wrench[bot]
3d769b9671
all: update Zig to version 0.11.0-dev.1605+abc9530a8
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-02-12 10:05:03 -07:00
Andrew Gutekanst
60eb518e4f
core: libmachcore fixes
2023-02-07 19:00:36 -07:00
Lue
35ae2d7ac7
gpu-dawn: fix git error when fetching Dawn source
...
Previously, when the gpu-dawn SDK attempted to fetch Dawn sources, Git
failed with this error:
```
fatal: ambiguous argument 'generated-*': unknown revision or path not
in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
```
This caused the whole build to fail as the gpu-dawn SDK is unable to
check out the intended revision of the generated Dawn sources. This
commit fixes the issue by using `git checkout --force` instead of
`git reset --hard`, which works because you can checkout to a detached
commit hash (used by DirectXShaderCompiler, for example) as well as an
actual branch.
The alternative would be to do `git reset --hard origin/generated-*`
rather than `git reset --hard generated-*`, but that would require
modifying Wrench unlike this solution.
2023-01-31 23:14:30 -07:00
Wrench[bot]
31a54cc9c5
all: update Zig to version 0.11.0-dev.1479+97b1a9bb6
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-01-28 17:07:04 -07:00
Wrench[bot]
79a16f2ad7
gpu-dawn: update to latest version origin/generated-2023-01-28.1674950134
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-01-28 17:02:29 -07:00
Kim Shrier
18ab6c12c1
gpu-dawn: update gzip decompression to use latest stdlib API ( #696 )
2023-01-28 16:47:55 -07:00
Stephen Gutekanst
2532436170
ecs: cleanup documentation
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-28 14:00:21 -07:00
Stephen Gutekanst
f57073f02f
core: add borderless window fullscreen support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-28 12:04:31 -07:00
Stephen Gutekanst
40351f85ba
core: make Core.pollEvents return an iterator, remove Core.hasEvent
...
After this change:
* `Core.pollEvents` returns an iterator. At the time of polling events, Mach core
will perform work to poll for events, handle resizing of the framebuffer, etc.
and the iterator allows the caller to consume all available events.
* The event queue is now baced by a `std.fifo.LinearFifo`, which removes the need
for dynamic allocation of each event. Instead, the event queue starts with a generous
size suitable for most high-end gaming setups (high-precision mouse, etc.) and can
grow, but never shrink, up to the maximum event queue size experienced by the app
within any given frame. Effectively, this means we find the maximum capacity needed
to store events and avoid runtime allocations.
* `Core.hasEvent` is removed.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-26 00:19:45 -07:00
Stephen Gutekanst
3ff4bcc2a3
mach: finish splitting Core and Engine
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-24 18:14:52 -07:00