mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
graphics: support RDNA2 custom pixel interpolation
Co-authored-by: Senaxx <Senaxx@users.noreply.github.com>
This commit is contained in:
1 parent
17c2b4cc7d
commit
5e64efce4f
14 files changed
+414
-28
No files matched your search
@@ -144,9 +144,10 @@ struct ExportInfo {
|
||||
};
|
||||
|
||||
struct InputInfo {
|
||||
uint32_t attr = 0;
|
||||
uint32_t chan = 0;
|
||||
uint32_t component_count = 1;
|
||||
uint32_t attr = 0;
|
||||
uint32_t chan = 0;
|
||||
uint32_t component_count = 1;
|
||||
uint32_t interpolation_mode = 3;
|
||||
|
||||
bool operator==(const InputInfo& other) const = default;
|
||||
};
|
||||
@@ -272,6 +273,8 @@ enum class StageInputKind {
|
||||
InstanceIndex,
|
||||
FragCoord,
|
||||
FrontFacing,
|
||||
BaryCoordSmooth,
|
||||
BaryCoordNoPerspective,
|
||||
WorkgroupId,
|
||||
LocalInvocationId,
|
||||
LocalInvocationIndex,
|
||||
@@ -286,6 +289,7 @@ struct StageInput {
|
||||
uint32_t location = 0;
|
||||
uint32_t component_count = 1;
|
||||
std::string debug_name;
|
||||
bool per_vertex = false;
|
||||
|
||||
bool operator==(const StageInput& other) const = default;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user