summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-11-28 16:54:09 +0000
committerJosé Fonseca <[email protected]>2011-12-08 17:59:33 +0000
commitf32c7232a8a16887af710a11f025381bc73640f0 (patch)
treebf9a3911c3b0cdd87e6310bd744a195c6d8502dc /src/gallium/auxiliary/gallivm
parent24e648490921a386fc3f65d1b1ed330067a4bb25 (diff)
llvmpipe,draw,gallivm: Ensure we don't walk beyond the end of the shader variant list.
u_simple_list.h uses a sentinel element, and not a NULL element. So ensure list is not empty when reducing the list of shader variants. Something I noticed while trying to free variants more aggressively. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
0 files changed, 0 insertions, 0 deletions