mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 12:04:45 +00:00
added Format16
dfmt
This commit is contained in:
parent
768b8e4864
commit
b4ae5100a2
1 changed files with 1 additions and 2 deletions
|
@ -493,6 +493,7 @@ static void EmitStoreBufferFormatF32xN(EmitContext& ctx, u32 handle, Id address,
|
|||
case AmdGpu::DataFormat::FormatInvalid:
|
||||
return;
|
||||
case AmdGpu::DataFormat::Format8_8_8_8:
|
||||
case AmdGpu::DataFormat::Format16:
|
||||
case AmdGpu::DataFormat::Format32:
|
||||
case AmdGpu::DataFormat::Format32_32_32_32: {
|
||||
ASSERT(N == AmdGpu::NumComponents(format));
|
||||
|
@ -520,8 +521,6 @@ static void EmitStoreBufferFormatF32xN(EmitContext& ctx, u32 handle, Id address,
|
|||
ctx.OpStore(ptr, comp);
|
||||
}
|
||||
} else {
|
||||
ASSERT(bit_width == 8);
|
||||
|
||||
if (i == 0) {
|
||||
packed_value = comp;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue