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 chad.vers...@linux.intel.com 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

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 chad.vers...@linux.intel.com wrote: +# +# Inputs for GLSL functions +#

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 chad.vers...@linux.intel.com 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

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 chad.vers...@linux.intel.com 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,