diff options
author | Brian Paul <brianp@vmware.com> | 2010-07-29 19:18:48 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-07-29 19:19:05 +0100 |
commit | 5f90e76c54bbf4456c977b3cbca450d7a570179e (patch) | |
tree | a21471cbcaa498fe25af841d6e6c9f6f725a6154 /src/gallium/auxiliary/tgsi/tgsi_scan.c | |
parent | a258701cd949d45041ed571ca08fedc40de2cf69 (diff) |
gallivm: fix lp_build_sample_offset() crash when indexing a 1-D texture
If y==NULL and y_stride==NULL it means the texture is 1D. Return
zero for out_i and the offset instead of garbage.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.c')
0 files changed, 0 insertions, 0 deletions