Skip to content

Commit 10db9d4

Browse files
authored
Merge pull request KhronosGroup#354 from kpet/spv-ext-image-raw10-raw12
Add definitions for SVP_EXT_image_raw10_raw12
2 parents 6e09e44 + 72e4c7e commit 10db9d4

File tree

10 files changed

+29
-1
lines changed

10 files changed

+29
-1
lines changed

include/spirv/unified1/spirv.bf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ namespace Spv
354354
Float = 14,
355355
UnormInt24 = 15,
356356
UnormInt101010_2 = 16,
357+
UnsignedIntRaw10EXT = 19,
358+
UnsignedIntRaw12EXT = 20,
357359
}
358360

359361
[AllowDuplicates, CRepr] public enum ImageOperandsShift

include/spirv/unified1/spirv.core.grammar.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11610,6 +11610,16 @@
1161011610
"enumerant" : "UnormInt101010_2",
1161111611
"value" : 16,
1161211612
"capabilities" : [ "Kernel" ]
11613+
},
11614+
{
11615+
"enumerant" : "UnsignedIntRaw10EXT",
11616+
"value" : 19,
11617+
"capabilities" : [ "Kernel" ]
11618+
},
11619+
{
11620+
"enumerant" : "UnsignedIntRaw12EXT",
11621+
"value" : 20,
11622+
"capabilities" : [ "Kernel" ]
1161311623
}
1161411624
]
1161511625
},

include/spirv/unified1/spirv.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ public enum ImageChannelDataType
353353
Float = 14,
354354
UnormInt24 = 15,
355355
UnormInt101010_2 = 16,
356+
UnsignedIntRaw10EXT = 19,
357+
UnsignedIntRaw12EXT = 20,
356358
}
357359

358360
public enum ImageOperandsShift

include/spirv/unified1/spirv.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ typedef enum SpvImageChannelDataType_ {
361361
SpvImageChannelDataTypeFloat = 14,
362362
SpvImageChannelDataTypeUnormInt24 = 15,
363363
SpvImageChannelDataTypeUnormInt101010_2 = 16,
364+
SpvImageChannelDataTypeUnsignedIntRaw10EXT = 19,
365+
SpvImageChannelDataTypeUnsignedIntRaw12EXT = 20,
364366
SpvImageChannelDataTypeMax = 0x7fffffff,
365367
} SpvImageChannelDataType;
366368

include/spirv/unified1/spirv.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ enum ImageChannelDataType {
357357
ImageChannelDataTypeFloat = 14,
358358
ImageChannelDataTypeUnormInt24 = 15,
359359
ImageChannelDataTypeUnormInt101010_2 = 16,
360+
ImageChannelDataTypeUnsignedIntRaw10EXT = 19,
361+
ImageChannelDataTypeUnsignedIntRaw12EXT = 20,
360362
ImageChannelDataTypeMax = 0x7fffffff,
361363
};
362364

include/spirv/unified1/spirv.hpp11

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ enum class ImageChannelDataType : unsigned {
357357
Float = 14,
358358
UnormInt24 = 15,
359359
UnormInt101010_2 = 16,
360+
UnsignedIntRaw10EXT = 19,
361+
UnsignedIntRaw12EXT = 20,
360362
Max = 0x7fffffff,
361363
};
362364

include/spirv/unified1/spirv.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,9 @@
396396
"HalfFloat": 13,
397397
"Float": 14,
398398
"UnormInt24": 15,
399-
"UnormInt101010_2": 16
399+
"UnormInt101010_2": 16,
400+
"UnsignedIntRaw10EXT": 19,
401+
"UnsignedIntRaw12EXT": 20
400402
}
401403
},
402404
{

include/spirv/unified1/spirv.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ spv = {
337337
Float = 14,
338338
UnormInt24 = 15,
339339
UnormInt101010_2 = 16,
340+
UnsignedIntRaw10EXT = 19,
341+
UnsignedIntRaw12EXT = 20,
340342
},
341343

342344
ImageOperandsShift = {

include/spirv/unified1/spirv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@
337337
'Float' : 14,
338338
'UnormInt24' : 15,
339339
'UnormInt101010_2' : 16,
340+
'UnsignedIntRaw10EXT' : 19,
341+
'UnsignedIntRaw12EXT' : 20,
340342
},
341343

342344
'ImageOperandsShift' : {

include/spirv/unified1/spv.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ enum ImageChannelDataType : uint
356356
Float = 14,
357357
UnormInt24 = 15,
358358
UnormInt101010_2 = 16,
359+
UnsignedIntRaw10EXT = 19,
360+
UnsignedIntRaw12EXT = 20,
359361
}
360362

361363
enum ImageOperandsShift : uint

0 commit comments

Comments
 (0)