mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-01 15:02:40 +00:00
added Format16
dfmt
This commit is contained in:
parent
768b8e4864
commit
b4ae5100a2
@ -493,6 +493,7 @@ static void EmitStoreBufferFormatF32xN(EmitContext& ctx, u32 handle, Id address,
|
|||||||
case AmdGpu::DataFormat::FormatInvalid:
|
case AmdGpu::DataFormat::FormatInvalid:
|
||||||
return;
|
return;
|
||||||
case AmdGpu::DataFormat::Format8_8_8_8:
|
case AmdGpu::DataFormat::Format8_8_8_8:
|
||||||
|
case AmdGpu::DataFormat::Format16:
|
||||||
case AmdGpu::DataFormat::Format32:
|
case AmdGpu::DataFormat::Format32:
|
||||||
case AmdGpu::DataFormat::Format32_32_32_32: {
|
case AmdGpu::DataFormat::Format32_32_32_32: {
|
||||||
ASSERT(N == AmdGpu::NumComponents(format));
|
ASSERT(N == AmdGpu::NumComponents(format));
|
||||||
@ -520,8 +521,6 @@ static void EmitStoreBufferFormatF32xN(EmitContext& ctx, u32 handle, Id address,
|
|||||||
ctx.OpStore(ptr, comp);
|
ctx.OpStore(ptr, comp);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ASSERT(bit_width == 8);
|
|
||||||
|
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
packed_value = comp;
|
packed_value = comp;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user