when playing victor vran dmesg gets spammed with MISALIGNED_GPR and MULTIPLE_WARP_ERRORS, the game runs and i cant notice any particular side effects from it, i have apitraced it and found the bad glDrawElementsInstancedBaseVertex call. karolherbst didnt get it when replaying the trace which is why we suspected its a gk110+ issue.
the call happends in frame 228 and call 372955 according to qapitrace.
trace is a bit big, 372mb compressed.
GL_FRAGMENT_SHADER from qapitrace:
GL_VERTEX_SHADER from qapitrace:
Should be fixed by:
Author: Ilia Mirkin <firstname.lastname@example.org>
Date: Sat May 14 19:25:15 2016 -0400
nvc0/ir: make sure to align the second arg of TXD to 4, as we do for TEX
This was handled in handleTEX(), however the way the logic works, those
extra arguments aren't added on by then, so it did nothing. Instead we
must duplicate that bit here. GK110 appears to complain about
MISALIGNED_GPR, however it's reasonable to believe that GK104 has the
Signed-off-by: Ilia Mirkin <email@example.com>
Reviewed-by: Samuel Pitoiset <firstname.lastname@example.org>
on Jan 16, 2017 at 21:43:42.
(provided by the Example extension).