Re: [Mesa-dev] [PATCH] nir/vtn: fix OpConvertXToY

2018-03-14 Thread Jason Ekstrand
Samuel sent out a patch to fix this already which I've reviewed. Feel free to merge it. I gave him comments on the second so maybe best to leave that one be. That said, I do sort-of like your macro... On Wed, Mar 14, 2018 at 8:08 AM, Rob Clark wrote: > These opcodes don't care about src/dst t

[Mesa-dev] [PATCH] nir/vtn: fix OpConvertXToY

2018-03-14 Thread Rob Clark
These opcodes don't care about src/dst type, only src/dst size. Signed-off-by: Rob Clark --- src/compiler/spirv/vtn_alu.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/compiler/spirv/vtn_alu.c b/src/compiler/spirv/vtn_alu.c index f0b69b38f83..1ca1f951200