Turn on the gpu_shader5 of the AEP .tesc test.
authorJohn Kessenich <cepheus@frii.com>
Tue, 18 Aug 2015 07:35:08 +0000 (01:35 -0600)
committerJohn Kessenich <cepheus@frii.com>
Wed, 19 Aug 2015 04:27:22 +0000 (22:27 -0600)
Test/310.tesc
Test/baseResults/310.tesc.out
glslang/Include/revision.h

index 4f37f88..8220021 100644 (file)
@@ -115,18 +115,18 @@ void pointSize2()
     gl_out[1].gl_PointSize = ps;\r
 }\r
 \r
-// for testing with gpu_shader5\r
-//precise vec3 pv3;\r
-//\r
-//void foop()\r
-//{\r
-//    precise double d;\r
-//\r
-//    pv3 *= pv3;\r
-//    pv3 = fma(pv3, pv3, pv3);\r
-//    d = fma(d, d, d);\r
-//}\r
-//\r
+#extension GL_OES_gpu_shader5 : enable\r
+\r
+precise vec3 pv3;\r
+\r
+void goodfoop()\r
+{\r
+    precise float d;\r
+\r
+    pv3 *= pv3;\r
+    pv3 = fma(pv3, pv3, pv3);\r
+    d = fma(d, d, d);\r
+}\r
 \r
 void bbBad()\r
 {\r
index 9b23825..42afc61 100644 (file)
@@ -46,6 +46,7 @@ ERROR: 33 compilation errors.  No code generated.
 \r
 Shader version: 310\r
 Requested GL_ARB_separate_shader_objects\r
+Requested GL_OES_gpu_shader5\r
 Requested GL_OES_primitive_bounding_box\r
 Requested GL_OES_shader_io_blocks\r
 Requested GL_OES_tessellation_point_size\r
@@ -221,6 +222,24 @@ ERROR: node is still EOpNull!
 0:115          Constant:\r
 0:115            1 (const int)\r
 0:115        'ps' (temp highp float)\r
+0:122  Function Definition: goodfoop( (global void)\r
+0:122    Function Parameters: \r
+0:?     Sequence\r
+0:126      multiply second child into first child (temp highp 3-component vector of float)\r
+0:126        'pv3' (temp highp 3-component vector of float)\r
+0:126        'pv3' (temp highp 3-component vector of float)\r
+0:127      move second child to first child (temp highp 3-component vector of float)\r
+0:127        'pv3' (temp highp 3-component vector of float)\r
+0:127        Function Call: fma(vf3;vf3;vf3; (global highp 3-component vector of float)\r
+0:127          'pv3' (temp highp 3-component vector of float)\r
+0:127          'pv3' (temp highp 3-component vector of float)\r
+0:127          'pv3' (temp highp 3-component vector of float)\r
+0:128      move second child to first child (temp highp float)\r
+0:128        'd' (temp highp float)\r
+0:128        Function Call: fma(f1;f1;f1; (global highp float)\r
+0:128          'd' (temp highp float)\r
+0:128          'd' (temp highp float)\r
+0:128          'd' (temp highp float)\r
 0:131  Function Definition: bbBad( (global void)\r
 0:131    Function Parameters: \r
 0:133    Sequence\r
@@ -281,6 +300,7 @@ ERROR: node is still EOpNull!
 0:?     'badlay' (out 4-element array of highp float)\r
 0:?     'misSized' (out 5-element array of highp float)\r
 0:?     'okaySize' (out 4-element array of highp float)\r
+0:?     'pv3' (temp highp 3-component vector of float)\r
 \r
 \r
 Linked tessellation control stage:\r
@@ -288,6 +308,7 @@ Linked tessellation control stage:
 \r
 Shader version: 310\r
 Requested GL_ARB_separate_shader_objects\r
+Requested GL_OES_gpu_shader5\r
 Requested GL_OES_primitive_bounding_box\r
 Requested GL_OES_shader_io_blocks\r
 Requested GL_OES_tessellation_point_size\r
@@ -463,6 +484,24 @@ ERROR: node is still EOpNull!
 0:115          Constant:\r
 0:115            1 (const int)\r
 0:115        'ps' (temp highp float)\r
+0:122  Function Definition: goodfoop( (global void)\r
+0:122    Function Parameters: \r
+0:?     Sequence\r
+0:126      multiply second child into first child (temp highp 3-component vector of float)\r
+0:126        'pv3' (temp highp 3-component vector of float)\r
+0:126        'pv3' (temp highp 3-component vector of float)\r
+0:127      move second child to first child (temp highp 3-component vector of float)\r
+0:127        'pv3' (temp highp 3-component vector of float)\r
+0:127        Function Call: fma(vf3;vf3;vf3; (global highp 3-component vector of float)\r
+0:127          'pv3' (temp highp 3-component vector of float)\r
+0:127          'pv3' (temp highp 3-component vector of float)\r
+0:127          'pv3' (temp highp 3-component vector of float)\r
+0:128      move second child to first child (temp highp float)\r
+0:128        'd' (temp highp float)\r
+0:128        Function Call: fma(f1;f1;f1; (global highp float)\r
+0:128          'd' (temp highp float)\r
+0:128          'd' (temp highp float)\r
+0:128          'd' (temp highp float)\r
 0:131  Function Definition: bbBad( (global void)\r
 0:131    Function Parameters: \r
 0:133    Sequence\r
@@ -523,4 +562,5 @@ ERROR: node is still EOpNull!
 0:?     'badlay' (out 4-element array of highp float)\r
 0:?     'misSized' (out 5-element array of highp float)\r
 0:?     'okaySize' (out 4-element array of highp float)\r
+0:?     'pv3' (temp highp 3-component vector of float)\r
 \r
index 13626c9..05af79b 100644 (file)
@@ -2,5 +2,5 @@
 // For the version, it uses the latest git tag followed by the number of commits.
 // For the date, it uses the current date (when then script is run).
 
-#define GLSLANG_REVISION "2.3.720"
-#define GLSLANG_DATE "16-Aug-2015"
+#define GLSLANG_REVISION "2.3.721"
+#define GLSLANG_DATE "18-Aug-2015"