ps5: impostor msaa resolve dest needs to be a render target
This commit is contained in:
@@ -3471,7 +3471,7 @@ namespace wi::scene
|
||||
desc.misc_flags = ResourceMiscFlag::NONE;
|
||||
desc.layout = ResourceState::SHADER_RESOURCE;
|
||||
|
||||
desc.bind_flags = BindFlag::SHADER_RESOURCE | BindFlag::UNORDERED_ACCESS;
|
||||
desc.bind_flags = BindFlag::SHADER_RESOURCE | BindFlag::RENDER_TARGET; // Note: RenderTarget required for MSAA resolve dest [PS5]
|
||||
desc.format = Format::R8G8B8A8_UNORM;
|
||||
device->CreateTexture(&desc, nullptr, &impostorRenderTarget_Albedo);
|
||||
device->SetName(&impostorRenderTarget_Albedo, "impostorRenderTarget_Albedo");
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace wi::version
|
||||
// minor features, major updates, breaking compatibility changes
|
||||
const int minor = 71;
|
||||
// minor bug fixes, alterations, refactors, updates
|
||||
const int revision = 279;
|
||||
const int revision = 280;
|
||||
|
||||
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user