Commit Graph

4596 Commits

Author SHA1 Message Date
slime ae0688c834 macOS/metal: workaround for bug where high power GPU won't fully activate 2022-10-25 19:51:03 -03:00
slime73 3228a3b436 Merge pull request #1857 from premek/help-option
print usage when there is no game and when --help option is used
2022-10-25 17:10:13 -03:00
slime 79c879a6b1 Fix love.filesystem.newFileData crashing when an invalid filename is used. 2022-10-25 17:08:10 -03:00
premek 019156ee0e print usage when there is no game and when --help option is used 2022-10-25 00:37:41 +02:00
Miku AuahDark 4862d95687 Deprecate love.graphics.setNewFont. 2022-10-17 01:30:44 +08:00
Miku AuahDark 2f9f6cd8d6 Fix Windows workflow variable outputs. 2022-10-17 00:59:22 +08:00
Miku AuahDark 05c23fad75 Fix default shell in Windows workflow. 2022-10-17 00:36:28 +08:00
Miku AuahDark 25c604a6b1 Update workflow dependency versions. 2022-10-17 00:31:47 +08:00
Miku AuahDark 0f82f6c7b3 Add Windows ARM64 workflow. 2022-10-17 00:30:01 +08:00
Miku AuahDark 9deaa06a73 Windows: Slight changes to ARM64 support.
* Disable NSIS installer if we're compiling for Windows ARM64.
* Allow arbitrary files to be added as LOVE_EXTRA_DLLS
2022-10-17 00:28:07 +08:00
Miku AuahDark 05efd121e5 Minor cleanup to GitHub Actions Windows build. 2022-10-16 20:22:48 +08:00
Miku AuahDark b34704917f Use 12.x branch for love-appimage-source Linux build. 2022-10-16 17:51:02 +08:00
slime ed1847264f Update changelog 2022-10-10 17:06:19 -03:00
slime 879d320813 Merge branch 'main' into 12.0-development 2022-10-10 14:35:52 -03:00
slime 919ffc08f0 remove some dead code 2022-10-10 14:35:12 -03:00
slime 99ad576668 metal: implement storage texture support for shaders.
Fixes #1783
2022-10-10 13:47:17 -03:00
slime d966c9e531 update xcode project for luasocket changes 2022-10-08 17:14:24 -03:00
slime73 7a85dc9df5 Merge pull request #1856 from MikuAuahDark/socket3.1
Update LuaSocket to 3.1.0
2022-10-08 15:04:17 -03:00
Miku AuahDark 857cf40636 LuaSocket: Enable Unix sockets in Windows 2022-10-08 13:21:56 +08:00
Miku AuahDark 984391bed5 Rename love::luasocket::__open to love::luasocket::preload 2022-10-08 12:58:16 +08:00
Miku AuahDark badc311aee Update LuaSocket to 3.1.0
Also perform minor refactor on how LuaSocket are preloaded.
2022-10-08 12:54:20 +08:00
Miku AuahDark 29818f431b Add .vs to .gitignore 2022-10-08 12:53:26 +08:00
niki c924d943d6 vulkan: readd local streambuffer frame index 2022-10-05 12:59:37 -03:00
niki 1ab0d819ff vulkan: fix incorrect uniform values 2022-10-05 12:59:37 -03:00
slime 2466e49fd1 Change behaviour of love.graphics.newImage when image size is too big.
Previously it would load a placeholder error texture, now it causes a Lua error - which is the same behaviour as love.graphics.newCanvas.
2022-10-01 21:55:59 -03:00
slime 6173c1638d macOS: fix colors appearing oversaturated on P3 displays.
The fix only applies to macOS 11+ when using OpenGL.
2022-09-30 15:17:46 -03:00
nikeinikei 60036d5dfe fix keying of samplerstate (#1853) 2022-09-26 23:57:53 -03:00
slime 752a386640 vulkan: stencils use the same reversed compare mode convention as other backends 2022-09-26 21:20:09 -03:00
slime e3ba7a0bff vulkan: fix missing stencil compare mask dynamic state setup 2022-09-26 21:18:51 -03:00
slime b9da6d6ddc vulkan: always use optimal image tiling.
Linear is useful for intermediate texture copy steps between the CPU and GPU, but we use buffers instead of textures for that.
2022-09-25 22:05:18 -03:00
slime 1eb4f1f172 vulkan: flush batched draws before clear(). minor code cleanup. 2022-09-25 17:41:47 -03:00
slime 1ada8c9a0b vulkan: update engine name 2022-09-25 17:41:08 -03:00
slime 95bfd948ca vulkan: move StreamBuffer frame management to StreamBuffer implementation
Fixes crashes with lots of auto-batched draws in a frame.
2022-09-25 17:40:53 -03:00
Miku AuahDark d082e91435 Use double-precision on all noise-related functions. 2022-09-25 17:43:47 +08:00
slime73 9ca785106c Merge pull request #1851 from MikuAuahDark/noise
Separate love.math.noise to perlinNoise and simplexNoise
2022-09-24 20:10:06 -03:00
slime73 d65b253d60 Merge pull request #1850 from MikuAuahDark/loadbytecode
Add optional load mode parameter to love.filesystem.load.
2022-09-24 20:07:50 -03:00
Miku AuahDark ed840b24ea Deprecate love.math.noise 2022-09-25 00:01:11 +08:00
Miku AuahDark b285c2c866 Add love.math.perlinNoise and love.math.simplexNoise. 2022-09-24 23:51:12 +08:00
Miku AuahDark da27af1eda Re-add 3D and 4D Simplex Noise.
This partially revert 97806f87c0
2022-09-24 18:37:07 +08:00
Miku AuahDark 6b493c164e Fix SimplexNoise1234 file encoding. 2022-09-24 18:25:54 +08:00
Miku AuahDark c35ceeb223 Add optional load mode parameter to love.filesystem.load. 2022-09-24 14:29:28 +08:00
Miku AuahDark 94aaf40056 Use Ubuntu 20.04 for Linux build.
actions/runner-images#6002
2022-09-24 13:26:28 +08:00
slime 108758c3d3 vulkan: fix stencil buffer having undefined contents
note: there are still other issues with draws using stencils.
2022-09-22 23:01:31 -03:00
slime 1b89de4497 vulkan: clean up texture creation flags 2022-09-22 22:20:42 -03:00
slime73 28ea6d0dff Merge pull request #1848 from nikeinikei/12.0-development
Vulkan: fill buffer with initial data if supplied
2022-09-21 09:19:48 -03:00
nikeinikei 755a9c8879 Merge branch 'love2d:12.0-development' into 12.0-development 2022-09-21 14:03:39 +02:00
niki 503b17a5fc vulkan: fill buffer with initial data if supplied 2022-09-21 14:03:06 +02:00
slime 510b73c2b6 vulkan supports min/max blend ops 2022-09-20 22:13:32 -03:00
slime 3c3ba7d658 vulkan: initial support for clampzero and clampone wrap modes. 2022-09-20 22:10:11 -03:00
slime 26ec23f4ba vulkan: convert clear colors from sRGB to linear when gamma-correct rendering is on 2022-09-20 19:13:12 -03:00