Check second draw with vertex offset in primitive restart test

This commit is contained in:
baldurk
2019-05-27 12:01:40 +01:00
parent 1fbcade162
commit 72ddba1a58
@@ -50,3 +50,16 @@ class D3D11_Primitive_Restart(rdtest.TestCase):
}
self.check_mesh_data(postvs_ref, postvs_data)
# Now check the draw with a vertex offset
draw = self.find_draw("Draw", draw.eventId+1)
self.check(draw is not None)
self.controller.SetFrameEvent(draw.eventId, False)
postvs_data = self.get_postvs(rd.MeshDataStage.VSOut, 0, draw.numIndices)
# Data should be identical
self.check_mesh_data(postvs_ref, postvs_data)