diff options
author | Matt Turner <[email protected]> | 2015-06-22 11:20:32 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-06-23 12:24:42 -0700 |
commit | d8eeb4917ca39a0698731f64933c85a7c44e9247 (patch) | |
tree | cdaa7e6a1952e5ae0bb98c36258c099bffa90900 /src/mesa/main/texturebarrier.c | |
parent | 4d93a07c45c8aa4cb3adbfcb9d61dcb54d8c404f (diff) |
i965: Assert that the GL primitive isn't out of range.
Coverity sees the if (mode >= BRW_PRIM_OFFSET (128)) test and assumes
that the else-branch might execute for mode to up 127, which out be out
of bounds.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/main/texturebarrier.c')
0 files changed, 0 insertions, 0 deletions