Re: [Piglit] RFC [PATCH] shader: Test to check conditional component access in loops

2017-08-03 Thread Timothy Arceri
On 04/08/17 00:15, Gert Wollny wrote: Hi Brian, thanks for the comments. +u.z = 0.0; +} while (a <= n); Does the body of the loop need to be that complicated? The test must achieve two things: On one hand, at least one component of a temporary register must be written

Re: [Piglit] RFC [PATCH] shader: Test to check conditional component access in loops

2017-08-03 Thread Gert Wollny
Hi Brian, thanks for the comments. > > > +u.z = 0.0; > > +} while (a <= n); > > Does the body of the loop need to be that complicated? The test must achieve two things: On one hand, at least one component of a temporary register must be written first at the beginning of the

[Piglit] RFC [PATCH] shader: Test to check conditional component access in loops

2017-08-03 Thread Gert Wollny
Hello all, this is my first message to the list. About the patch below: Commit message: "This test verifies whether the optimizer, and here specifically the register merge step keeps the according register for the whole loop alife." I created the test proposing a new register merge algorithm.