summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_vertex_program.c
diff options
context:
space:
mode:
authorAndrii Simiklit <[email protected]>2018-11-05 09:48:26 +0200
committerJordan Justen <[email protected]>2018-11-20 06:33:43 -0800
commitb787dcf57b7298868ce9b6885a827d57a6127ba1 (patch)
tree57cae3c0cbf736a897d9a07dcf3511b448071e2c /src/glx/indirect_vertex_program.c
parent982e012b3ac924dab56b41c5407f722bd2a4c359 (diff)
i965/batch: avoid reverting batch buffer if saved state is an empty
There's no point reverting to the last saved point if that save point is the empty batch, we will just repeat ourselves. v2: Merge with new commits, changes was minimized, added the 'fixes' tag v3: Added in to patch series v4: Fixed the regression which was introduced by this patch Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108630 Reported-by: Mark Janes <[email protected]> The solution provided by: Jordan Justen <[email protected]> CC: Chris Wilson <[email protected]> Fixes: 3faf56ffbdeb "intel: Add an interface for saving/restoring the batchbuffer state." Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107626 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108630 (fixed in v4) Signed-off-by: Andrii Simiklit <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx/indirect_vertex_program.c')
0 files changed, 0 insertions, 0 deletions