Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Fischer <greg@lunarg.com>2021-06-07 15:06:10 +0300
committerGitHub <noreply@github.com>2021-06-07 15:06:10 +0300
commit87a28679762f87c43b8bcb64f706f6e1237c68ec (patch)
tree86bd2d45451d41662279d939190a88eeee82f0e0 /include
parentc05f74415425464a341d05e4bc828976028e98e9 (diff)
Add kInstErrorMax to instrument.hpp (#4315)
To allow for extending GPU-AV error codes outside of spirv-tools.
Diffstat (limited to 'include')
-rw-r--r--include/spirv-tools/instrument.hpp1
1 files changed, 1 insertions, 0 deletions
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
//