1. 19 Dec, 2014 1 commit
  2. 13 Dec, 2014 1 commit
    • Dylan Baker's avatar
      generated_tests: Except error for os.makedirs · b59ff71e
      Dylan Baker authored
      Currently we check for the existence of a directory, and if it doesn't
      exist we create it. This would be fine, except that multiple generators
      can create the same directory trees. When os.makedirs tries to create a
      tree that already exists it raises and OSError exception, with the errno
      set to 17 (the File Exists Error). Since between the time that a check
      is made and the time the os.makedirs completes a second generator can
      create the directory tree we can have exceptions raised sporadically,
      especially as the number of threads being used to generate goes up.
      
      We maintain the check for existence before trying to create the
      directories because os.makedirs is slow, so not even trying is better
      than trying in vain.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
      b59ff71e
  3. 24 Nov, 2014 8 commits
  4. 01 Jul, 2014 1 commit
  5. 22 May, 2014 1 commit
  6. 12 Oct, 2013 1 commit
  7. 16 Aug, 2013 2 commits
    • Matt Turner's avatar
      arb_shader_bit_encoding: Test inputs modified by abs/neg/neg-abs. · d0b6c695
      Matt Turner authored
      floatBitsToInt(abs(x)) is not equivalent to abs(floatBitsToInt(x)).
      
      v2: Fix generation of 'expected' uniform data.
      d0b6c695
    • Matt Turner's avatar
      arb_shader_bit_encoding: Add test generator. · f7eabdf8
      Matt Turner authored
      Generates fragment and vertex shader execution tests for the built-in
      functions floatBitsToInt(), floatBitsToUint(), intBitsToFloat(), and
      uintBitsToFloat().
      
      Functions are tested under
      	GLSL 1.30 + ARB_shader_bit_encoding (uses uint, must be 1.30)
      	GLSL 1.50 + ARB_gpu_shader5 (requires 1.50)
      	GLSL 4.00
      
      Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> [v1]
      
      v2: Do not test subnormal values, since some hardware flushes them to
          zero. Fix value of smallest normalized value.
      f7eabdf8