Re: [Piglit] [PATCH] glsl-es-3.00: Generate tests for builtin packing functions (v2)

2013-01-23 Thread Chad Versace
On 01/23/2013 08:52 AM, Paul Berry wrote: > On 21 January 2013 15:24, Chad Versace wrote: > >> +def make_inputs_for_pack_half_2x16(): >> +# The domain of packHalf2x16 is ([-inf, +inf] + {NaN})^2. The function >> +# does not clamp its input. >> +# >> +# We test both -0.0 and +0.0 i

Re: [Piglit] [PATCH] glsl-es-3.00: Generate tests for builtin packing functions (v2)

2013-01-23 Thread Chad Versace
On 01/22/2013 07:55 PM, Matt Turner wrote: > On Mon, Jan 21, 2013 at 3:24 PM, Chad Versace > wrote: >> +# >> >> +# Inputs for GLSL functions >> +# >> -

Re: [Piglit] [PATCH] glsl-es-3.00: Generate tests for builtin packing functions (v2)

2013-01-23 Thread Paul Berry
On 21 January 2013 15:24, Chad Versace wrote: > +def make_inputs_for_pack_half_2x16(): > +# The domain of packHalf2x16 is ([-inf, +inf] + {NaN})^2. The function > +# does not clamp its input. > +# > +# We test both -0.0 and +0.0 in order to stress the implementation's > +# han

Re: [Piglit] [PATCH] glsl-es-3.00: Generate tests for builtin packing functions (v2)

2013-01-22 Thread Matt Turner
On Mon, Jan 21, 2013 at 3:24 PM, Chad Versace wrote: > +# > > +# Inputs for GLSL functions > +# > > + > +# This table maps GLSL pack/unpack fu

Re: [Piglit] [PATCH] glsl-es-3.00: Generate tests for builtin packing functions (v2)

2013-01-22 Thread Chad Versace
On 01/22/2013 10:24 AM, Paul Berry wrote: > On 21 January 2013 15:24, Chad Versace wrote: > >> Generate the following test files: >> {const,vs,fs}-{pack,unpack}{Snorm,Unorm,Half}2x16.shader_test >> >> The tests are generated by a new Python script, >> gen_builtin_packing_tests.py, and placed in

Re: [Piglit] [PATCH] glsl-es-3.00: Generate tests for builtin packing functions (v2)

2013-01-22 Thread Paul Berry
On 21 January 2013 15:24, Chad Versace wrote: > Generate the following test files: > {const,vs,fs}-{pack,unpack}{Snorm,Unorm,Half}2x16.shader_test > > The tests are generated by a new Python script, > gen_builtin_packing_tests.py, and placed into directory > spec/glsl-es-3.00/execution/built-in

[Piglit] [PATCH] glsl-es-3.00: Generate tests for builtin packing functions (v2)

2013-01-21 Thread Chad Versace
Generate the following test files: {const,vs,fs}-{pack,unpack}{Snorm,Unorm,Half}2x16.shader_test The tests are generated by a new Python script, gen_builtin_packing_tests.py, and placed into directory spec/glsl-es-3.00/execution/built-in-functions. v2: Add reduced_input_table. This allows us to