mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Updated spirv-tools.
This commit is contained in:
2
3rdparty/spirv-tools/source/opcode.cpp
vendored
2
3rdparty/spirv-tools/source/opcode.cpp
vendored
@@ -260,6 +260,7 @@ int32_t spvOpcodeIsComposite(const SpvOp opcode) {
|
||||
case SpvOpTypeMatrix:
|
||||
case SpvOpTypeArray:
|
||||
case SpvOpTypeStruct:
|
||||
case SpvOpTypeCooperativeMatrixNV:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
@@ -325,6 +326,7 @@ int32_t spvOpcodeGeneratesType(SpvOp op) {
|
||||
case SpvOpTypePipeStorage:
|
||||
case SpvOpTypeNamedBarrier:
|
||||
case SpvOpTypeAccelerationStructureNV:
|
||||
case SpvOpTypeCooperativeMatrixNV:
|
||||
return true;
|
||||
default:
|
||||
// In particular, OpTypeForwardPointer does not generate a type,
|
||||
|
||||
Reference in New Issue
Block a user