diff options
author | Jason Ekstrand <[email protected]> | 2019-01-11 22:13:36 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-26 13:41:50 -0600 |
commit | 4602e705e45fce6e69667c7a734ded920991e72b (patch) | |
tree | df74728ee338c7c305bcabaa897e76a9b3cf6520 /src/compiler/spirv | |
parent | 9e34781aef3611bfcc3843694576c5972f0710fb (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r-- | src/compiler/spirv/vtn_variables.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index 792b7418c91..17f067133dd 100644 --- a/src/compiler/spirv/vtn_variables.c +++ b/src/compiler/spirv/vtn_variables.c @@ -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; |