| commit | e029d2b45a9b33838b0bbb1f6e7510c417672abe | [log] [tgz] |
|---|---|---|
| author | Faith Ekstrand <faith.ekstrand@collabora.com> | Mon Mar 10 14:46:52 2025 -0500 |
| committer | Marge Bot <emma+marge@anholt.net> | Mon Mar 10 23:42:19 2025 +0000 |
| tree | e71bce240b5dda86762be7cc40deb968f49186ef | |
| parent | 917cecb3c2cdef1a4223f247cfffa36b55c2ea7a [diff] |
nvk,nil: Stop panicing in image creation If an image gets created with unsupported parameters (which is a pretty complex thing to check), it's probably better to just return an error rather than panic, especially since Rust panics happen even in release builds. Reviewed-by: Mel Henning <mhenning@darkrefraction.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33990>