@@ -503,34 +503,11 @@ enum class OpCode : unsigned {
503503 ReservedA1 = 260 , // reserved
504504 ReservedA2 = 261 , // reserved
505505 ReservedB0 = 262 , // reserved
506- ReservedB1 = 263 , // reserved
507- ReservedB10 = 272 , // reserved
508- ReservedB11 = 273 , // reserved
509- ReservedB12 = 274 , // reserved
510- ReservedB13 = 275 , // reserved
511- ReservedB14 = 276 , // reserved
512- ReservedB15 = 277 , // reserved
513- ReservedB16 = 278 , // reserved
514- ReservedB17 = 279 , // reserved
515- ReservedB18 = 280 , // reserved
516- ReservedB19 = 281 , // reserved
517- ReservedB2 = 264 , // reserved
518- ReservedB20 = 282 , // reserved
519- ReservedB21 = 283 , // reserved
520- ReservedB22 = 284 , // reserved
521- ReservedB23 = 285 , // reserved
522- ReservedB24 = 286 , // reserved
523- ReservedB25 = 287 , // reserved
524- ReservedB26 = 288 , // reserved
525- ReservedB27 = 289 , // reserved
526506 ReservedB28 = 290 , // reserved
527507 ReservedB29 = 291 , // reserved
528508 ReservedB30 = 292 , // reserved
529509 ReservedB5 = 267 , // reserved
530510 ReservedB6 = 268 , // reserved
531- ReservedB7 = 269 , // reserved
532- ReservedB8 = 270 , // reserved
533- ReservedB9 = 271 , // reserved
534511 ReservedC0 = 293 , // reserved
535512 ReservedC1 = 294 , // reserved
536513 ReservedC2 = 295 , // reserved
@@ -916,8 +893,42 @@ enum class OpCode : unsigned {
916893 // operation with a mipmap-level offset
917894
918895 // Shader Execution Reordering
896+ HitObject_Attributes = 289 , // Returns the attributes set for this HitObject
897+ HitObject_FromRayQuery = 263 , // Creates a new HitObject representing a
898+ // committed hit from a RayQuery
899+ HitObject_FromRayQueryWithAttrs =
900+ 264 , // Creates a new HitObject representing a committed hit from a
901+ // RayQuery and committed attributes
902+ HitObject_GeometryIndex = 281 , // Returns the geometry index committed on hit
903+ HitObject_HitKind = 285 , // Returns the HitKind of the hit
904+ HitObject_InstanceID = 283 , // Returns the instance id committed on hit
905+ HitObject_InstanceIndex = 282 , // Returns the instance index committed on hit
906+ HitObject_IsHit = 270 , // Returns `true` if the HitObject is a NOP-HitObject
907+ HitObject_IsMiss = 269 , // Returns `true` if the HitObject represents a miss
908+ HitObject_IsNop = 271 , // Returns `true` if the HitObject represents a nop
909+ HitObject_LoadLocalRootTableConstant =
910+ 288 , // Returns the root table constant for this HitObject and offset
919911 HitObject_MakeMiss = 265 , // Creates a new HitObject representing a miss
920912 HitObject_MakeNop = 266 , // Creates an empty nop HitObject
913+ HitObject_ObjectRayDirection =
914+ 278 , // Returns the ray direction in object space
915+ HitObject_ObjectRayOrigin = 277 , // Returns the ray origin in object space
916+ HitObject_ObjectToWorld3x4 = 279 , // Returns the object to world space
917+ // transformation matrix in 3x4 form
918+ HitObject_PrimitiveIndex =
919+ 284 , // Returns the primitive index committed on hit
920+ HitObject_RayFlags = 272 , // Returns the ray flags set in the HitObject
921+ HitObject_RayTCurrent =
922+ 274 , // Returns the current T value set in the HitObject
923+ HitObject_RayTMin = 273 , // Returns the TMin value set in the HitObject
924+ HitObject_SetShaderTableIndex =
925+ 287 , // Returns a HitObject with updated shader table index
926+ HitObject_ShaderTableIndex =
927+ 286 , // Returns the shader table index set for this HitObject
928+ HitObject_WorldRayDirection = 276 , // Returns the ray direction in world space
929+ HitObject_WorldRayOrigin = 275 , // Returns the ray origin in world space
930+ HitObject_WorldToObject3x4 = 280 , // Returns the world to object space
931+ // transformation matrix in 3x4 form
921932
922933 // Synchronization
923934 AtomicBinOp = 78 , // performs an atomic operation on two operands
@@ -1294,8 +1305,16 @@ enum class OpCodeClass : unsigned {
12941305 WriteSamplerFeedbackLevel,
12951306
12961307 // Shader Execution Reordering
1308+ HitObject_Attributes,
1309+ HitObject_FromRayQuery,
1310+ HitObject_FromRayQueryWithAttrs,
1311+ HitObject_LoadLocalRootTableConstant,
12971312 HitObject_MakeMiss,
12981313 HitObject_MakeNop,
1314+ HitObject_SetShaderTableIndex,
1315+ HitObject_StateMatrix,
1316+ HitObject_StateScalar,
1317+ HitObject_StateVector,
12991318
13001319 // Synchronization
13011320 AtomicBinOp,
@@ -1361,7 +1380,7 @@ enum class OpCodeClass : unsigned {
13611380 NumOpClasses_Dxil_1_7 = 153 ,
13621381 NumOpClasses_Dxil_1_8 = 174 ,
13631382
1364- NumOpClasses = 179 // exclusive last value of enumeration
1383+ NumOpClasses = 187 // exclusive last value of enumeration
13651384};
13661385// OPCODECLASS-ENUM:END
13671386
@@ -1905,7 +1924,9 @@ enum class BarrierSemanticFlag : uint32_t {
19051924 GroupSync = 0x00000001 , // GROUP_SYNC
19061925 GroupScope = 0x00000002 , // GROUP_SCOPE
19071926 DeviceScope = 0x00000004 , // DEVICE_SCOPE
1908- ValidMask = 0x00000007 ,
1927+ LegacyFlags = 0x00000007 ,
1928+ ReorderScope = 0x00000008 , // REORDER_SCOPE
1929+ ValidMask = 0x0000000F ,
19091930 GroupFlags = GroupSync | GroupScope,
19101931};
19111932
0 commit comments