Fix result for OpTypeNamedBarrier, OpTypePipeStorage
authorDavid Neto <dneto@google.com>
Fri, 15 Apr 2016 02:34:40 +0000 (22:34 -0400)
committerDavid Neto <dneto@google.com>
Fri, 15 Apr 2016 02:34:40 +0000 (22:34 -0400)
They don't have type for their result, since they are
type generating instructions.

include/spirv/1.1/spirv.core.grammar.json

index 127fea4..123ed5e 100644 (file)
       "opname" : "OpTypePipeStorage",
       "opcode" : 322,
       "operands" : [
-        { "kind" : "IdResultType" },
         { "kind" : "IdResult" }
       ],
       "capabilities" : [ "PipeStorage" ]
       "opname" : "OpTypeNamedBarrier",
       "opcode" : 327,
       "operands" : [
-        { "kind" : "IdResultType" },
         { "kind" : "IdResult" }
       ],
       "capabilities" : [ "NamedBarrier" ]