From ca65b9185629529454a56fd8a9498d1a90af73c9 Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Thu, 22 Aug 2024 14:59:47 -0700 Subject: [PATCH] add optional memory operands operand --- include/spirv/unified1/spirv.core.grammar.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index d7e64ce09..3c236057d 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -9926,7 +9926,8 @@ "opcode" : 6221, "operands" : [ { "kind" : "IdRef", "name" : "'Ptr'" }, - { "kind" : "IdRef", "name" : "'NumBytes'" } + { "kind" : "IdRef", "name" : "'NumBytes'" }, + { "kind" : "MemoryAccess", "quantifier" : "?" } ], "capabilities" : [ "SubgroupBufferPrefetchINTEL" ], "version" : "None"