https://bugs.winehq.org/show_bug.cgi?id=52844
--- Comment #6 from Henri Verbeet hverbeet@gmail.com --- For context, the application does indexed draws with a NULL index buffer, and a 0 index count. That almost works, but reference_graphics_pipeline_resources() will attempt to reference the NULL index buffer.
The patch mostly needs some tests to see whether this is really supposed to work, as well as possibly being extended to other draw functions.