niki
377d269f4a
vulkan: remap bindings to prevent clash
...
Vulkan does not differentiate between between bindings for textures
and buffers, as opposed to opengl. This can lead to situations, where
different uniforms get assigned the same binding leading to a crash,
when trying to update a descriptor set with the wrong type.
This patch solves this problem, by remapping the bindings when needed.
2023-01-27 02:36:10 +01:00
niki
a2466a4a1b
vulkan: use temporary pipeline cache
2023-01-22 00:17:42 +01:00
niki
7e7d2884c8
vulkan: fix shader crash
2023-01-09 16:37:12 +01:00
Sasha Szpakowski
b0f79f78a5
vulkan: don't pass a SDL_Window into GetInstanceExtensions, it's unneeded.
2023-01-08 15:21:26 -04:00
Sasha Szpakowski
6a6ec2eeb6
Merge branch 'main' into 12.0-development
2023-01-06 17:15:29 -04:00
Sasha Szpakowski
52fa5cf8f0
CI: update repository URL for love-appimage-source
2023-01-06 17:12:01 -04:00
Sasha Szpakowski
6a3031f357
Remove very old unused nsis installer file.
...
CMake is used instead these days.
2023-01-06 17:03:38 -04:00
Sasha Szpakowski
b0ae189d13
mac/iOS: CI uses 12.x branch of love-apple-dependencies
2023-01-01 19:01:43 -04:00
Sasha Szpakowski
22b6388a96
Merge pull request #1888 from steveRoll-git/main
...
Allow Canvas:renderTo to accept varargs
2023-01-01 10:59:42 -04:00
Sasha Szpakowski
74f884b41f
Merge branch 'main' into 12.0-development
2023-01-01 10:57:32 -04:00
Miku AuahDark
0b0ff5551f
Hide symbol visibility in CMake and Android.mk.
2023-01-01 15:16:26 +08:00
Miku AuahDark
3a49dc555a
Fix megasource link.
2023-01-01 14:46:25 +08:00
Sasha Szpakowski
f6cdbdc868
Merge branch 'main' into 12.0-development
2022-12-31 22:46:34 -04:00
Sasha Szpakowski
0b75f6cfa5
Missed some files...
2022-12-31 22:36:48 -04:00
Sasha Szpakowski
c823dbca96
Update copyright year for 2023
2022-12-31 22:25:49 -04:00
Ron Tseytlin
c5d72846c4
Allow Canvas:renderTo to accept varargs
...
The varargs will be forwarded to the function.
2022-12-31 02:32:54 +02:00
Sasha Szpakowski
2e18128bec
Merge branch 'main' into 12.0-development
2022-12-30 00:04:32 -04:00
Sasha Szpakowski
fc3f5ee620
macOS: remove stray library search path
2022-12-30 00:03:58 -04:00
Sasha Szpakowski
fc5b53a456
macOS: work around linking issues when building the app executable.
2022-12-30 00:01:10 -04:00
Sasha Szpakowski
456f897e43
Merge branch 'main' into 12.0-development
2022-12-29 12:12:28 -04:00
Sasha Szpakowski
6730d57f04
macOS: compile with symbols hidden by default.
2022-12-29 10:28:28 -04:00
Sasha Szpakowski
b4e9731dfb
Add LOVE_EXPORT to a couple macOS functions called from the exe.
2022-12-29 10:27:52 -04:00
Sasha Szpakowski
7876955001
Merge pull request #1887 from MikuAuahDark/visibility
...
Compile with hidden symbol visibility by default.
2022-12-29 09:52:05 -04:00
Miku AuahDark
bfcb6c6643
Compile with -fvisibility=hidden by default.
...
This gives around 1MB size reduction.
2022-12-28 13:51:21 +08:00
Miku AuahDark
c342339fee
Define LOVE_EXPORT on non-Windows.
...
With GCC or Clang, LOVE_EXPORT is defined as __attribute__((visibility("default"))).
2022-12-28 13:51:08 +08:00
Sasha Szpakowski
bcc4a45e46
Merge pull request #1885 from nikeinikei/12.0-development
...
Vulkan fixes
2022-12-27 13:32:08 -04:00
niki
74027ad780
vulkan: remove unneeded Module::getInstance call
2022-12-27 13:55:35 +01:00
niki
cd07a464fb
vulkan: document future possibility for vsync
...
Right now we have to recreate the swapchain everytime vsync
/ present mode changes.
VK_EXT_swapchain_maintenance1 might remove the need for this.
However, right now there are not any drivers yet that support it.
In the future, this might be the better way to handle this situation.
2022-12-27 13:54:46 +01:00
Sasha Szpakowski
5fe40be724
Fix compilation
2022-12-26 22:29:50 -04:00
Sasha Szpakowski
7137c3ffb7
Remove #ifdefs supporting old Visual Studio versions.
2022-12-26 22:22:14 -04:00
Sasha Szpakowski
ad96fa6668
Merge pull request #1884 from devenvexe/devenvexe/12.0-development
...
Prefer snprintf over sprintf in OpenGL
2022-12-26 22:19:02 -04:00
Matt Durgavich
c441797976
Prefer snprintf over sprintf in OpenGL
2022-12-26 20:57:56 -05:00
niki
00c65d63fe
vulkan: fix incorrect descriptor sets
2022-12-25 23:09:57 +01:00
niki
8694c44207
vulkan: fix incorrect textures in shader uniforms
2022-12-24 22:37:58 +01:00
niki
28c69597e4
vulkan: fix crash
2022-12-22 02:27:35 +01:00
niki
ccca355664
vulkan: fix love.window.setVsync
2022-12-22 01:27:05 +01:00
nikeinikei
eec94ccc99
Merge branch 'love2d:12.0-development' into 12.0-development
2022-12-21 17:20:43 +01:00
niki
30bdb03f3b
vulkan: code styling
2022-12-21 17:20:13 +01:00
niki
92b5278b31
Merge branch '12.0-development' of https://github.com/nikeinikei/love into 12.0-development
2022-12-21 16:29:55 +01:00
Miku AuahDark
9086afb718
Fix SDL_CONTROLLERSENSORUPDATE handling not surrounded in SDL version macro.
2022-12-12 15:15:57 +08:00
niki
2d5b4966d3
vulkan: add missing vulkan errors
2022-12-11 23:21:47 +01:00
Sasha Szpakowski
a37c2fb9a9
Mesh:attachAttribute: add an optional start array index parameter.
...
Allows easier use of a single instance buffer with multiple draws when instanced attributes are used (#1878 ).
2022-12-10 21:11:59 -04:00
Sasha Szpakowski
f17d3d94f1
Rename love.graphics Text objects to TextBatch.
...
The name Text is too generic compared to what they're designed for, it made people unnecessarily confused about their purpose.
2022-12-08 18:46:44 -04:00
Sasha Szpakowski
90c3e8d6c8
remove pre-SDL 2.0.4 hacks from window code.
2022-12-07 23:30:20 -04:00
Sasha Szpakowski
c0c195ec47
Fix lua wrapper return value count for Texture:setWrap.
2022-12-07 22:51:42 -04:00
Sasha Szpakowski
c89192990b
vulkan: potentially improved highdpi support.
...
Mostly untested.
2022-12-06 20:36:36 -04:00
Sasha Szpakowski
8119b87b89
Merge pull request #1874 from MikuAuahDark/sdl209
...
Bump minimum SDL version to 2.0.9
2022-12-06 09:56:25 -04:00
Miku AuahDark
7a3d2be804
Remove touch coordinates normalization workaround in Linux.
2022-12-06 14:51:03 +08:00
Miku AuahDark
93612a84d1
Bump minimum SDL version to 2.0.9
2022-12-06 14:19:53 +08:00
Sasha Szpakowski
72fca1c2da
update xcode project with new sensor module files
2022-12-05 22:54:39 -04:00