diff options
author | Grazvydas Ignotas <[email protected]> | 2017-08-28 00:29:36 +0300 |
---|---|---|
committer | Grazvydas Ignotas <[email protected]> | 2017-08-31 02:47:26 +0300 |
commit | b8dd69e1b49a5c4c5c82e34f804a97f7448ff6c3 (patch) | |
tree | 35d52abe187ae943c66c2dfaeb6f4dd194ceecca /src/intel/vulkan/anv_blorp.c | |
parent | 5610911fed0f03962807ff9eb79d99eb005a5d71 (diff) |
radv: don't assert on empty hash table
Currently if table_size is 0, it's falling through to:
unreachable("hash table should never be full");
But table_size can be 0 when RADV_DEBUG=nocache is set, or when the
table allocation fails (which is not considered an error).
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_blorp.c')
0 files changed, 0 insertions, 0 deletions