From 948a3b0997e2dffea5484b3df7bd5590c5b844cc Mon Sep 17 00:00:00 2001
From: Ben Ashbaugh <ben.ashbaugh@intel.com>
Date: Wed, 29 Apr 2026 08:10:46 -0700
Subject: [PATCH 02/26] header updates for SPV_INTEL_rounded_divide_sqrt (#582)

---
 include/spirv/unified1/spirv.bf                | 1 +
 include/spirv/unified1/spirv.core.grammar.json | 6 ++++++
 include/spirv/unified1/spirv.cs                | 1 +
 include/spirv/unified1/spirv.h                 | 2 ++
 include/spirv/unified1/spirv.hpp               | 2 ++
 include/spirv/unified1/spirv.hpp11             | 2 ++
 include/spirv/unified1/spirv.json              | 1 +
 include/spirv/unified1/spirv.lua               | 1 +
 include/spirv/unified1/spirv.py                | 1 +
 include/spirv/unified1/spv.d                   | 1 +
 10 files changed, 18 insertions(+)

diff --git a/include/spirv/unified1/spirv.bf b/include/spirv/unified1/spirv.bf
index 0fd8703..3d24085 100644
--- a/include/spirv/unified1/spirv.bf
+++ b/include/spirv/unified1/spirv.bf
@@ -1427,6 +1427,7 @@ namespace Spv
             SpecConditionalINTEL = 6245,
             FunctionVariantsINTEL = 6246,
             PredicatedIOINTEL = 6257,
+            RoundedDivideSqrtINTEL = 6265,
             GroupUniformArithmeticKHR = 6400,
             TensorFloat32RoundingINTEL = 6425,
             MaskedGatherScatterINTEL = 6427,
diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json
index 0a282c5..4fc0ec9 100644
--- a/include/spirv/unified1/spirv.core.grammar.json
+++ b/include/spirv/unified1/spirv.core.grammar.json
@@ -18693,6 +18693,12 @@
           "extensions" : [ "SPV_INTEL_predicated_io" ],
           "version" : "None"
         },
