[Mesa-dev] [PATCH 1/2] nir/constant_expressions: Refactor helper functions

Dylan Baker dylan at pnwbakers.com
Thu Mar 9 20:25:50 UTC 2017



Quoting Jason Ekstrand (2017-03-09 10:23:56)
> +def op_bit_sizes(op):
> +    sizes = set([8, 16, 32, 64])
> +    if not type_has_size(op.output_type):
> +        sizes = sizes.intersection(set(type_sizes(op.output_type)))
> +    for input_type in op.input_types:
> +      if not type_has_size(input_type):

The indent looks off here, mixed tabs?

with that fixed:
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170309/cbc6f253/attachment.sig>


More information about the mesa-dev mailing list