Updated spirv-tools.

This commit is contained in:
Бранимир Караџић
2019-03-02 19:14:47 -08:00
parent 92767991fa
commit 4e45d6c900
26 changed files with 1738 additions and 91 deletions

View File

@@ -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,