summaryrefslogtreecommitdiff
path: root/include/spirv/unified1/spirv.cs
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2021-01-20 16:54:17 -0500
committerDavid Neto <dneto@google.com>2021-01-20 17:33:13 -0500
commit80438cd0df6f526b2e0df6cd83efa468fcd95af6 (patch)
treeb54ab79cb5172469beacf27a6e3be581cfc5f31f /include/spirv/unified1/spirv.cs
parent8bb2420b44af3c514480e63ac24439044706b583 (diff)
downloadSPIRV-Headers-80438cd0df6f526b2e0df6cd83efa468fcd95af6.tar.gz
SPIRV-Headers-80438cd0df6f526b2e0df6cd83efa468fcd95af6.tar.bz2
SPIRV-Headers-80438cd0df6f526b2e0df6cd83efa468fcd95af6.zip
Push FPDenormMode, FPOperationMode to the end
This is a cosmetic change for the benefit of generating the SPIR-V spec. It reorders the "FP Denorm Mode" and "FP Operation Mode" so they are the last sections in chapter 3 before the instruction listing. They become 3.37 and 3.38. The idea is to preserve the section numbering for earlier sections. For example, keep 3.31 as the Capability section.
Diffstat (limited to 'include/spirv/unified1/spirv.cs')
-rw-r--r--include/spirv/unified1/spirv.cs22
1 files changed, 10 insertions, 12 deletions
diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs
index 03b8803..7c40d14 100644
--- a/include/spirv/unified1/spirv.cs
+++ b/include/spirv/unified1/spirv.cs
@@ -403,18 +403,6 @@ namespace Spv
RTN = 3,
}
- public enum FPDenormMode
- {
- Preserve = 0,
- FlushToZero = 1,
- }
-
- public enum FPOperationMode
- {
- IEEE = 0,
- ALT = 1,
- }
-
public enum LinkageType
{
Export = 0,
@@ -1115,6 +1103,16 @@ namespace Spv
Horizontal4Pixels = 0x00000008,
}
+ public enum FPDenormMode {
+ Preserve = 0,
+ FlushToZero = 1,
+ }
+
+ public enum FPOperationMode {
+ IEEE = 0,
+ ALT = 1,
+ }
+
public enum Op
{
OpNop = 0,