Re: [Mesa-dev] [PATCH 1/2] spirv: fix the translation of SPIR-V conversion opcodes to NIR

2018-03-14 Thread Jason Ekstrand
Rb On March 14, 2018 03:42:01 Samuel Iglesias Gonsálvez wrote: There are some SPIRV opcodes (like UConvert and SConvert) have some expectations of the output that doesn't depend on the operands data type. Generalize the solution of all of them. Signed-off-by: Samuel Iglesias Gonsálvez ---

[Mesa-dev] [PATCH 1/2] spirv: fix the translation of SPIR-V conversion opcodes to NIR

2018-03-14 Thread Samuel Iglesias Gonsálvez
There are some SPIRV opcodes (like UConvert and SConvert) have some expectations of the output that doesn't depend on the operands data type. Generalize the solution of all of them. Signed-off-by: Samuel Iglesias Gonsálvez --- src/compiler/spirv/vtn_alu.c | 40 +++