summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-09-03 19:22:06 +0100
committerEric Engestrom <[email protected]>2017-09-04 08:05:36 +0100
commit0c7272a66c633b0b11c0b81c0f3552201d083b3a (patch)
tree3254b06f20e75b293af8a1972aff1d8b23eec9d2 /src/gallium/auxiliary/util
parent979be4f9c80a51c7294726bb75a00d5acbb0acc8 (diff)
anv: fix off by one in array check
`anv_formats[ARRAY_SIZE(anv_formats)]` is already one too far. Spotted by Coverity. CovID: 1417259 Fixes: 242211933a0682696170 "anv/formats: Nicely handle unknown VkFormat enums" Cc: Jason Ekstrand <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
0 files changed, 0 insertions, 0 deletions