From 258b700f5957fc13b0512b3734a1b0e81a1c271d Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Fri, 27 Oct 2017 04:15:57 -0600 Subject: [PATCH] Non-determinant tests: Remove recent tests, to see if things stabelize. Both debug and release clang builds have segfaulted on recent changes, non deterministically, while doing the single/multi-thread test all test files. Removing recent test files, to see if it gives a clue. --- Test/baseResults/constFoldIntMin.frag.out | 51 ------------------- .../cppIntMinOverNegativeOne.frag.out | 14 ----- .../implicitInnerAtomicUint.frag.out | 21 -------- Test/constFoldIntMin.frag | 12 ----- Test/cppIntMinOverNegativeOne.frag | 6 --- Test/implicitInnerAtomicUint.frag | 2 - gtests/AST.FromFile.cpp | 6 +-- 7 files changed, 3 insertions(+), 109 deletions(-) delete mode 100644 Test/baseResults/constFoldIntMin.frag.out delete mode 100644 Test/baseResults/cppIntMinOverNegativeOne.frag.out delete mode 100644 Test/baseResults/implicitInnerAtomicUint.frag.out delete mode 100644 Test/constFoldIntMin.frag delete mode 100644 Test/cppIntMinOverNegativeOne.frag delete mode 100644 Test/implicitInnerAtomicUint.frag diff --git a/Test/baseResults/constFoldIntMin.frag.out b/Test/baseResults/constFoldIntMin.frag.out deleted file mode 100644 index da5bc26b8..000000000 --- a/Test/baseResults/constFoldIntMin.frag.out +++ /dev/null @@ -1,51 +0,0 @@ -constFoldIntMin.frag -Shader version: 460 -Requested GL_AMD_gpu_shader_int16 -Requested GL_ARB_gpu_shader_int64 -0:? Sequence -0:5 Function Definition: a( ( global void) -0:5 Function Parameters: -0:6 Sequence -0:6 Sequence -0:6 move second child to first child ( temp int16_t) -0:6 'u' ( temp int16_t) -0:6 Constant: -0:6 32768 (const int) -0:7 Sequence -0:7 move second child to first child ( temp int) -0:7 'v' ( temp int) -0:7 Constant: -0:7 -2147483648 (const int) -0:8 Sequence -0:8 move second child to first child ( temp int64_t) -0:8 'w' ( temp int64_t) -0:8 Constant: -0:8 -9223372036854775808 (const int64_t) -0:9 Sequence -0:9 move second child to first child ( temp int16_t) -0:9 'x' ( temp int16_t) -0:9 Constant: -0:9 0 (const int) -0:10 Sequence -0:10 move second child to first child ( temp int) -0:10 'y' ( temp int) -0:10 Constant: -0:10 0 (const int) -0:11 Sequence -0:11 move second child to first child ( temp int64_t) -0:11 'z' ( temp int64_t) -0:11 Constant: -0:11 0 (const int64_t) -0:? Linker Objects - - -Linked fragment stage: - -ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point - -Shader version: 460 -Requested GL_AMD_gpu_shader_int16 -Requested GL_ARB_gpu_shader_int64 -0:? Sequence -0:? Linker Objects - diff --git a/Test/baseResults/cppIntMinOverNegativeOne.frag.out b/Test/baseResults/cppIntMinOverNegativeOne.frag.out deleted file mode 100644 index 5dce7c3eb..000000000 --- a/Test/baseResults/cppIntMinOverNegativeOne.frag.out +++ /dev/null @@ -1,14 +0,0 @@ -cppIntMinOverNegativeOne.frag -Shader version: 100 -0:? Sequence -0:? Linker Objects - - -Linked fragment stage: - -ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point - -Shader version: 100 -0:? Sequence -0:? Linker Objects - diff --git a/Test/baseResults/implicitInnerAtomicUint.frag.out b/Test/baseResults/implicitInnerAtomicUint.frag.out deleted file mode 100644 index 6f68980c4..000000000 --- a/Test/baseResults/implicitInnerAtomicUint.frag.out +++ /dev/null @@ -1,21 +0,0 @@ -implicitInnerAtomicUint.frag -ERROR: 0:2: '[]' : only outermost dimension of an array of arrays can be implicitly sized -ERROR: 0:2: 'atomic_uint' : array must be explicitly sized -ERROR: 2 compilation errors. No code generated. - - -Shader version: 460 -ERROR: node is still EOpNull! -0:? Linker Objects -0:? 'c' (layout( binding=0 offset=0) uniform 1-element array of implicitly-sized array of atomic_uint) - - -Linked fragment stage: - -ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point - -Shader version: 460 -ERROR: node is still EOpNull! -0:? Linker Objects -0:? 'c' (layout( binding=0 offset=0) uniform 1-element array of implicitly-sized array of atomic_uint) - diff --git a/Test/constFoldIntMin.frag b/Test/constFoldIntMin.frag deleted file mode 100644 index 68618326c..000000000 --- a/Test/constFoldIntMin.frag +++ /dev/null @@ -1,12 +0,0 @@ -#version 460 core -#extension GL_AMD_gpu_shader_int16 : enable -#extension GL_ARB_gpu_shader_int64 : enable - -void a(){ - int16_t u = -32768S / -1S; // SHRT_MIN - int v = -2147483648 / -1; // INT_MIN - int64_t w = -9223372036854775808L / -1L; // LLONG_MIN - int16_t x = -32768S % -1S; // SHRT_MIN - int y = -2147483648 % -1; // INT_MIN - int64_t z = -9223372036854775808L % -1L; // LLONG_MIN -} \ No newline at end of file diff --git a/Test/cppIntMinOverNegativeOne.frag b/Test/cppIntMinOverNegativeOne.frag deleted file mode 100644 index b7e0a9536..000000000 --- a/Test/cppIntMinOverNegativeOne.frag +++ /dev/null @@ -1,6 +0,0 @@ -#if (-2147483648 / -1) != 0 -#error INT_MIN / -1 should yield 0, something went wrong. -#endif -#if (-2147483648 % -1) != 0 -#error INT_MIN % -1 should yield 0, something went wrong. -#endif \ No newline at end of file diff --git a/Test/implicitInnerAtomicUint.frag b/Test/implicitInnerAtomicUint.frag deleted file mode 100644 index bb76516fd..000000000 --- a/Test/implicitInnerAtomicUint.frag +++ /dev/null @@ -1,2 +0,0 @@ -#version 460 -layout(binding = 0) uniform atomic_uint c[1][]; \ No newline at end of file diff --git a/gtests/AST.FromFile.cpp b/gtests/AST.FromFile.cpp index 7d77825e0..f09ebe3aa 100644 --- a/gtests/AST.FromFile.cpp +++ b/gtests/AST.FromFile.cpp @@ -78,7 +78,7 @@ INSTANTIATE_TEST_CASE_P( "matrixError.vert", "cppSimple.vert", "cppIndent.vert", - "cppIntMinOverNegativeOne.frag", +// "cppIntMinOverNegativeOne.frag", "cppNest.vert", "cppBad.vert", "cppBad2.vert", @@ -115,7 +115,7 @@ INSTANTIATE_TEST_CASE_P( "330comp.frag", "constErrors.frag", "constFold.frag", - "constFoldIntMin.frag", +// "constFoldIntMin.frag", "errors.frag", "forwardRef.frag", "uint.frag", @@ -160,7 +160,7 @@ INSTANTIATE_TEST_CASE_P( "460.vert", "dce.frag", "atomic_uint.frag", - "implicitInnerAtomicUint.frag", +// "implicitInnerAtomicUint.frag", "aggOps.frag", "always-discard.frag", "always-discard2.frag",