Built-ins: fix mapping of packDouble2x32 and unpackDouble2x32.
authorJohn Kessenich <cepheus@frii.com>
Mon, 7 Dec 2015 02:33:07 +0000 (19:33 -0700)
committerJohn Kessenich <cepheus@frii.com>
Mon, 7 Dec 2015 02:33:07 +0000 (19:33 -0700)
Test/baseResults/400.frag.out
glslang/Include/revision.h
glslang/MachineIndependent/Initialize.cpp

index b620b14..a7c9ba4 100644 (file)
@@ -308,11 +308,11 @@ ERROR: node is still EOpNull!
 0:95          'u1' (temp uint)\r
 0:99      move second child to first child (temp double)\r
 0:99        'd' (temp double)\r
-0:99        PackUnorm4x8 (global double)\r
+0:99        PackDouble2x32 (global double)\r
 0:99          'u2' (temp 2-component vector of uint)\r
 0:100      move second child to first child (temp 2-component vector of uint)\r
 0:100        'u2' (temp 2-component vector of uint)\r
-0:100        UnpackUnorm4x8 (global 2-component vector of uint)\r
+0:100        UnpackDouble2x32 (global 2-component vector of uint)\r
 0:100          'd' (temp double)\r
 0:117  Function Definition: interp( (global void)\r
 0:117    Function Parameters: \r
@@ -797,11 +797,11 @@ ERROR: node is still EOpNull!
 0:95          'u1' (temp uint)\r
 0:99      move second child to first child (temp double)\r
 0:99        'd' (temp double)\r
-0:99        PackUnorm4x8 (global double)\r
+0:99        PackDouble2x32 (global double)\r
 0:99          'u2' (temp 2-component vector of uint)\r
 0:100      move second child to first child (temp 2-component vector of uint)\r
 0:100        'u2' (temp 2-component vector of uint)\r
-0:100        UnpackUnorm4x8 (global 2-component vector of uint)\r
+0:100        UnpackDouble2x32 (global 2-component vector of uint)\r
 0:100          'd' (temp double)\r
 0:117  Function Definition: interp( (global void)\r
 0:117    Function Parameters: \r
index 3d84f80..4c5b5cb 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 "SPIRV99.823"
+#define GLSLANG_REVISION "SPIRV99.824"
 #define GLSLANG_DATE "06-Dec-2015"
index c7f05b5..d05a673 100644 (file)
@@ -3279,8 +3279,8 @@ void IdentifyBuiltIns(int version, EProfile profile, int spv, EShLanguage langua
     symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
     symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
 
-    symbolTable.relateToOperator("packDouble2x32",    EOpPackUnorm4x8);
-    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackUnorm4x8);
+    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
+    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
 
     symbolTable.relateToOperator("packHalf2x16",    EOpPackHalf2x16);
     symbolTable.relateToOperator("unpackHalf2x16",  EOpUnpackHalf2x16);