diff options
author | Chia-I Wu <[email protected]> | 2014-09-14 00:15:20 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-14 00:30:33 +0800 |
commit | a32f48361af58caf27bea8359bd5faed29fbf5e9 (patch) | |
tree | e33748d77389645a06e5f351bcaedc47eb35a86a /src/gallium/targets/egl-static | |
parent | 8fcf1b1f90901d59bf4cca0e04aa84d2c55de9ed (diff) |
ilo: trust vertex element count more
We might run into ve->count == 0 and last_velement_edgeflag == true in
gen6_3DSTATE_VERTEX_ELEMENTS() when the state tracker sets an invalid
combination of VS and VE (does not seem to happen with st/mesa). Do not
assume ve->count is positive when last_velement_edgeflag is true.
Reported by Coverity.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/targets/egl-static')
0 files changed, 0 insertions, 0 deletions