steamcompmgr: Save 11MB of VRAM on images we weren't using
This commit is contained in:
parent
7439592b49
commit
f3012f6e6d
3 changed files with 6 additions and 6 deletions
|
|
@ -2951,7 +2951,7 @@ static bool vulkan_make_output_images( VulkanOutput_t *pOutput )
|
|||
return false;
|
||||
}
|
||||
|
||||
if ( pOutput->outputFormatOverlay != VK_FORMAT_UNDEFINED )
|
||||
if ( pOutput->outputFormatOverlay != VK_FORMAT_UNDEFINED && !kDisablePartialComposition )
|
||||
{
|
||||
VkFormat partialFormat = pOutput->outputFormatOverlay;
|
||||
|
||||
|
|
|
|||
|
|
@ -2663,11 +2663,6 @@ paint_all(bool async)
|
|||
frameInfo.applyOutputColorMgmt = false;
|
||||
}
|
||||
|
||||
// Disable partial composition for now until we get
|
||||
// composite priorities working in libliftoff + also
|
||||
// use the proper libliftoff composite plane system.
|
||||
static constexpr bool kDisablePartialComposition = true;
|
||||
|
||||
bool bWantsPartialComposite = frameInfo.layerCount >= 3 && !kDisablePartialComposition;
|
||||
|
||||
bool bNeedsFullComposite = BIsNested();
|
||||
|
|
|
|||
|
|
@ -43,6 +43,11 @@ extern bool g_bForceHDRSupportDebug;
|
|||
|
||||
extern EStreamColorspace g_ForcedNV12ColorSpace;
|
||||
|
||||
// Disable partial composition for now until we get
|
||||
// composite priorities working in libliftoff + also
|
||||
// use the proper libliftoff composite plane system.
|
||||
static constexpr bool kDisablePartialComposition = true;
|
||||
|
||||
enum TakeScreenshotMode_t
|
||||
{
|
||||
TAKE_SCREENSHOT_BASEPLANE_ONLY = 1, // Just the game/base plane
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue