Re: [Mesa-dev] [PATCH] spirv: convert the shift operand for bitwise shift ops to uint32

2018-04-26 Thread Samuel Iglesias Gonsálvez
Please ignore this patch, I'm about to send a patch series that includes this patch and another one for bitfield ops. Sam On 25/04/18 14:07, Samuel Iglesias Gonsálvez wrote: > SPIR-V allows to define the shift operand for shift opcodes with > a bit-size different than 32 bits, but in NIR the

[Mesa-dev] [PATCH] spirv: convert the shift operand for bitwise shift ops to uint32

2018-04-25 Thread Samuel Iglesias Gonsálvez
SPIR-V allows to define the shift operand for shift opcodes with a bit-size different than 32 bits, but in NIR the opcodes have that limitation. As agreed in the mailing list, this patch adds a conversion to 32 bits to fix this. For more info, see: