Re: [Mesa-dev] [PATCH 9/9] glsl: Add tests for minmax prune

2014-08-18 Thread Petri Latvala
On 08/13/2014 01:59 AM, Dylan Baker wrote: On Tuesday, July 29, 2014 12:36:39 PM Petri Latvala wrote: tests/minmax/create_test_cases.py generates the following tests: multiple_min*.opt_test: Construct a tree of min expressions for all permutations of a var_ref and three constants. They shou

Re: [Mesa-dev] [PATCH 9/9] glsl: Add tests for minmax prune

2014-08-13 Thread Dylan Baker
On Tuesday, July 29, 2014 12:36:39 PM Petri Latvala wrote: > tests/minmax/create_test_cases.py generates the following tests: > > multiple_min*.opt_test: > Construct a tree of min expressions for all permutations of a var_ref > and three constants. They should all optimize to a single min with >

[Mesa-dev] [PATCH 9/9] glsl: Add tests for minmax prune

2014-07-29 Thread Petri Latvala
tests/minmax/create_test_cases.py generates the following tests: multiple_min*.opt_test: Construct a tree of min expressions for all permutations of a var_ref and three constants. They should all optimize to a single min with the variable and the smallest constant. multiple_max*.opt_test: Same