aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texturebarrier.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-06-22 11:20:32 -0700
committerMatt Turner <[email protected]>2015-06-23 12:24:42 -0700
commitd8eeb4917ca39a0698731f64933c85a7c44e9247 (patch)
treecdaa7e6a1952e5ae0bb98c36258c099bffa90900 /src/mesa/main/texturebarrier.c
parent4d93a07c45c8aa4cb3adbfcb9d61dcb54d8c404f (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