mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 04:58:08 +02:00
nak: add more sizes to assert in bindless_image_sparse_load
Affects
dEQP-VK.sparse_resources.buffer.texel_buffers.sparse_residency.storage_texel_buffer_sparse_read_size_2_10_r64ui_strict
Fixes: 410de4bf69 ("nak: wire up sparse image loads")
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41586>
This commit is contained in:
parent
3831935818
commit
1ab8f1eb00
1 changed files with 1 additions and 1 deletions
|
|
@ -2824,7 +2824,7 @@ impl<'a> ShaderFromNir<'a> {
|
|||
|
||||
let comps = intrin.num_components;
|
||||
assert!(intrin.def.bit_size() == 32);
|
||||
assert!(comps == 5);
|
||||
assert!(comps == 2 || comps == 3 || comps == 5);
|
||||
let image_access =
|
||||
ImageAccess::Formatted(ChannelMask::for_comps(comps - 1));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue