[Mesa-dev] [PATCH 1/4] glsl: Implement [iu]mulExtended() built-ins for ARB_gpu_shader5.

2013-09-26 Thread Matt Turner
These built-ins have two out parameters, which makes implementing them efficiently with our current compiler infrastructure difficult. Instead, implement them in terms of the existing ir_binop_mul IR (to return the low 32-bits) and a new ir_binop_mul64 which returns the high 32-bits. v2: Rename

Re: [Mesa-dev] [PATCH 1/4] glsl: Implement [iu]mulExtended() built-ins for ARB_gpu_shader5.

2013-09-26 Thread Matt Turner
On Thu, Sep 26, 2013 at 3:00 PM, Matt Turner matts...@gmail.com wrote: These built-ins have two out parameters, which makes implementing them efficiently with our current compiler infrastructure difficult. Instead, implement them in terms of the existing ir_binop_mul IR (to return the low