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

2013-09-26 Thread Kenneth Graunke
On 09/25/2013 11:09 PM, Matt Turner 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 32-bits) and a new ir_binop

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

2013-09-25 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. --- Depends