From 67ec314347ed03738cb4eece64c7b25b4ab7d3c8 Mon Sep 17 00:00:00 2001 From: Samuel Iglesias Gonsálvez Date: Mon, 20 Nov 2017 12:05:31 +0100 Subject: spirv: allow specialization constants with bitsize different than 32 bits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Ian Romanick --- src/compiler/spirv/spirv_to_nir.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/compiler/spirv/spirv_to_nir.c') diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index d321d1a30d7..c6efefb26f7 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -1585,7 +1585,6 @@ vtn_handle_constant(struct vtn_builder *b, SpvOp opcode, vtn_value(b, w[4 + i], vtn_value_type_constant)->constant; unsigned j = swap ? 1 - i : i; - vtn_assert(bit_size == 32); src[j] = c->values[0]; } -- cgit v1.2.3