[Mesa-dev] [PATCH] nir/spirv: Remove unnecessary comment.

Jason Ekstrand jason at jlekstrand.net
Sat Jul 8 14:52:01 UTC 2017


Rb


On July 8, 2017 5:22:01 AM Andres Gomez <agomez at igalia.com> wrote:

> It should have been removed after 00c47e111c.
>
> Cc: Jason Ekstrand <jason at jlekstrand.net>
> Cc: Connor Abbott <cwabbott0 at gmail.com>
> Signed-off-by: Andres Gomez <agomez at igalia.com>
> ---
>  src/compiler/spirv/spirv_to_nir.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/src/compiler/spirv/spirv_to_nir.c 
> b/src/compiler/spirv/spirv_to_nir.c
> index 1743d8915a..8da58a7a3e 100644
> --- a/src/compiler/spirv/spirv_to_nir.c
> +++ b/src/compiler/spirv/spirv_to_nir.c
> @@ -759,11 +759,6 @@ vtn_handle_type(struct vtn_builder *b, SpvOp opcode,
>        assert(glsl_type_is_scalar(base->type));
>        val->type->base_type = vtn_base_type_vector;
>        val->type->type = glsl_vector_type(glsl_get_base_type(base->type), elems);
> -
> -      /* Vectors implicitly have sizeof(base_type) stride.  For now, this
> -       * is always 4 bytes.  This will have to change if we want to start
> -       * supporting doubles or half-floats.
> -       */
>        val->type->stride = glsl_get_bit_size(base->type) / 8;
>        val->type->array_element = base;
>        break;
> --
> 2.11.0
>




More information about the mesa-dev mailing list