From 87a28679762f87c43b8bcb64f706f6e1237c68ec Mon Sep 17 00:00:00 2001 From: Greg Fischer Date: Mon, 7 Jun 2021 06:06:10 -0600 Subject: [PATCH] Add kInstErrorMax to instrument.hpp (#4315) To allow for extending GPU-AV error codes outside of spirv-tools. --- include/spirv-tools/instrument.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/spirv-tools/instrument.hpp b/include/spirv-tools/instrument.hpp index 05a0472e9..a19491fd3 100644 --- a/include/spirv-tools/instrument.hpp +++ b/include/spirv-tools/instrument.hpp @@ -178,6 +178,7 @@ static const int kInstErrorBuffOOBUniform = 4; static const int kInstErrorBuffOOBStorage = 5; static const int kInstErrorBuffOOBUniformTexel = 6; static const int kInstErrorBuffOOBStorageTexel = 7; +static const int kInstErrorMax = kInstErrorBuffOOBStorageTexel; // Direct Input Buffer Offsets //