1
1
// Copyright (c) 2015-2022 The Khronos Group Inc.
2
- // Modifications Copyright (C) 2020 Advanced Micro Devices, Inc. All rights
3
- // reserved.
2
+ // Modifications Copyright (C) 2020-2024 Advanced Micro Devices, Inc. All
3
+ // rights reserved.
4
4
//
5
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
6
// you may not use this file except in compliance with the License.
@@ -265,12 +265,14 @@ int32_t spvOpcodeIsConstant(const spv::Op opcode) {
265
265
case spv::Op::OpConstantSampler:
266
266
case spv::Op::OpConstantNull:
267
267
case spv::Op::OpConstantFunctionPointerINTEL:
268
+ case spv::Op::OpConstantStringAMDX:
268
269
case spv::Op::OpSpecConstantTrue:
269
270
case spv::Op::OpSpecConstantFalse:
270
271
case spv::Op::OpSpecConstant:
271
272
case spv::Op::OpSpecConstantComposite:
272
273
case spv::Op::OpSpecConstantCompositeReplicateEXT:
273
274
case spv::Op::OpSpecConstantOp:
275
+ case spv::Op::OpSpecConstantStringAMDX:
274
276
return true ;
275
277
default :
276
278
return false ;
@@ -318,6 +320,7 @@ bool spvOpcodeReturnsLogicalVariablePointer(const spv::Op opcode) {
318
320
case spv::Op::OpFunctionParameter:
319
321
case spv::Op::OpImageTexelPointer:
320
322
case spv::Op::OpCopyObject:
323
+ case spv::Op::OpAllocateNodePayloadsAMDX:
321
324
case spv::Op::OpSelect:
322
325
case spv::Op::OpPhi:
323
326
case spv::Op::OpFunctionCall:
@@ -344,6 +347,7 @@ int32_t spvOpcodeReturnsLogicalPointer(const spv::Op opcode) {
344
347
case spv::Op::OpImageTexelPointer:
345
348
case spv::Op::OpCopyObject:
346
349
case spv::Op::OpRawAccessChainNV:
350
+ case spv::Op::OpAllocateNodePayloadsAMDX:
347
351
return true ;
348
352
default :
349
353
return false ;
@@ -382,6 +386,7 @@ int32_t spvOpcodeGeneratesType(spv::Op op) {
382
386
case spv::Op::OpTypeRayQueryKHR:
383
387
case spv::Op::OpTypeHitObjectNV:
384
388
case spv::Op::OpTypeUntypedPointerKHR:
389
+ case spv::Op::OpTypeNodePayloadArrayAMDX:
385
390
return true ;
386
391
default :
387
392
// In particular, OpTypeForwardPointer does not generate a type,
0 commit comments