[Vulkan] Implement tiled_shared_memory for resolution scaling
Adds support for >3x resolution scaling to vulkan by implementing sparse scaled resolve similar to the d3d12 implementation.
This commit is contained in:
@@ -851,8 +851,11 @@ bool D3D12CommandProcessor::SetupContext() {
|
||||
TextureCache::GetConfigDrawResolutionScale(draw_resolution_scale_x,
|
||||
draw_resolution_scale_y);
|
||||
|
||||
if (!D3D12TextureCache::ClampDrawResolutionScaleToMaxSupported(
|
||||
draw_resolution_scale_x, draw_resolution_scale_y, provider)) {
|
||||
bool has_tiled_resources =
|
||||
provider.GetTiledResourcesTier() >= D3D12_TILED_RESOURCES_TIER_1;
|
||||
if (!TextureCache::ClampDrawResolutionScaleToMaxSupported(
|
||||
draw_resolution_scale_x, draw_resolution_scale_y, has_tiled_resources,
|
||||
provider.GetVirtualAddressBitsPerResource())) {
|
||||
draw_resolution_scale_not_clamped = false;
|
||||
}
|
||||
if (!draw_resolution_scale_not_clamped) {
|
||||
|
||||
Reference in New Issue
Block a user