summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/spirv_to_nir.c
diff options
context:
space:
mode:
authorAndres Gomez <[email protected]>2017-07-08 15:21:20 +0300
committerAndres Gomez <[email protected]>2017-07-08 21:14:19 +0300
commite6b189351f3ba3376a1c3f0c5e09bac5493a8da3 (patch)
treedb5c7f4a42ebf72dd2fb302bd0f4f97f8205df0d /src/compiler/spirv/spirv_to_nir.c
parent1aba0e7f5841087058d57ea5286dbc30d8869982 (diff)
nir/spirv: Remove unnecessary comment.
It should have been removed after 00c47e111c. Cc: Jason Ekstrand <[email protected]> Cc: Connor Abbott <[email protected]> Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
-rw-r--r--src/compiler/spirv/spirv_to_nir.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index 1743d8915a1..8da58a7a3e0 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;