Commit graph

1482 commits

Author SHA1 Message Date
wheremyfoodat
bd169f9274
Merge pull request #234 from wheremyfoodat/mii_selector
More FRD stuffs
2023-08-24 16:04:44 +03:00
wheremyfoodat
45593b3eab
[APT] Revert accidental switch from panicDev to panic 2023-08-24 15:51:13 +03:00
wheremyfoodat
52304763bb Merge branch 'master' into mii_selector 2023-08-24 15:45:38 +03:00
wheremyfoodat
f3042672fb More FRD stuffs 2023-08-24 15:35:44 +03:00
wheremyfoodat
3908900bca
Merge pull request #158 from wheremyfoodat/mii_selector
Initial work on HLE applets
2023-08-24 01:54:21 +03:00
wheremyfoodat
150cac89a4 [APT] Check for resume event before signalling 2023-08-24 01:35:40 +03:00
wheremyfoodat
467ab161ff Applets: Warn instead of panic 2023-08-24 01:32:57 +03:00
wheremyfoodat
b3443623f5 Add more applet types 2023-08-23 18:44:01 +03:00
wheremyfoodat
74f7aeedbb Proper applet manager class 2023-08-23 18:07:24 +03:00
wheremyfoodat
4869375a93
Merge pull request #233 from wheremyfoodat/ac
Implement more of AC
2023-08-23 17:48:33 +03:00
wheremyfoodat
9e337603d0 derp 2023-08-23 17:22:11 +03:00
wheremyfoodat
7fb3cf1236 Implement more of AC 2023-08-23 17:20:51 +03:00
wheremyfoodat
f099cc12fa Add swkbd applet 2023-08-23 01:16:27 +03:00
wheremyfoodat
e7df7956d7
Merge pull request #232 from wheremyfoodat/frd
Add FRD::GetFriendProfile and FRD::GetFriendAttributeFlags
2023-08-23 01:08:08 +03:00
wheremyfoodat
865e8e299f Add FRD::GetFriendProfile and FRD::GetFriendAttributeFlags 2023-08-22 23:43:56 +03:00
wheremyfoodat
0bd3729417 Stub APT::PrepareLibraryApplet 2023-08-22 23:11:14 +03:00
wheremyfoodat
a4ef413ac7
Merge pull request #230 from wheremyfoodat/mic
More microphone stuff
2023-08-22 17:47:26 +03:00
wheremyfoodat
21658c6b32 More microphone stuff 2023-08-22 17:28:09 +03:00
wheremyfoodat
fdc7f0f190
Merge pull request #229 from OFFTKP/aur-panda
Add AUR badge
2023-08-22 16:43:45 +03:00
offtkp
5142f86b6e Add AUR badge 2023-08-22 14:39:56 +03:00
Wunkolo
84e0d58d9e Add initial render-target layout transition, depth-stencil aspect fix
Fixes a lot of the render-target validation error messages.
We "might" change the default layout for render-targets to shader-read-only and only use attachment-optimal layouts when they are armed for a render-pass. Render-Textures more often need to be ready for shaders than they need to be ready for render-passes.
2023-08-21 22:52:51 -07:00
Wunkolo
d35c803ad6 Fix RenderTexture usage/image-aspect
All color textures need to be sampled due to how we are transposing the image when writing to the render-texture.

