[Piglit] [PATCH v2] spec/glsl-1.30/execution/fs-large-local-array-vec*: use all components in test

2018-07-06 Thread Gert Wollny
From: Gert Wollny The tests use large arrays that need likely to be spilled. In order to check correct spilling of all components actually use all components in the test. v2: - use uniforms to pass the test values to make it more likely that the writing to the array elements is done

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

2017-08-04 Thread Gert Wollny
This test verifies that the register merge step keeps a register alive for the whole loop if at the beginning of this loop at least one component is written unconditionally, and later another component is written conditionally within the same loop, and the last read to the register also happens

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.