summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHai Nguyen <codingforlove@gmail.com>2021-12-30 06:33:40 -0500
committerHai Nguyen <codingforlove@gmail.com>2021-12-30 06:33:40 -0500
commit0d254757cb58147274d3533f911daafed5b45ade (patch)
treeb8a17671d640e1f900cb727e6c3d2c7c46f5751a
parent173ae4d9bbcc8fd0307bea9f126cb50619ceff23 (diff)
downloadSPIRV-Reflect-0d254757cb58147274d3533f911daafed5b45ade.tar.gz
Added function to retrieve type name
-rw-r--r--spirv_reflect.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/spirv_reflect.h b/spirv_reflect.h
index da05400..4e08101 100644
--- a/spirv_reflect.h
+++ b/spirv_reflect.h
@@ -1329,7 +1329,7 @@ SpvReflectResult spvReflectChangeInputVariableLocation(
by multiple entry points in the module, it will be changed in all of
them.
@param p_module Pointer to an instance of SpvReflectShaderModule.
- @param p_output_variable Pointer to the output variable to update.
+ @param p_output_variable Pointer to the output variable to update.
@param new_location The new location to assign to p_output_variable.
@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
Otherwise, the error code indicates the cause of
@@ -1351,6 +1351,16 @@ SpvReflectResult spvReflectChangeOutputVariableLocation(
*/
const char* spvReflectSourceLanguage(SpvSourceLanguage source_lang);
+/*! @fn spvReflectBlockVariableTypeName
+
+ @param p_var Pointer to block variable.
+ @return Returns string of block variable's type description type name
+ or NULL if p_var is NULL.
+*/
+const char* spvReflectBlockVariableTypeName(
+ const SpvReflectBlockVariable* p_var
+);
+
#if defined(__cplusplus)
};
#endif