diff options
author | Kenneth Graunke <[email protected]> | 2011-08-30 12:34:13 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-09-02 12:17:06 -0700 |
commit | ee41383ab31f6ef5f1d18961de78371d4f52065b (patch) | |
tree | 4b830fef0de52927bda98f6070bad2e1de5470c9 /configs/bluegene-xlc-osmesa | |
parent | 7fdbedac14637b5e8990cb639bd4ddae28c46994 (diff) |
i965/vs: Fix NULL pointer dereference in pre-Gen6 push constant loading.
According to the comment, we need to load /some/ push constants on
pre-Gen6 hardware or the GPU will hang. The existing code set these
bogus parameters to NULL pointers; unfortunately, the code in
brw_curbe.c that loads them dereferences those pointers. So, change
them to be pointers to an actual floating point value of 0.0.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'configs/bluegene-xlc-osmesa')
0 files changed, 0 insertions, 0 deletions