mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-16 15:43:14 +00:00
shader_recompiler: Proper support for inst-typed buffer format operations. (#2469)
This commit is contained in:
parent
6860bb7349
commit
9424047214
6 changed files with 167 additions and 207 deletions
|
@ -262,6 +262,13 @@ private:
|
|||
}
|
||||
};
|
||||
|
||||
static constexpr CompMapping IdentityMapping = {
|
||||
.r = CompSwizzle::Red,
|
||||
.g = CompSwizzle::Green,
|
||||
.b = CompSwizzle::Blue,
|
||||
.a = CompSwizzle::Alpha,
|
||||
};
|
||||
|
||||
inline DataFormat RemapDataFormat(const DataFormat format) {
|
||||
switch (format) {
|
||||
case DataFormat::Format11_11_10:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue