Fix arguments to OpConstantPipeStorage
authorDavid Neto <dneto@google.com>
Sat, 16 Apr 2016 01:02:45 +0000 (21:02 -0400)
committerDavid Neto <dneto@google.com>
Sat, 16 Apr 2016 01:02:45 +0000 (21:02 -0400)
include/spirv/1.1/spirv.core.grammar.json

index 123ed5e..eb55ccb 100644 (file)
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef",          "name" : "'Packet Type'" },
-        { "kind" : "IdRef",          "name" : "'Packet Size'" },
-        { "kind" : "IdRef",          "name" : "'Packet Alignment'" },
+        { "kind" : "LiteralInteger", "name" : "'Packet Size'" },
+        { "kind" : "LiteralInteger", "name" : "'Packet Alignment'" },
         { "kind" : "LiteralInteger", "name" : "'Capacity'" }
       ],
       "capabilities" : [ "PipeStorage" ]