mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
spirv: Drop a bogus assert
This was valid back when the only valid types of pointers were uint32 and uvec2. Now that we're allowing more variety, it could be just about anything so we'll just drop the assert. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
parent
9e34781aef
commit
4602e705e4
1 changed files with 0 additions and 1 deletions
|
|
@ -1797,7 +1797,6 @@ struct vtn_pointer *
|
|||
vtn_pointer_from_ssa(struct vtn_builder *b, nir_ssa_def *ssa,
|
||||
struct vtn_type *ptr_type)
|
||||
{
|
||||
vtn_assert(ssa->num_components <= 2 && ssa->bit_size == 32);
|
||||
vtn_assert(ptr_type->base_type == vtn_base_type_pointer);
|
||||
|
||||
struct vtn_type *interface_type = ptr_type->deref;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue