Commit Graph

4777 Commits

Author SHA1 Message Date
nikeinikei a2cf8821c0 Merge branch 'love2d:12.0-development' into 12.0-development 2022-11-26 05:30:31 +01:00
Sasha Szpakowski 6599697835 opengl: Fix love_PixelCoord and love_ScreenSize in shaders.
Fixes #1866.
2022-11-25 23:27:04 -04:00
Miku AuahDark b738668e9c Only show deprecation notice of using slash in require if the file is found. 2022-11-22 11:58:30 +08:00
niki c0d0e73a91 Merge branch '12.0-development' of https://github.com/nikeinikei/love into 12.0-development 2022-11-12 03:37:01 +01:00
niki 12bc2b4545 vulkan: fix code formatting
now indenting only uses tabs and not spaces
2022-11-12 03:36:58 +01:00
nikeinikei 105c2efb8d Merge branch 'love2d:12.0-development' into 12.0-development 2022-11-12 03:25:14 +01:00
niki 97a7042143 vulkan: remove instanceVersion class member
This is not actually needed. The api version specified when creating
the vulkan instance should be the highest api version that might
be used by the application, which can be higher than the supported
instance version. VMA can make use of vulkan 1.3 features so this
can be hardcoded to VK_API_VERSION_1_3.
2022-11-12 03:24:07 +01:00
niki de1a4c3149 vulkan: fix crash when creating compute shaders
If the size of the default uniform block ends up being 0,
there will be a crash since creating a buffer of size 0
is invalid. A simple if-statement fixes this issue
2022-11-12 03:22:23 +01:00
Jack Robinson cd52af20a7 Fix #1834: Give MouseJoint a sensible stiffness and damping initial value 2022-11-02 19:42:48 +13:00
slime 8cda22ef7d Remove NaN-check C assert calls in line drawing code.
Users can pass NaN point values into line drawing code. love shouldn't abort the entire program if that happens.
2022-10-30 12:30:42 -03:00
slime73 6c47966b41 Merge pull request #1858 from nikeinikei/12.0-development
vulkan: minor cleanup
2022-10-29 21:31:39 -03:00
niki 089746dbf1 Merge branch '12.0-development' of https://github.com/nikeinikei/love into 12.0-development 2022-10-27 14:22:46 +02:00
niki 3b3bd63c93 vulkan: improve loop in createVulkanVertexFormat 2022-10-27 14:22:43 +02:00
nikeinikei fd6870a7ce Merge branch 'love2d:12.0-development' into 12.0-development 2022-10-26 12:16:04 +02:00
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
niki e95319873c Merge remote-tracking branch 'upstream/12.0-development' into 12.0-development 2022-10-25 13:52:35 +02: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 e5495d6436 Add FreeType to the license. 2022-10-24 23:41:27 +08: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
niki f4bdc57fb3 vulkan: keep track of device/instance api version 2022-10-16 03:33:09 +02:00
niki a088574cc3 remove vulkan-dev from linux ci 2022-10-15 15:02:41 +02:00
niki 9ed017f10e remove vulkan sdk from github actions 2022-10-15 15:01:31 +02:00
niki 302420de23 remove vulkan requirement from cmake 2022-10-15 14:57:32 +02:00
niki 6a3fffaee2 vulkan: Buffer:fill is now more like OpenGL impl 2022-10-14 14:58:27 +02:00
niki 087fe4c196 vulkan: improve negated bit syntax 2022-10-14 14:29:19 +02:00
niki a9e48e2ee9 Merge branch '12.0-development' of https://github.com/nikeinikei/love into 12.0-development 2022-10-14 00:06:31 +02:00
niki a2bff019d3 fix formatting in license.txt 2022-10-14 00:06:29 +02:00
nikeinikei 04e5703bed Merge branch 'love2d:12.0-development' into 12.0-development 2022-10-14 00:01:58 +02:00
niki 940ac05137 vulkan: call invalidate if mapping is incoherent 2022-10-13 23:58:31 +02: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 425480af0a vulkan: modify license.txt 2022-10-06 19:33:30 +02:00
niki ecc272e0ca vulkan: flush allocations if needed
There is no guarantee that the created buffer is actually host coherent.
If it is not we have to manually flush it.
2022-10-06 02:12:36 +02:00