summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-04-11 02:21:48 -0700
committerKenneth Graunke <[email protected]>2015-04-14 01:49:02 -0700
commit406df68736a213f17f21a38a7c2da4ea15acd053 (patch)
treef2fc0337c99ed20c7ac65653a465f9b8f5c52a99 /include
parentf55ded764ce60f87463e33bfa3a32e2c44715581 (diff)
i965: Fix software primitive restart with indirect draws.
new_prim was declared as a stack variable within a nested scope; we tried to retain a pointer to that data beyond the scope, which is bogus. GCC with -O1 eliminated most of the code that set new_prim's fields. Move the declaration to fix the bug. v2: Also fix new_ib (thanks to Matt Turner and Ben Widawsky). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81025 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Ben Widawsky <[email protected]> Cc: [email protected]
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions