nvk: Drop a bogus assert

We've supported storageImageReadWithoutFormat for a while.  Also, thanks
to the fact that the assert assumed image_deref_load and happened after
nir_rewrite_image_intrinsic, it would never trigger.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26035>
This commit is contained in:
Faith Ekstrand
2023-11-03 13:35:39 -05:00
committed by Marge Bot
parent 0ce49d4347
commit d5753a89a6
@@ -300,10 +300,6 @@ lower_image_intrin(nir_builder *b, nir_intrinsic_instr *intrin,
nir_intrinsic_set_image_array(intrin, true);
}
/* We don't support ReadWithoutFormat yet */
if (intrin->intrinsic == nir_intrinsic_image_deref_load)
assert(nir_intrinsic_format(intrin) != PIPE_FORMAT_NONE);
return true;
}