Commit Graph

725 Commits

Author SHA1 Message Date
Samuliak
9bb7479d16 use more efficient cpu cache mode when possible 2024-08-18 17:40:41 +02:00
Samuliak
be0a69a5e2 do texture load on GPU if no unified memory 2024-08-18 14:49:25 +02:00
Samuliak
485a652c85 use managed storage mode when dedicated memory 2024-08-18 14:37:39 +02:00
Samuliak
269e072139 move buffer allocators to separate file & fix: high memory usage 2024-08-18 11:32:24 +02:00
Samuliak
265785772a rework buffer allocator 2024-08-18 11:13:49 +02:00
Samuliak
07989d828c fix: performance regression 2024-08-17 19:54:55 +02:00
Samuliak
b8e9bb355c fix: GPU hangs (hack) 2024-08-17 19:05:00 +02:00
Samuliak
83a08b2247 fix: some Metal validation errors 2024-08-17 17:51:37 +02:00
Samuliak
502d5b8b2f include debug information 2024-08-16 16:38:01 +02:00
Samuliak
0d0152d6e0 fix: present 2024-08-16 15:33:49 +02:00
Samuliak
d79d7fea63 implement sampler cache 2024-08-15 11:44:06 +02:00
Samuliak
9982ac7acb remove more unnecessary rebinds 2024-08-15 10:58:33 +02:00
Samuliak
9a215e064f don't bind textures and buffers which are already bound 2024-08-15 10:15:05 +02:00
Samuliak
ed7354fa1b reset depth bias 2024-08-14 21:23:18 +02:00
Samuliak
be98734358 fix: incorrect roundEven implementation 2024-08-14 20:58:47 +02:00
Samuliak
0bb99aaa75 set depth bias 2024-08-14 20:28:28 +02:00
Samuliak
c4688e1ad1 stringify utility shader source 2024-08-14 16:21:43 +02:00
Samuliak
d48de5b56f fix: buffer cache crash on shutdown 2024-08-14 15:37:06 +02:00
SamoZ256
52062bd285
Merge branch 'main' into metal 2024-08-14 15:17:35 +02:00
Samuliak
3c1a7479c2 save pipelines to a binary archive 2024-08-14 15:16:10 +02:00
Samuliak
53efb9e5b2 prepare for shader cache 2024-08-14 11:57:01 +02:00
Samuliak
13834ca9cb correct comment 2024-08-14 07:59:22 +02:00
Samuliak
bba2bbcefb use buffer allocator for restrided vertex buffers 2024-08-13 19:00:39 +02:00
Samuliak
27925a4fd9 do vertex buffer restride in a void vertex function 2024-08-13 18:28:10 +02:00
Samuliak
5e9537c777 fix: render pass mess 2024-08-13 16:40:25 +02:00
Skyth (Asilkan)
c49296acdc
Add support for iterating directories in graphics pack content folders. (#1288) 2024-08-13 15:53:04 +02:00
goeiecool9999
a6d8c0fb9f
CI: Fix macOS build (#1291) 2024-08-13 15:48:13 +02:00
Samuliak
4b7c01ee2a fix: 3D texture copies & fix: present filter 2024-08-13 11:44:49 +02:00
Samuliak
3f52f3acfe fix: cubemap sampling 2024-08-13 07:30:33 +02:00
Exzap
e551f8f524 Fix clang compile error 2024-08-13 05:57:55 +02:00
Exzap
f52970c822 Vulkan: Allow RGBA16F texture format with SRGB bit 2024-08-13 04:47:43 +02:00
Exzap
e02cc42d67 COS: Implement PPC va_list, va_arg and update related functions 2024-08-13 01:00:56 +02:00
Samuliak
0c73ff8452 use multiple command buffers per frame 2024-08-12 14:27:28 +02:00
Samuliak
34d8076ab6 fix: srgb 2024-08-12 11:36:12 +02:00
Samuliak
5e748cdb48 support surface copy parameters 2024-08-12 11:14:55 +02:00
SamoZ256
8496fc1574
Merge branch 'main' into metal 2024-08-12 10:40:53 +02:00
Samuliak
7fb3e1bd1e support cubemap arrays 2024-08-12 10:27:52 +02:00
Samuliak
5bc9913bf4 implement surface copy 2024-08-11 20:31:19 +02:00
Samuliak
8316cee59a prepare for surface copy 2024-08-11 20:09:48 +02:00
Samuliak
eb573fcaca fix: color write mask and unpackHalf2x16 2024-08-11 18:32:50 +02:00
Samuliak
c6ab45a098 fix: vertex buffer leaks 2024-08-11 14:17:40 +02:00
Samuliak
caba20da4b apply gamma correction 2024-08-11 13:47:06 +02:00
Samuliak
6d34d24322 fix: missing color attachments & bind some other state 2024-08-11 13:35:26 +02:00
goeiecool9999
9812a47cb1
clang-format: Put class braces on a new line (#1283) 2024-08-08 19:35:50 +02:00
Samuliak
a38ddb5fc2 fix: shadows 2024-08-08 19:25:12 +02:00
Exzap
7fd532436d CI: Manual unshallow of vcpkg is no longer needed 2024-08-08 16:07:45 +02:00
Exzap
598298cb3d Vulkan: Fix stencil front mask 2024-08-08 16:07:45 +02:00
goeiecool9999
54e695a6e8
git: unshallow vcpkg, shallow vulkan-headers and imgui (#1282) 2024-08-08 15:58:24 +02:00
Samuliak
5c246d55bd implement transform feedback 2024-08-08 13:52:48 +02:00
Samuliak
e0791c3bf4 set stencil reference value 2024-08-08 11:58:18 +02:00