Ported support for Princess Peach: Showtime! from sudachi #53
No reviewers
Labels
No labels
CI
Low Priority
Needs Approvals
Needs Rebase
android
bug
duplicate
enhancement
help wanted
invalid
question
translations
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: suyu/suyu#53
Loading…
Reference in a new issue
No description provided.
Delete branch "lvella/suyu:princess-peach-showtime"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Supposedly this newly implemented emitter is needed by "Princess Peach: Showtime!", but I am not sure at whet point, so I don't know how does it affects the game.
Anyway, this is a code path that was missing from our shader generators, so I'll leave this PR here...
A copyright notice should be added to Sudachi.
I'll ask if we can implement this I couldn't get in contact as their website doesn't load and the dev doesn't have open DMsmy dms were closed@Crimson-Hawk
25d0ee4817
to0ae3868c0d
i just tried the sudachi build with this fix and on android it doesn't solve anything
It would be better to make our own fix instead. Also @lvella are you in the discord? I
Despite this not solving bug #21, I still think this PR is important, because it implements a code generation path that we are missing. Granted, almost no game uses geometry shaders (due to its terrible reputation), but in theory they can use.
I think this would be unnecessary, because the attribution is properly given in the commit author. But it would also be incorrect, because Sudachi can not hold copyright (nor suyu, for that matter). Only legal entities can hold copyright, i.e. "Copyright 2024 Suyu" means nothing. Each change is copyrighted to the person or company who did it.
As requested in Discord, reopening.
0ae3868c0d
to09578d522b
73afddf1c2
to077d7c8bfe
I (actually this time) asked the Sudachi author for permission to use this code, if he's okay with it I'll approve
I've added a new commit just to update the copyright notice on every file we got the changes from. Now the copyright holders are said to be the original "2021 yuzu Emulator Project", and the new "2024 sudachi Emulator Project".
As I stated in a previous comment, I think the entities actually holding the copyright are not properly represented, but I will not take the liberty to change what the authors themselves thought to write. What I did change was the year, because sudachi changes are obviously from 2024, not 2021 as originally stated in the sudachi files.
If this is not enough for you, feel free to submit a PR into my branch to explain how exactly do you want this attribution.
077d7c8bfe
toc6856ec53d
I understand it is a courtesy, given the debacle that ended up in reddit, but as long as we don't misrepresent it, we already already had the permission from the moment he published his code as GPL.
c6856ec53d
to45df2ec6f9
shouldn't the copyright header be
It was okayed by Jarrod. As long as you add @Crimson-Hawk’s changes, looks good
I was not familiar with this SPDX standard, but for the little I could understand, you can only have one
SPDX-FileCopyrightText:
per file, so comma separating all the copyright holders within the sameSPDX-FileCopyrightText:
seems to be the correct way of doing it.About including
Copyright 2024 suyu Emulator Project
, I find it wrong in two ways:suyu Emulator Project
is not a legal entity, thus it can't hold copyright (this wrongness applies to the two other notices, too). A more appropriate text would besuyu Project Developers
;@ -408,1 +408,4 @@
break;
case Stage::Geometry:
ctx.Add("SHL.U {}.x,{},16;", inst,
InputTopologyVertices::vertices(ctx.runtime_info.input_topology));
/workspace/suyu/suyu/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp:411:53: error: invalid use of incomplete type ‘const struct Shader::RuntimeInfo’
Looks like you're missing a
runtime_info.h
includeSorry. The original patch included it in another header file. I was supposed to move it to
emit_glasm_context_get_set.cpp
, to have one less file to change the copyright notice, but I forgot. My local build is broken sinced4375a21ef
so I was relying on CI to build.It is fixed now.
45df2ec6f9
to27b2e075c1
27b2e075c1
todb647d915d