+        {
+          "enumerant" : "RoundedDivideSqrtINTEL",
+          "value" : 6265,
+          "extensions" : [ "SPV_INTEL_rounded_divide_sqrt" ],
+          "version": "None"
+        },
         {
           "enumerant" : "GroupUniformArithmeticKHR",
           "value" : 6400,
diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs
index 375dd0b..35b9aff 100644
--- a/include/spirv/unified1/spirv.cs
+++ b/include/spirv/unified1/spirv.cs
@@ -1426,6 +1426,7 @@ namespace Spv
             SpecConditionalINTEL = 6245,
             FunctionVariantsINTEL = 6246,
             PredicatedIOINTEL = 6257,
+            RoundedDivideSqrtINTEL = 6265,
             GroupUniformArithmeticKHR = 6400,
             TensorFloat32RoundingINTEL = 6425,
             MaskedGatherScatterINTEL = 6427,
diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h
index 9233ff0..a9e4998 100644
--- a/include/spirv/unified1/spirv.h
+++ b/include/spirv/unified1/spirv.h
@@ -1397,6 +1397,7 @@ typedef enum SpvCapability_ {
     SpvCapabilitySpecConditionalINTEL = 6245,
     SpvCapabilityFunctionVariantsINTEL = 6246,
     SpvCapabilityPredicatedIOINTEL = 6257,
+    SpvCapabilityRoundedDivideSqrtINTEL = 6265,
     SpvCapabilityGroupUniformArithmeticKHR = 6400,
     SpvCapabilityTensorFloat32RoundingINTEL = 6425,
     SpvCapabilityMaskedGatherScatterINTEL = 6427,
@@ -4523,6 +4524,7 @@ inline const char* SpvCapabilityToString(SpvCapability value) {
     case SpvCapabilitySpecConditionalINTEL: return "SpecConditionalINTEL";
     case SpvCapabilityFunctionVariantsINTEL: return "FunctionVariantsINTEL";
     case SpvCapabilityPredicatedIOINTEL: return "PredicatedIOINTEL";
+    case SpvCapabilityRoundedDivideSqrtINTEL: return "RoundedDivideSqrtINTEL";
     case SpvCapabilityGroupUniformArithmeticKHR: return "GroupUniformArithmeticKHR";
     case SpvCapabilityTensorFloat32RoundingINTEL: return "TensorFloat32RoundingINTEL";
     case SpvCapabilityMaskedGatherScatterINTEL: return "MaskedGatherScatterINTEL";
diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp
index 055086c..6676d71 100644
--- a/include/spirv/unified1/spirv.hpp
+++ b/include/spirv/unified1/spirv.hpp
@@ -1393,6 +1393,7 @@ enum Capability {
     CapabilitySpecConditionalINTEL = 6245,
     CapabilityFunctionVariantsINTEL = 6246,
     CapabilityPredicatedIOINTEL = 6257,
+    CapabilityRoundedDivideSqrtINTEL = 6265,
     CapabilityGroupUniformArithmeticKHR = 6400,
     CapabilityTensorFloat32RoundingINTEL = 6425,
     CapabilityMaskedGatherScatterINTEL = 6427,
@@ -4519,6 +4520,7 @@ inline const char* CapabilityToString(Capability value) {
     case CapabilitySpecConditionalINTEL: return "SpecConditionalINTEL";
     case CapabilityFunctionVariantsINTEL: return "FunctionVariantsINTEL";
     case CapabilityPredicatedIOINTEL: return "PredicatedIOINTEL";
+    case CapabilityRoundedDivideSqrtINTEL: return "RoundedDivideSqrtINTEL";
     case CapabilityGroupUniformArithmeticKHR: return "GroupUniformArithmeticKHR";
     case CapabilityTensorFloat32RoundingINTEL: return "TensorFloat32RoundingINTEL";
     case CapabilityMaskedGatherScatterINTEL: return "MaskedGatherScatterINTEL";
diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11
index 0d85dfe..e08b65b 100644
--- a/include/spirv/unified1/spirv.hpp11
+++ b/include/spirv/unified1/spirv.hpp11
@@ -1393,6 +1393,7 @@ enum class Capability : unsigned {
     SpecConditionalINTEL = 6245,
     FunctionVariantsINTEL = 6246,
     PredicatedIOINTEL = 6257,
+    RoundedDivideSqrtINTEL = 6265,
     GroupUniformArithmeticKHR = 6400,
     TensorFloat32RoundingINTEL = 6425,
     MaskedGatherScatterINTEL = 6427,
@@ -4519,6 +4520,7 @@ inline const char* CapabilityToString(Capability value) {
     case Capability::SpecConditionalINTEL: return "SpecConditionalINTEL";
     case Capability::FunctionVariantsINTEL: return "FunctionVariantsINTEL";
     case Capability::PredicatedIOINTEL: return "PredicatedIOINTEL";
+    case Capability::RoundedDivideSqrtINTEL: return "RoundedDivideSqrtINTEL";
     case Capability::GroupUniformArithmeticKHR: return "GroupUniformArithmeticKHR";
     case Capability::TensorFloat32RoundingINTEL: return "TensorFloat32RoundingINTEL";
     case Capability::MaskedGatherScatterINTEL: return "MaskedGatherScatterINTEL";
diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json
index ec778af..bd3f41b 100644
--- a/include/spirv/unified1/spirv.json
+++ b/include/spirv/unified1/spirv.json
@@ -1359,6 +1359,7 @@
                     "SpecConditionalINTEL": 6245,
                     "FunctionVariantsINTEL": 6246,
                     "PredicatedIOINTEL": 6257,
+                    "RoundedDivideSqrtINTEL": 6265,
                     "GroupUniformArithmeticKHR": 6400,
                     "TensorFloat32RoundingINTEL": 6425,
                     "MaskedGatherScatterINTEL": 6427,
diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua
index b883dd8..347e010 100644
--- a/include/spirv/unified1/spirv.lua
+++ b/include/spirv/unified1/spirv.lua
@@ -1384,6 +1384,7 @@ spv = {
         SpecConditionalINTEL = 6245,
         FunctionVariantsINTEL = 6246,
         PredicatedIOINTEL = 6257,
+        RoundedDivideSqrtINTEL = 6265,
         GroupUniformArithmeticKHR = 6400,
         TensorFloat32RoundingINTEL = 6425,
         MaskedGatherScatterINTEL = 6427,
diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py
index 590ee22..a5c118d 100644
--- a/include/spirv/unified1/spirv.py
+++ b/include/spirv/unified1/spirv.py
@@ -1355,6 +1355,7 @@ spv = {
         'SpecConditionalINTEL' : 6245,
         'FunctionVariantsINTEL' : 6246,
         'PredicatedIOINTEL' : 6257,
+        'RoundedDivideSqrtINTEL' : 6265,
         'GroupUniformArithmeticKHR' : 6400,
         'TensorFloat32RoundingINTEL' : 6425,
         'MaskedGatherScatterINTEL' : 6427,
diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d
index 0323867..781154a 100644
--- a/include/spirv/unified1/spv.d
+++ b/include/spirv/unified1/spv.d
@@ -1429,6 +1429,7 @@ enum Capability : uint
     SpecConditionalINTEL = 6245,
     FunctionVariantsINTEL = 6246,
     PredicatedIOINTEL = 6257,
+    RoundedDivideSqrtINTEL = 6265,
     GroupUniformArithmeticKHR = 6400,
     TensorFloat32RoundingINTEL = 6425,
     MaskedGatherScatterINTEL = 6427,
-- 
2.54.0

