Re: [Mesa-dev] [PATCH] r600g: Add a Cayman specific version of UMAD

2013-03-31 Thread Martin Andersson
On Sun, Mar 31, 2013 at 1:08 AM, Vadim Girlin vadimgir...@gmail.com wrote: On 03/30/2013 05:35 AM, Martin Andersson wrote: I found an issue with the shader compiler for Cayman when I looked into why the ext_transform_feedback/order test case caused a GPU stall. It turned out the stall was an

Re: [Mesa-dev] [PATCH] r600g: Add a Cayman specific version of UMAD

2013-03-31 Thread Vadim Girlin
On 03/31/2013 01:01 PM, Martin Andersson wrote: On Sun, Mar 31, 2013 at 1:08 AM, Vadim Girlin vadimgir...@gmail.com wrote: On 03/30/2013 05:35 AM, Martin Andersson wrote: I found an issue with the shader compiler for Cayman when I looked into why the ext_transform_feedback/order test case

Re: [Mesa-dev] [PATCH] r600g: Add a Cayman specific version of UMAD

2013-03-30 Thread Vadim Girlin
On 03/30/2013 05:35 AM, Martin Andersson wrote: I found an issue with the shader compiler for Cayman when I looked into why the ext_transform_feedback/order test case caused a GPU stall. It turned out the stall was an infinite loop that was the result of broken calculation in the shader

[Mesa-dev] [PATCH] r600g: Add a Cayman specific version of UMAD

2013-03-29 Thread Martin Andersson
I found an issue with the shader compiler for Cayman when I looked into why the ext_transform_feedback/order test case caused a GPU stall. It turned out the stall was an infinite loop that was the result of broken calculation in the shader function. The issue is that Cayman uses the tgsi_umad

[Mesa-dev] [PATCH] r600g: Add a Cayman specific version of UMAD

2013-03-29 Thread Martin Andersson
The tgsi_umad function does not work for Cayman since it does not populate the y, z and w slots for UMUL that Cayman requires. --- src/gallium/drivers/r600/r600_shader.c | 47 +- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git