diff --git a/Test/baseResults/overflow_underflow_toinf_0.out b/Test/baseResults/overflow_underflow_toinf_0.frag.out similarity index 50% rename from Test/baseResults/overflow_underflow_toinf_0.out rename to Test/baseResults/overflow_underflow_toinf_0.frag.out index 3e017b8c..c2551f8a 100644 --- a/Test/baseResults/overflow_underflow_toinf_0.out +++ b/Test/baseResults/overflow_underflow_toinf_0.frag.out @@ -26,3 +26,34 @@ Shader version: 320 0:? Linker Objects 0:? 'my_FragColor' ( out highp 4-component vector of float) + +Linked fragment stage: + + +Shader version: 320 +0:? Sequence +0:4 Function Definition: main( ( global void) +0:4 Function Parameters: +0:9 Sequence +0:9 Sequence +0:9 move second child to first child ( temp highp float) +0:9 'correct' ( temp highp float) +0:9 Constant: +0:9 1.000000 +0:10 Sequence +0:10 move second child to first child ( temp highp float) +0:10 'correct1' ( temp highp float) +0:10 Constant: +0:10 1.000000 +0:11 move second child to first child ( temp highp 4-component vector of float) +0:11 'my_FragColor' ( out highp 4-component vector of float) +0:11 Construct vec4 ( temp highp 4-component vector of float) +0:11 Constant: +0:11 0.000000 +0:11 'correct' ( temp highp float) +0:11 'correct1' ( temp highp float) +0:11 Constant: +0:11 1.000000 +0:? Linker Objects +0:? 'my_FragColor' ( out highp 4-component vector of float) + diff --git a/Test/runtests b/Test/runtests index 197f7fcd..e7e1d33f 100755 --- a/Test/runtests +++ b/Test/runtests @@ -343,8 +343,6 @@ run --enhanced-msgs -V --target-env vulkan1.2 --amb --aml enhanced.7.vert enhanc diff -b $BASEDIR/enhanced.7.link.out $TARGETDIR/enhanced.7.link.out || HASERROR=1 run --enhanced-msgs -V --target-env vulkan1.2 --amb --aml spv.textureError.frag > $TARGETDIR/spv.textureError.frag.out diff -b $BASEDIR/spv.textureError.frag.out $TARGETDIR/spv.textureError.frag.out || HASERROR=1 -run -i overflow_underflow_toinf_0.frag > $TARGETDIR/overflow_underflow_toinf_0.out -diff -b $BASEDIR/overflow_underflow_toinf_0.out $TARGETDIR/overflow_underflow_toinf_0.out || HASERROR=1 # # Final checking diff --git a/gtests/AST.FromFile.cpp b/gtests/AST.FromFile.cpp index cf56dae5..3a7ce2b7 100644 --- a/gtests/AST.FromFile.cpp +++ b/gtests/AST.FromFile.cpp @@ -301,6 +301,7 @@ INSTANTIATE_TEST_SUITE_P( "coord_conventions.frag", "gl_FragCoord.frag", "glsl.interpOp.error.frag", + "overflow_underflow_toinf_0.frag", })), FileNameAsCustomTestSuffix );