diff options
author | Kenneth Graunke <[email protected]> | 2015-04-11 02:21:48 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-04-14 01:49:02 -0700 |
commit | 406df68736a213f17f21a38a7c2da4ea15acd053 (patch) | |
tree | f2fc0337c99ed20c7ac65653a465f9b8f5c52a99 /doxygen | |
parent | f55ded764ce60f87463e33bfa3a32e2c44715581 (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 'doxygen')
0 files changed, 0 insertions, 0 deletions