nir/spirv: improve mmap() error handling
authorEric Engestrom <eric@engestrom.ch>
Sun, 25 Sep 2016 15:49:52 +0000 (16:49 +0100)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 1 Oct 2016 22:27:46 +0000 (15:27 -0700)
commitc86793804498a33e36302b670d3a8b095f9bdc93
tree7e196583230c7e3bc611e83717c764cec778cee8
parent65c8cbe89df3c0e23e83f32111cce6609f86c85d
nir/spirv: improve mmap() error handling

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/spirv2nir.c