Built-ins: fix mapping of packDouble2x32 and unpackDouble2x32.

This commit is contained in:
John Kessenich 2015-12-06 19:33:07 -07:00
parent 2359bd0a1d
commit 8c1c2ca0d7
3 changed files with 7 additions and 7 deletions

View File

@ -308,11 +308,11 @@ ERROR: node is still EOpNull!
0:95 'u1' (temp uint)
0:99 move second child to first child (temp double)
0:99 'd' (temp double)
0:99 PackUnorm4x8 (global double)
0:99 PackDouble2x32 (global double)
0:99 'u2' (temp 2-component vector of uint)
0:100 move second child to first child (temp 2-component vector of uint)
0:100 'u2' (temp 2-component vector of uint)
0:100 UnpackUnorm4x8 (global 2-component vector of uint)
0:100 UnpackDouble2x32 (global 2-component vector of uint)
0:100 'd' (temp double)
0:117 Function Definition: interp( (global void)
0:117 Function Parameters:
@ -797,11 +797,11 @@ ERROR: node is still EOpNull!
0:95 'u1' (temp uint)
0:99 move second child to first child (temp double)
0:99 'd' (temp double)
0:99 PackUnorm4x8 (global double)
0:99 PackDouble2x32 (global double)
0:99 'u2' (temp 2-component vector of uint)
0:100 move second child to first child (temp 2-component vector of uint)
0:100 'u2' (temp 2-component vector of uint)
0:100 UnpackUnorm4x8 (global 2-component vector of uint)
0:100 UnpackDouble2x32 (global 2-component vector of uint)
0:100 'd' (temp double)
0:117 Function Definition: interp( (global void)
0:117 Function Parameters:

View 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"

View 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);