turnip: Remove an unnecessary assert.

The assertion is already in the common implementation.

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17614>
This commit is contained in:
Hyunjun Ko 2022-07-15 17:04:17 +09:00 committed by Marge Bot
parent d4ca5942be
commit d046d6e9e0

View File

@ -97,7 +97,6 @@ tu_spirv_to_nir(struct tu_device *dev,
struct vk_shader_module *module =
vk_shader_module_from_handle(stage_info->module);
assert(module->size % 4 == 0);
nir_shader *nir;
VkResult result = vk_shader_module_to_nir(&dev->vk, module,