Please ignore this patch. I am going to send a v2 of it, together with a
fix for OpUConvert.
Thanks,
Sam
On 05/03/18 11:18, Samuel Iglesias Gonsálvez wrote:
> OpSConvert interprets the MSB of the unsigned value as the sign bit and
> extends it to the new type. If we want to preserve the value,
OpSConvert interprets the MSB of the unsigned value as the sign bit and
extends it to the new type. If we want to preserve the value, we need
to use OpUConvert opcode.
Signed-off-by: Samuel Iglesias Gonsálvez
---
src/compiler/spirv/vtn_alu.c | 19 ++-
1 file changed, 18 insertion