Commit Graph

4567 Commits

Author SHA1 Message Date
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
slime 45c3638209 vulkan: use sRGB backbuffer format when gamma-correct rendering is on 2022-09-20 19:12:40 -03:00
slime 2b074fe90e vulkan: improve sRGB support for textures 2022-09-20 19:04:56 -03:00
slime73 a46d44500e Merge pull request #1847 from nikeinikei/12.0-development
vulkan: fix crashes
2022-09-20 10:12:32 -03:00
niki b0fb00c54f vulkan: fix crashes
in isPixelFormatSupported and setStencilMode
2022-09-20 14:49:56 +02:00
slime73 5617bbe1b9 Merge pull request #1846 from nikeinikei/12.0-development
report approximate texture memory in vulkan
2022-09-20 07:58:31 -03:00
niki a4f654c809 Merge branch '12.0-development' of https://github.com/nikeinikei/love into 12.0-development 2022-09-20 12:36:58 +02:00
niki eaa043c3ff vulkan: report approximate used texture memory 2022-09-20 12:36:56 +02:00
slime73 70f5d33c61 Merge pull request #1844 from nikeinikei/12.0-development
Remove dependency of system vulkan headers
2022-09-19 21:42:49 -03:00
niki 622942c785 vulkan: remove misnamed directory 2022-09-20 02:23:31 +02:00
niki 792db5754a Merge branch '12.0-development' of https://github.com/nikeinikei/love into 12.0-development 2022-09-20 02:12:01 +02:00
niki 735c8b0290 vulkan: provide vulkan headers ourselves 2022-09-20 02:10:51 +02:00
niki f8af91ece5 vulkan: provide vulkan headers ourselves 2022-09-20 01:59:51 +02:00
slime73 8695e6160c Merge pull request #1789 from nikeinikei/vulkan
Vulkan Graphics Backend
2022-09-19 16:44:06 -03:00
niki 58c801be58 vulkan: fix incorrect samplers 2022-09-19 19:51:48 +02:00
niki fe8cbfecbf vulkan: remove shader version code 2022-09-19 15:43:25 +02:00
niki 50cc954d6a vulkan: determine correct supported api version 2022-09-19 15:38:33 +02:00
niki ba759f5bc0 vulkan: use SamplerState::toKey for caching 2022-09-19 14:23:46 +02:00
slime 527b6bfce1 remove appveyor CI 2022-09-18 23:02:45 -03:00
slime b9e67c6af9 github actions: upload windows exe and zip artifacts 2022-09-18 22:58:46 -03:00
slime73 6b54ee50db Merge pull request #1842 from Klonan/fix-line-rendering-with-duplicate-points
FIx polyline adding NaN normals, which breaks the line rendering
2022-09-18 22:55:47 -03:00
slime 7f7b6b0363 Improve github actions uploads.
- upload zips with and without the Windows 10 UCRT dlls.
- only upload one file with jit modules for Windows.
- linux appimage has 'linux' in the name.
2022-09-18 22:19:18 -03:00
niki 4b13e5b99d vulkan: fix linux build attempt 4 2022-09-18 22:04:20 +02:00
niki 87c9b74c8e vulkan: fix linux build attempt 5 2022-09-18 22:00:28 +02:00
niki 67d607fff6 vulkan: fix linux build attempt 3 2022-09-18 21:23:15 +02:00
niki faf36e5a92 vulkan: fix linux build (attempt 2) 2022-09-18 21:03:18 +02:00
niki 6de16f18e9 vulkan: fix linux build 2022-09-18 20:50:06 +02:00
niki 850749fac0 linux build: use c++14 2022-09-18 20:39:55 +02:00