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-04-03 13:26:42 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2020-04-03 18:43:42 +0300
commit941cceedb4f0e6280fc7fa4a71c1ebff8955198a (patch)
treedaa7aabafac8ac059b28c8c9987f2fe5ea267300 /spirv_cross_c.h
parentb691b7d1e30dacae01f23ae11ee6818439b076be (diff)
Expose a query if samplers or images are comparison resources.
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 6be2d35c..8c74792f 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 29
+#define SPVC_C_API_VERSION_MINOR 30
/* Bumped if internal implementation details change. */
#define SPVC_C_API_VERSION_PATCH 0
@@ -642,6 +642,8 @@ SPVC_PUBLIC_API spvc_result spvc_compiler_add_header_line(spvc_compiler compiler
SPVC_PUBLIC_API spvc_result spvc_compiler_require_extension(spvc_compiler compiler, const char *ext);
SPVC_PUBLIC_API spvc_result spvc_compiler_flatten_buffer_block(spvc_compiler compiler, spvc_variable_id id);
+SPVC_PUBLIC_API spvc_bool spvc_compiler_variable_is_depth_or_compare(spvc_compiler compiler, spvc_variable_id id);
+
/*
* HLSL specifics.
* Maps to C++ API.