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

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2020-03-04 18:32:52 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2020-03-04 18:42:31 +0300
commitc27e1efbf18cff858db35a3eda5dcdde7ad450d6 (patch)
treee29942a8dd4d5de808c326741da4bfedb66e02c4 /spirv_cross_c.h
parent01968c448604665593b50c5206a50bf849753464 (diff)
HLSL: Add option to always treat SSBO as UAV, even with readonly.
This can make codegen more predictable since ByteAddressBuffer is SRV and not UAV.
Diffstat (limited to 'spirv_cross_c.h')
-rw-r--r--spirv_cross_c.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/spirv_cross_c.h b/spirv_cross_c.h
index 7fa4d92b..405ff616 100644
--- a/spirv_cross_c.h
+++ b/spirv_cross_c.h
@@ -33,7 +33,7 @@ extern "C" {
/* Bumped if ABI or API breaks backwards compatibility. */
#define SPVC_C_API_VERSION_MAJOR 0
/* Bumped if APIs or enumerations are added in a backwards compatible way. */
-#define SPVC_C_API_VERSION_MINOR 26
+#define SPVC_C_API_VERSION_MINOR 27
/* Bumped if internal implementation details change. */
#define SPVC_C_API_VERSION_PATCH 0
@@ -576,6 +576,8 @@ typedef enum spvc_compiler_option
SPVC_COMPILER_OPTION_ENABLE_STORAGE_IMAGE_QUALIFIER_DEDUCTION = 52 | SPVC_COMPILER_OPTION_COMMON_BIT,
+ SPVC_COMPILER_OPTION_HLSL_FORCE_STORAGE_BUFFER_AS_UAV = 53 | SPVC_COMPILER_OPTION_HLSL_BIT,
+
SPVC_COMPILER_OPTION_INT_MAX = 0x7fffffff
} spvc_compiler_option;