mirror of
https://github.com/Inori/GPCS4.git
synced 2024-06-01 19:08:08 -04:00
add kDataFormatBc1Unorm format map
This commit is contained in:
parent
80fb91670b
commit
b6fb21dc16
|
@ -976,10 +976,11 @@ namespace sce::Gnm
|
|||
auto& resTable = shader.getResources();
|
||||
|
||||
|
||||
//if (shader.name().find("1C3E9BEC02B89E0E") != std::string::npos)
|
||||
if (shader.name().find("F3FAB76ECBEAABD2") != std::string::npos)
|
||||
{
|
||||
++count;
|
||||
if (count == 5)
|
||||
if (count == 1)
|
||||
{
|
||||
RdcController::instance()->triggerCapture();
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ namespace sce::Gnm::cvt
|
|||
//{ kDataFormatR1ReversedUint, VK_FORMAT_R1_REVERSEDUINT },
|
||||
//{ kDataFormatL1ReversedUint, VK_FORMAT_L1_REVERSEDUINT },
|
||||
//{ kDataFormatA1ReversedUint, VK_FORMAT_A1_REVERSEDUINT },
|
||||
//{ kDataFormatBc1Unorm, VK_FORMAT_BC1_UNORM },
|
||||
{ kDataFormatBc1Unorm, VK_FORMAT_BC1_RGBA_UNORM_BLOCK },
|
||||
//{ kDataFormatBc1UBNorm, VK_FORMAT_BC1_UBNORM },
|
||||
//{ kDataFormatBc1UnormSrgb, VK_FORMAT_BC1_UNORMSRGB },
|
||||
//{ kDataFormatBc2Unorm, VK_FORMAT_BC2_UNORM },
|
||||
|
|
|
@ -92,7 +92,8 @@ namespace sce
|
|||
auto transform = res.second.transform();
|
||||
|
||||
if (type.test(SceResourceType::Buffer) &&
|
||||
!type.any(SceResourceType::RenderTarget, SceResourceType::DepthRenderTarget))
|
||||
!type.any(SceResourceType::RenderTarget,
|
||||
SceResourceType::DepthRenderTarget))
|
||||
{
|
||||
auto& buffer = res.second.buffer().buffer;
|
||||
void* data = res.second.cpuMemory();
|
||||
|
|
Loading…
Reference in a new issue