Sasha Szpakowski
e1cad5500f
fix test...
2024-04-12 18:08:20 -03:00
Sasha Szpakowski
b547321179
tests: use a better-supported canvas format for IO test, and turn off blending
2024-04-12 18:02:43 -03:00
Sasha Szpakowski
1f0f2a0781
vulkan: fix detection of linear filter support for pixel formats
2024-04-12 18:00:09 -03:00
Sasha Szpakowski
e92df0a231
vulkan: fix shader creation when using a varying matrix.
2024-04-12 17:52:37 -03:00
Sasha Szpakowski
93c26ed25a
add a graphics test for some shader IO variables
2024-04-12 17:31:21 -03:00
Sasha Szpakowski
4b3fdc2317
vulkan: fix a crash in the error screen
2024-04-11 22:44:47 -03:00
Sasha Szpakowski
111bbde32d
vulkan: fix shaders with int vertex attributes when nothing using that attribute is drawn.
2024-04-11 22:35:43 -03:00
Sasha Szpakowski
565d635f75
tests: use the default renderer instead of forcing opengl, unless it's set in CLI params.
2024-04-09 21:21:30 -03:00
Sasha Szpakowski
02147329ce
CI: explicitly set opengl renderer for tests that should use opengl
2024-04-09 21:20:16 -03:00
Sasha Szpakowski
ad0526d97d
Fix videos not setting their textures in the first frame, on some backends.
2024-04-09 21:18:11 -03:00
Sasha Szpakowski
b01ff0e8ee
opengl: fix GL errors when MSAA is enabled for the window.
2024-04-09 17:33:11 -03:00
Sasha Szpakowski
bb9fb54ef4
Merge pull request #2053 from nikeinikei/main
...
vulkan: fix incorrect scissor when rendering to a canvas
2024-04-09 13:53:19 -03:00
niki
15c14c69b4
vulkan: correct scissor extent calculation
2024-04-09 18:04:54 +02:00
niki
869cb23314
vulkan: fix incorrect scissor when rendering to a canvas
2024-04-09 17:31:04 +02:00
Sasha Szpakowski
7f37a7ddbe
metal: fix texture uploads in the middle of a render pass stopping the pass' subsequent draws from working.
2024-04-08 22:10:11 -03:00
Sasha Szpakowski
6bc91a025c
metal: fix backbuffer discarding its contents in some situations.
...
fixes #1975 .
2024-04-08 20:11:47 -03:00
Sasha Szpakowski
d40b78be76
vulkan: fix shader cross-stage io (varying) location mapping.
2024-04-08 17:59:06 -03:00
Sasha Szpakowski
994079e76d
Mesh:getVertexFormat uses named fields, to match the new format syntax in newMesh.
2024-04-08 12:20:07 -03:00
Sasha Szpakowski
8140817107
vulkan: fix a crash on minimization.
...
Use a fake backbuffer when the system reports 0 for swap chain dimensions.
2024-04-07 17:25:46 -03:00
Sasha Szpakowski
e11ab50965
tests: fix a missing love.graphics.pop
2024-04-07 15:14:59 -03:00
Sasha Szpakowski
2bc9777c3b
vulkan: limit render pass layout transitions to the active mipmap/layer.
2024-04-07 09:48:54 -03:00
Sasha Szpakowski
1692573be6
vulkan: fix image layout mismatches when generating mipmaps and when copying from a buffer.
2024-04-07 09:13:21 -03:00
Sasha Szpakowski
92a03719e2
vulkan: fix validation errors when a resource is declared in multiple stages.
2024-04-06 21:38:12 -03:00
Sasha Szpakowski
aded2621a3
vulkan: use uniform shader stage masks when setting up descriptor set layouts.
2024-04-06 20:24:10 -03:00
Sasha Szpakowski
455d02c695
vulkan/metal: fix a typo preventing non-array struct field uniforms from working.
2024-04-06 09:46:40 -03:00
Sasha Szpakowski
9b3eff1f62
tests: update Shader:send tests to try sending a non-array struct field.
2024-04-06 09:46:05 -03:00
Sasha Szpakowski
1d9d3346c5
windows: prefer regular vsync instead of dwm flush syncs.
...
The latter can cause stuttering issues on some setups.
2024-04-05 22:30:58 -03:00
Sasha Szpakowski
e08004d338
vulkan: fix uniform vec3 array alignment
2024-04-01 23:06:19 -03:00
Sasha Szpakowski
dc945d757a
tests: add a graphics test for uniform vec3 array alignment
2024-04-01 23:01:00 -03:00
Sasha Szpakowski
4655deb216
Merge pull request #2047 from learn-more/sdl3
...
Fix building love on Windows for SDL3-3.1.0
2024-04-01 15:03:19 -03:00
Mark Jansen
a689d8e450
Fix building love on Windows for SDL3-3.1.0
2024-04-01 19:26:52 +02:00
Sasha Szpakowski
b48d81d976
rename love.graphics.setCustomProjection to setProjection.
2024-03-31 21:12:01 -03:00
Sasha Szpakowski
44a6a81641
vulkan: improve depth/stencil texture support.
2024-03-31 17:56:36 -03:00
Sasha Szpakowski
6ac3c5f990
vulkan: fix one validation error when sending a depth-stencil texture to a shader.
2024-03-31 16:48:12 -03:00
Sasha Szpakowski
f32b6bde57
vulkan: fix validation error when clearing mid-pass.
2024-03-31 13:28:46 -03:00
Sasha Szpakowski
a0ca3c148e
vulkan: improve handling of vertex attribute bindings.
2024-03-31 12:55:40 -03:00
Sasha Szpakowski
c37257c173
tests: apply the same anisotropy fix to Image tests
2024-03-31 10:11:17 -03:00
Sasha Szpakowski
72f7a36588
tests: canvas:setFilter test doesn't fail if the system doesn't support anisotropic filtering.
2024-03-31 10:09:59 -03:00
Sasha Szpakowski
c6131ff838
Merge pull request #2045 from learn-more/lua_in_vs
...
Add lua files to CMakeLists.txt
2024-03-30 15:05:51 -03:00
Mark Jansen
93c77a7798
Add lua files to CMakeLists.txt
...
This makes them show up in Visual Studio.
2024-03-30 18:03:22 +01:00
Sasha Szpakowski
c764626a6a
vulkan: fix shader:send with fields in an array-of-structs.
2024-03-30 12:20:52 -03:00
Sasha Szpakowski
b5b6d07108
metal: fix shader:send with fields in an array-of-structs.
2024-03-30 12:03:20 -03:00
Sasha Szpakowski
4948e52013
iOS: update minimum runtime OS from 12.0 to 13.0.
2024-03-30 11:38:51 -03:00
Sasha Szpakowski
fd1901b3ad
Update glslang with array-of-samplers fix.
2024-03-30 11:31:33 -03:00
Sasha Szpakowski
8aac67f597
macOS: update minimum runtime OS from 10.13 to 10.15.
...
std::filesystem isn't supported below 10.15, and libraries like glslang and OpenAL-Soft are starting to use those APIs.
2024-03-30 11:30:15 -03:00
Sasha Szpakowski
f5cfaaf30d
Merge pull request #2036 from bartbes/modernize-cmake
...
Modernize cmake builds
2024-03-30 10:02:05 -03:00
Bart van Strien
60156347a2
Downgrade minimum cmake version to 3.16
...
Which matches SDL3 and ubuntu 20.04.
I checked the release notes, there were no relevant changed in 3.17 and 3.18.
2024-03-30 13:46:00 +01:00
Sasha Szpakowski
81c26e4429
Merge pull request #2046 from bartbes/lua54_to_be_closed_support
...
Add support for lua 5.4 to-be-closed variables
2024-03-30 09:40:39 -03:00
Bart van Strien
4b6756049b
Add support for lua 5.4 to-be-closed variables
...
Automatically call object:release() when an object is used as a to-be-closed variable.
Since both release and __gc already handle multiple calls, this just works.
Theoretically extra actions could be added to some objects, like File calling File:close(), but it already does that in its destructor, so that should be unnecessary.
2024-03-30 13:16:21 +01:00
Sasha Szpakowski
4387935f16
Allow drawing a Mesh that has no VertexPosition attribute, if it has custom attributes.
2024-03-29 21:01:04 -03:00