diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-11-20 12:05:31 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-12-07 10:19:34 +0100 |
commit | 67ec314347ed03738cb4eece64c7b25b4ab7d3c8 (patch) | |
tree | 68e6382ccce86d1132ac01d08001ee07d2fb83e5 /src/compiler/spirv | |
parent | 947470d10ba5ab11a75f0e19e124b189ff3fd8b2 (diff) |
spirv: allow specialization constants with bitsize different than 32 bits
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 1 |
1 files changed, 0 insertions, 1 deletions
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]; } |