RADV - Vertex explosion in DIRT 5 on RDNA2
Description
The following rendering issue can be observed with dirt 5 running in proton using vkd3d, once the main menu loads it takes a couple of seconds until the issue appears:
This issue is reproducible with both mesa 21.0.2 and master as of e7977b8c on RDNA2. I can't reproduce it on both nvidia (geforce 1060, 465.19.01) and mobile vega/picasso (mesa 21.0.2 and mesa-git).
System information
- GPU: Radeon 6900 XT
- Kernel: 5.11.10
- Mesa: mesa-git e7977b8c
- Proton: Experimental
- vkd3d-proton: master 2860b0a54847b26a024b056bc9f304dc078fb2f4
API captures
Both were created on mesa-master, so they can't be played back on mesa 21.
Renderdoc (it needs a git build of renderdoc, the rdc was created on c3ca732ab9d49d710922ce0243e7bd7b404415d1: https://drive.google.com/file/d/19uyfzcc0nW341Zw6NGlMMdcIhJj8UX2o/view?usp=sharing
GFXReconstruct (git 11212f89bff843e7ee0c552796bd026fe8f3cf66): https://drive.google.com/file/d/1Z5bEt1d5GyV2xSZvuVl18uolu5o6kvmm/view?usp=sharing
Further information
The issue can be reproduced with LLVM using the renderdoc, but the game itself crashes in libLLVM-11.