sunshineinabox
674288a71f
Avoid creating pipelines for each topology.
2024-08-12 22:09:09 -07:00
sunshineinabox
2d1af4ddb4
Set a default topology state that can be overwritten later if needed.
2024-08-12 20:57:08 -07:00
sunshineinabox
1a43536092
LogicOps
2024-08-11 19:54:52 -07:00
sunshineinabox
49494b5b2d
Some more default values
2024-08-10 17:16:48 -07:00
sunshineinabox
d6f05044ea
Set stride to 0 if Vertex Input dynamic state is enabled
2024-08-10 16:49:05 -07:00
sunshineinabox
42c47e408d
If dynamic states are enabled use default values for calculation uuid
2024-08-10 16:35:30 -07:00
sunshineinabox
af31a14c77
Spec states it CAN be null
2024-08-06 23:24:34 -07:00
sunshineinabox
6aa30b24ba
Actually change what is being passed to HwCapabilities instead of just disabling the feature.
2024-08-06 08:15:17 -07:00
sunshineinabox
53ca3b53b6
Exclude Patch Control Points dynamic state at this time
2024-08-05 23:18:28 -07:00
sunshineinabox
482b960740
More changes to be inline with spec
2024-08-04 20:53:54 -07:00
sunshineinabox
af9de85a1b
Origin of crash?
2024-08-04 20:34:49 -07:00
sunshineinabox
f15b6c85f6
According to spec there is no need to do this as it should automatically be not set when not needed
2024-08-04 16:16:27 -07:00
sunshineinabox
c53f58a4a9
Resolve issue with primitive toplogy
...
Primitive Restart Enable should depend on Extended dynamic state 2 extension not 1
Resolve Primitive restart enable
Fix MoltenVK crash
2024-08-03 23:24:49 -07:00
sunshineinabox
3b398adbe6
Refactor PipelineUid and pack TopologyClass
...
Remove basepipelineindex as its extraneous
2024-08-03 19:22:46 -07:00
sunshineinabox
59ef2ac799
Accidental change
2024-08-02 18:17:28 -07:00
sunshineinabox
ce450dc08e
Invert logic to only set flags dirty if those are supported.
2024-08-02 07:27:44 -07:00
sunshineinabox
023f3ed44f
Resolve build errors
2024-08-01 19:21:32 -07:00
sunshineinabox
fa801ba472
Match other code in project
2024-08-01 19:17:59 -07:00
sunshineinabox
9b02fd6dc0
Conver to TopologyClass from Vulkan Topology
2024-08-01 08:19:11 -07:00
sunshineinabox
adc7528b54
Why cast when you don't need to cast
2024-07-31 18:56:06 -07:00
sunshineinabox
1bcc9c029a
Remove redundant logic, just use max possible dynamic states
2024-07-31 18:51:44 -07:00
sunshineinabox
38c9ec925c
Whitespace fix
2024-07-31 18:22:29 -07:00
sunshineinabox
3f7a3ac558
Adapt changes from #7102 for dynamic states
2024-07-31 18:18:46 -07:00
sunshineinabox
7b480edf86
Merge branch 'master' into MoreDynamicStatesPartOne
2024-07-31 17:17:24 -07:00
sunshineinabox
da11dc1288
Only pass Tesselation state create info if dynamic state is not supported
2024-07-31 17:12:57 -07:00
sunshineinabox
693f268090
Accidental change
2024-07-31 08:18:58 -07:00
sunshineinabox
fb964b514c
Do not set patch control points dynamic state if there is no tessalation control shader. Thank you riperiperi
2024-07-31 08:14:26 -07:00
sunshineinabox
1b9e42bdb4
Should not just check for extension. This is more correct.
2024-07-30 18:17:49 -07:00
gdkchan
56b2f84702
Fix shader RegisterUsage pass only taking first operation dest into account ( #7131 )
...
* Fix shader RegisterUsage pass only taking first operation dest into account
* Shader cache version bump
2024-07-30 21:57:55 -03:00
riperiperi
698e36bbd2
Vulkan: Force topology to PatchList for Tessellation ( #7102 )
...
Vulkan spec states that input topology should always be PatchList when a tessellation pipeline is present. The AMD GPU on windows crashes so hard it BSODs the machine if this isn't the case, so it's forced here just in case.
I'm not sure what providing a different topology here would even do, as you'd think it would always be a patch list input.
2024-07-30 21:48:30 -03:00
sunshineinabox
7396c05b35
Resolve crash
2024-07-29 20:32:52 -07:00
Isaac Marovitz
6ce49a2dc7
Ava UI: Handle updates containing non numeric characters ( #7043 )
...
* Handle updates containing non numeric characters
Smh
Dont be stupid
* Use Berry’s method
* Thanks gdk
* Remove using
2024-07-25 16:44:33 -03:00
riperiperi
ccd330ba0f
Vulkan: Add missing barriers for texture to buffer copy ( #7092 )
...
This barrier has always been missing, but it only became apparent when #7012 merged.
I also added some barriers in case the target buffer used here is used by other commands, though right now it isn't.
Fixes a regression where water would turn white on AMD GPUs with the proprietary driver. May fix other issues on this driver.
2024-07-25 16:34:30 -03:00
sunshineinabox
e7a4299400
Minor change
2024-07-23 22:09:56 -07:00
sunshineinabox
ea44670330
Set logicOp and DepthCompareOp only if enabled
2024-07-23 22:03:47 -07:00
sunshineinabox
2cba50a9ed
Move TopologyClass conversoin to EnumConversion.cs
2024-07-23 21:54:01 -07:00
sunshineinabox
34ac6f33ad
Merge branch 'master' into MoreDynamicStatesPartOne
2024-07-23 20:59:44 -07:00
sunshineinabox
b66f6ce673
Resolve some validation errors
2024-07-23 20:58:47 -07:00
sunshineinabox
a5052013f3
Fix some conditions
2024-07-23 20:25:23 -07:00
gdkchan
95d252b7b8
Update kernel GetInfo SVC for firmware 18.0.0 ( #7075 )
...
* Implement kernel GetInfo AliasRegionExtraSize
* Implement IsSvcPermitted
* Remove warning supressions that are no longer needed
* Remove useless cast
2024-07-22 12:46:04 -03:00
TSRBerry
add681144b
Fix checking for the wrong metadata files for applications launched with a different program index ( #7055 )
...
* Fix checking for the wrong update metadata file
* Apply the same fix for dlc.json
* Use the base application ids for updates and DLCs in the GUI too
This shouldn't actually change anything, since the program index part of the application id
should always be 0 for all applications currently seen by the GUI.
This was just done for completeness.
2024-07-21 14:42:23 -03:00
TSRBerry
c6dc00815a
Make sure TryGetApplicationsFromFile() doesn't throw exceptions anymore ( #7046 )
...
* Add docstrings for exceptions to methods near TryGetApplicationsFromFile()
* Make sure TryGetApplicationsFromFile() doesn't throw exceptions anymore
* Add missing filePath to ApplicationData when loading applications from ExeFS
* Fix typo
Co-authored-by: riperiperi <rhy3756547@hotmail.com>
---------
Co-authored-by: riperiperi <rhy3756547@hotmail.com>
2024-07-20 16:35:43 -03:00
gdkchan
99f04ac1a6
Fix Skia saving screenshot with transparent background and incorrect origin ( #7073 )
...
* Fix Skia saving screenshot with transparent background and incorrect origin
* Remove code that is no longer necessary
2024-07-20 16:27:40 -03:00
gdkchan
ce09450743
Unlink server sessions from multi-wait when service stops processing requests ( #7072 )
2024-07-20 16:17:40 -03:00
sunshineinabox
7610236816
Resolve merge error
2024-07-19 17:36:29 -07:00
Isaac Marovitz
2cb80f37d4
Ava UI: Auto select newly added updates & DLC ( #7026 )
...
* Fix DLC not being selected
* FIx conflicts
* Apply suggestions from code review
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
---------
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2024-07-19 19:00:15 +02:00
gdkchan
827069e784
Add missing Buffer attribute on NGC Check method ( #7051 )
2024-07-18 15:11:00 -03:00
sunshineinabox
afe4d581ee
Merge branch 'master' into MoreDynamicStatesPartOne
2024-07-18 07:32:07 -07:00
riperiperi
1a919e99b2
Vulkan: Defer guest barriers, and improve image barrier timings ( #7012 )
...
* More guarantees for buffer correct placement, defer guest requested buffers
* Split RP on indirect barrier rn
* Better handling for feedback loops.
* Qualcomm barriers suck too
* Fix condition
* Remove unused field
* Allow render pass barriers on turnip for now
2024-07-17 20:21:32 -03:00
TSRBerry
f77bebac80
Include content data foreach-loop in try-catch ( #7036 )
2024-07-17 19:02:20 -03:00