mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-13 19:45:34 +00:00
Updated spirv-tools.
This commit is contained in:
+10
@@ -120,6 +120,9 @@ int32_t spvOpcodeIsSpecConstant(const spv::Op opcode) {
|
||||
case spv::Op::OpSpecConstantComposite:
|
||||
case spv::Op::OpSpecConstantCompositeReplicateEXT:
|
||||
case spv::Op::OpSpecConstantOp:
|
||||
case spv::Op::OpSpecConstantArchitectureINTEL:
|
||||
case spv::Op::OpSpecConstantTargetINTEL:
|
||||
case spv::Op::OpSpecConstantCapabilitiesINTEL:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
@@ -144,6 +147,12 @@ int32_t spvOpcodeIsConstant(const spv::Op opcode) {
|
||||
case spv::Op::OpSpecConstantCompositeReplicateEXT:
|
||||
case spv::Op::OpSpecConstantOp:
|
||||
case spv::Op::OpSpecConstantStringAMDX:
|
||||
case spv::Op::OpGraphConstantARM:
|
||||
case spv::Op::OpAsmTargetINTEL:
|
||||
case spv::Op::OpAsmINTEL:
|
||||
case spv::Op::OpSpecConstantArchitectureINTEL:
|
||||
case spv::Op::OpSpecConstantTargetINTEL:
|
||||
case spv::Op::OpSpecConstantCapabilitiesINTEL:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
@@ -264,6 +273,7 @@ int32_t spvOpcodeGeneratesType(spv::Op op) {
|
||||
case spv::Op::OpTypeTensorViewNV:
|
||||
case spv::Op::OpTypeTensorARM:
|
||||
case spv::Op::OpTypeTaskSequenceINTEL:
|
||||
case spv::Op::OpTypeGraphARM:
|
||||
return true;
|
||||
default:
|
||||
// In particular, OpTypeForwardPointer does not generate a type,
|
||||
|
||||
Reference in New Issue
Block a user