Move overflow_underflow_toinf_0 from runtests to gtest
gtest is the preferred framework for simple tests that don't require passing special command-line options to glslang.
This commit is contained in:
parent
3f615ad93e
commit
a187f47e2c
3 changed files with 32 additions and 2 deletions
|
|
@ -26,3 +26,34 @@ Shader version: 320
|
||||||
0:? Linker Objects
|
0:? Linker Objects
|
||||||
0:? 'my_FragColor' ( out highp 4-component vector of float)
|
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)
|
||||||
|
|
||||||
|
|
@ -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
|
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
|
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
|
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
|
# Final checking
|
||||||
|
|
|
||||||
|
|
@ -301,6 +301,7 @@ INSTANTIATE_TEST_SUITE_P(
|
||||||
"coord_conventions.frag",
|
"coord_conventions.frag",
|
||||||
"gl_FragCoord.frag",
|
"gl_FragCoord.frag",
|
||||||
"glsl.interpOp.error.frag",
|
"glsl.interpOp.error.frag",
|
||||||
|
"overflow_underflow_toinf_0.frag",
|
||||||
})),
|
})),
|
||||||
FileNameAsCustomTestSuffix
|
FileNameAsCustomTestSuffix
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue