tgsi: provide a way to encode memory qualifiers for SSBO
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_parse.c
index 9a52bbbf5cbb639e3e90632183df6df6bcc2b139..ae95ebd82a4fec44ee98bb3b23c8622d663cfe9b 100644 (file)
@@ -195,6 +195,10 @@ tgsi_parse_token(
          }
       }
 
+      if (inst->Instruction.Memory) {
+         next_token(ctx, &inst->Memory);
+      }
+
       assert( inst->Instruction.NumDstRegs <= TGSI_FULL_MAX_DST_REGISTERS );
 
       for (i = 0; i < inst->Instruction.NumDstRegs; i++) {