Cell: insert dummy field into cell_command_render struct to work around apparent...
authorBrian <brian.paul@tungstengraphics.com>
Fri, 25 Jan 2008 01:20:07 +0000 (18:20 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 25 Jan 2008 01:20:07 +0000 (18:20 -0700)
commit547e52f4a04f39d5a96bf5b1ebe97c83b9219dab
treef4efa33f34a61fbe920527cb857515b7999f6e7f
parent7d0421d6cda0de49ca810cebdf9fa328c48d115f
Cell: insert dummy field into cell_command_render struct to work around apparent compiler bug

Without this dummy field, it seems the SPU code in cmd_render() gets a bogus
value when dereferencing render->num_indices, sometimes.
This showed up as missing tries in gears.c in the first frame rendered.
Using spu-gcc version 4.1.1, Cell SDK 2.1
src/mesa/pipe/cell/common.h