Description

// enforce color target is <= depth and MSAA settings match
if(RTTDesc.Width > DTTDesc.Width || RTTDesc.Height > DTTDesc.Height ||
RTTDesc.SampleDesc.Count != DTTDesc.SampleDesc.Count ||
RTTDesc.SampleDesc.Quality != DTTDesc.SampleDesc.Quality)

{ UE_LOG(LogD3D11RHI, Fatal,TEXT("RTV(%i,%i c=%i,q=%i) and DSV(%i,%i c=%i,q=%i) have mismatching dimensions and/or MSAA levels!"), RTTDesc.Width,RTTDesc.Height,RTTDesc.SampleDesc.Count,RTTDesc.SampleDesc.Quality, DTTDesc.Width,DTTDesc.Height,DTTDesc.SampleDesc.Count,DTTDesc.SampleDesc.Quality); }
Steps to Reproduce

1. Compile a Debug Engine configuration
2. Create a new project and open it up in editor
3. Enable Forward rendering and MSAA
4. Close editor
5. Start editor again with a debugger attached
6. Start any level in VR preview
7. Editor breaks on a sample count check in D3D11Commands.cpp - function GetRenderTargetViewDesc.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-39304 in the post.

2
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.14
Target Fix4.15
Fix Commit3268752
Main Commit3389599
Release Commit3268752
CreatedDec 4, 2016
ResolvedJan 23, 2017
UpdatedSep 16, 2019