Depth-Stencil render-textures need to designate if it wants _either_ depth or stencil when creating an image-view.
2023-08-21 22:40:40 -07:00
Wunkolo
cfd02f936e Fix swapchain/screenTexture layout synchronization issues
Been deving with a headless machine for too long.
Fixes some presentation issues.
2023-08-21 22:34:31 -07:00
wheremyfoodat
d220d188ff
Merge pull request #224 from wheremyfoodat/Mac-why
More complete PList for MacOS builds
2023-08-21 22:44:02 +03:00
wheremyfoodat
a06c63fd41
Merge pull request #228 from caldog20/fixbundle
Fix minimum system version
2023-08-21 21:46:38 +03:00
Caleb Yates
3009e63cb8 Fix minimum system version 2023-08-21 13:45:02 -05:00
wheremyfoodat
1d601e41ba Merge branch 'master' into timerz 2023-08-21 18:57:18 +03:00
wheremyfoodat
fae1da680f Merge branch 'master' into Mac-why 2023-08-21 18:56:37 +03:00
wheremyfoodat
3b22f15e67 Merge branch 'master' into mii_selector 2023-08-21 18:53:36 +03:00
wheremyfoodat
92ceb0f05f Merge branch 'master' into sd-card 2023-08-21 18:41:29 +03:00
wheremyfoodat
56f36cee88
Merge pull request #227 from wheremyfoodat/news
Add news:u
2023-08-21 17:09:47 +03:00
wheremyfoodat
d3d426985a Add news:u 2023-08-21 16:45:35 +03:00
wheremyfoodat
3f2a546915 NFC stuffs 2023-08-21 15:39:55 +03:00
wheremyfoodat
3c7b9bb512 Fonts in fonts directory 2023-08-21 15:16:23 +03:00
wheremyfoodat
fb4b3ca7ab NFCC::StartCommunication: Fix response header 2023-08-21 15:13:00 +03:00
wheremyfoodat
5abfe5255f Add NFC::StartCommunication 2023-08-21 15:11:32 +03:00
wheremyfoodat
dd6508eb26 Migrate shared font to cmrc 2023-08-21 14:53:50 +03:00
Wunkolo
b3812548fe Fix bottom screen detection 2023-08-20 23:42:34 -07:00
Wunkolo
0258640da9 Add cached sampler creation
Using the sampler cache we can maintain a pool of reusable samplers. The
`sampler2D` utility function can help make some trivial samplers.
2023-08-20 23:40:51 -07:00
Wunkolo
7a86595a1b Add vulkan sampler cache 2023-08-20 23:35:52 -07:00
Wunkolo
14b1d7d8a8 Add display-shader presentation
Uses the graphics pipeline to both blit and transpose the 3ds-formatted
textures. Does not read from the actual texture just yet since we dont
write to the descriptor just yet. Some other patterns need to line up
before then.
2023-08-20 23:01:43 -07:00
Wunkolo
4b7bd9df3d Add Vulkan Descriptor-Update batching
Allows multiple descriptor operations to be batched up and dispatched in
one API call rather than scattered through out the code base.
2023-08-20 23:01:43 -07:00
Wunkolo
72c77e41b4 Draft Vulkan DescriptorHeap
A utility class from a personal project for managing a heap of
descriptors of a particular layout.

Allows the display graphics pipeline to be successfully created,
satisfying its descriptor layout issues.
2023-08-20 23:01:43 -07:00
Wunkolo
6ebbd80286 Add Display-pipeline as member variables 2023-08-20 23:01:43 -07:00
Wunkolo
89f3eb3a87 Add simple graphics pipeline creation
This will eventually need to move into a cache, but this is introducing
some foundational patterns so that we know how to properly design a
pipeline cache. Currently does not provide a `DescriptorSetLayout`
argument. Causing validation errors. This will be a general-case cache
right from the get-go.
2023-08-20 23:01:43 -07:00
Wunkolo
13e52ac047 Add shader-module loading
Loads spirv files from the embedded virtual file system and loads them
into vulkan shader-modules.
2023-08-20 23:01:43 -07:00
Wunkolo
4b193c8d6b Add general purpose vulkan render cache
Takes in a general `vk::Format` rather than PICA-types
2023-08-20 23:01:43 -07:00
Wunkolo
d4b75deaf8 Remove separate presentation/graphics command buffers
Now there is just one primary command buffer where all work is enqueued
into. At the end of the frame, the next frame's CPU-side fence is waited
on before resetting and beginning its command buffer again for
recording. This command buffer must always be in the RECORDING state.
2023-08-20 23:01:43 -07:00
Wunkolo
6052abe551 Fix swapchain synchronization issues
While we wait on the CPU-side fence for these command buffers, we must
also wait on the GPU-side semaphore to be compliant to validation
layers synchronization. We still get an error on the very first frame
since it will wait for a semaphore that has nothing signaling it.
2023-08-20 23:01:43 -07:00
Wunkolo
52ddaae221 Add getCurrentCommandBuffer for all frame workloads
Rather than allocating new command buffers for each small task, schedule
all work onto the frame's main command buffer to be dispatched at
display-time. Fixes all layout transition and synchronization issues.
2023-08-20 23:01:43 -07:00