diff options
author | Jason Ekstrand <[email protected]> | 2018-07-06 14:05:22 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-10-24 11:39:55 -0700 |
commit | 0ebe89459cca8a3b50a97377a92c7fb194147051 (patch) | |
tree | dc78fe03d8fcad595a3d18c1f732394da75b7794 /src/compiler/spirv/spirv_info.h | |
parent | cdff9b00e1c0f20643dae218d343abbb03437edd (diff) |
spirv/info: Add a memorymodel_to_string helper
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_info.h')
-rw-r--r-- | src/compiler/spirv/spirv_info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_info.h b/src/compiler/spirv/spirv_info.h index e4eac9e690f..199b98c9cc3 100644 --- a/src/compiler/spirv/spirv_info.h +++ b/src/compiler/spirv/spirv_info.h @@ -34,6 +34,7 @@ const char *spirv_dim_to_string(SpvDim dim); const char *spirv_executionmode_to_string(SpvExecutionMode mode); const char *spirv_executionmodel_to_string(SpvExecutionModel model); const char *spirv_imageformat_to_string(SpvImageFormat format); +const char *spirv_memorymodel_to_string(SpvMemoryModel cap); const char *spirv_op_to_string(SpvOp op); const char *spirv_storageclass_to_string(SpvStorageClass sc); |