summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/spirv.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-05-16 12:48:00 -0700
committerMatt Turner <[email protected]>2016-05-18 11:09:37 -0700
commitb1e6d069daeda87cb7e14a45a0e4438cc0b399d0 (patch)
tree4c66c1c6c8bdd079dd087a4f60d04732442c561b /src/compiler/spirv/spirv.h
parent0a548eb56fba1ec7e32ea116d022327baaae8d21 (diff)
spirv: Properly size the src[] array.
Operations like nir_op_bitfield_insert have four arguments, and Coverity isn't privy to the fact that 4-argument operations aren't possible here, so it thinks this can lead to memory corruption. Just increase the size of the array to quell any fears.
Diffstat (limited to 'src/compiler/spirv/spirv.h')
0 files changed, 0 insertions, 0 deletions