|
| static uint32_t | Max (uint32_t a, uint32_t b) |
| |
| static uint32_t | Min (uint32_t a, uint32_t b) |
| |
| static uint32_t | RoundUp (uint32_t value, uint32_t multiple) |
| |
| static int | SortCompareUint32 (void const *a, void const *b) |
| |
| static int | SortCompareAccessedVariable (void const *a, void const *b) |
| |
| static size_t | DedupSortedUint32 (uint32_t *arr, size_t size) |
| |
| static bool | SearchSortedUint32 (uint32_t const *arr, size_t size, uint32_t target) |
| |
| static SpvReflectResult | IntersectSortedAccessedVariable (SpvReflectPrvAccessedVariable const *p_arr0, size_t arr0_size, uint32_t const *p_arr1, size_t arr1_size, uint32_t **pp_res, size_t *res_size) |
| |
| static bool | InRange (SpvReflectPrvParser const *p_parser, uint32_t index) |
| |
| static SpvReflectResult | ReadU32 (SpvReflectPrvParser *p_parser, uint32_t word_offset, uint32_t *p_value) |
| |
| static SpvReflectResult | ReadStr (SpvReflectPrvParser *p_parser, uint32_t word_offset, uint32_t word_index, uint32_t word_count, uint32_t *p_buf_size, char *p_buf) |
| |
| static SpvReflectDecorationFlags | ApplyDecorations (SpvReflectPrvDecorations const *p_decoration_fields) |
| |
| static void | ApplyNumericTraits (SpvReflectTypeDescription const *p_type, SpvReflectNumericTraits *p_numeric_traits) |
| |
| static void | ApplyArrayTraits (SpvReflectTypeDescription const *p_type, SpvReflectArrayTraits *p_array_traits) |
| |
| static bool | IsSpecConstant (SpvReflectPrvNode const *p_node) |
| |
| static SpvReflectPrvNode * | FindNode (SpvReflectPrvParser *p_parser, uint32_t result_id) |
| |
| static SpvReflectTypeDescription * | FindType (SpvReflectShaderModule *p_module, uint32_t type_id) |
| |
| static SpvReflectPrvAccessChain * | FindAccessChain (SpvReflectPrvParser *p_parser, uint32_t id) |
| |
| static uint32_t | FindBaseId (SpvReflectPrvParser *p_parser, SpvReflectPrvAccessChain *ac) |
| |
| static SpvReflectBlockVariable * | GetRefBlkVar (SpvReflectPrvParser *p_parser, SpvReflectPrvAccessChain *ac) |
| |
| bool | IsPointerToPointer (SpvReflectPrvParser *p_parser, uint32_t type_id) |
| |
| static SpvReflectResult | CreateParser (size_t size, void *p_code, SpvReflectPrvParser *p_parser) |
| |
| static void | DestroyParser (SpvReflectPrvParser *p_parser) |
| |
| static SpvReflectResult | ParseNodes (SpvReflectPrvParser *p_parser) |
| |
| static SpvReflectResult | ParseStrings (SpvReflectPrvParser *p_parser) |
| |
| static SpvReflectResult | ParseSource (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParseFunction (SpvReflectPrvParser *p_parser, SpvReflectPrvNode *p_func_node, SpvReflectPrvFunction *p_func, size_t first_label_index) |
| |
| static int | SortCompareFunctions (void const *a, void const *b) |
| |
| static SpvReflectResult | ParseFunctions (SpvReflectPrvParser *p_parser) |
| |
| static SpvReflectResult | ParseMemberCounts (SpvReflectPrvParser *p_parser) |
| |
| static SpvReflectResult | ParseNames (SpvReflectPrvParser *p_parser) |
| |
| static bool | UserTypeMatches (char const *user_type, char const *pattern) |
| |
| static SpvReflectResult | ParseDecorations (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | EnumerateAllUniforms (SpvReflectShaderModule *p_module, size_t *p_uniform_count, uint32_t **pp_uniforms) |
| |
| static SpvReflectResult | ParseType (SpvReflectPrvParser *p_parser, SpvReflectPrvNode *p_node, SpvReflectPrvDecorations *p_struct_member_decorations, SpvReflectShaderModule *p_module, SpvReflectTypeDescription *p_type) |
| |
| static SpvReflectResult | ParseTypes (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParseCapabilities (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static int | SortCompareDescriptorBinding (void const *a, void const *b) |
| |
| static SpvReflectResult | ParseDescriptorBindings (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParseDescriptorType (SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParseUAVCounterBindings (SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParseDescriptorBlockVariable (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module, SpvReflectTypeDescription *p_type, SpvReflectBlockVariable *p_var) |
| |
| static uint32_t | GetPhysicalPointerStructSize (SpvReflectPrvParser *p_parser, uint32_t id) |
| |
| static SpvReflectResult | ParseDescriptorBlockVariableSizes (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module, bool is_parent_root, bool is_parent_aos, bool is_parent_rta, SpvReflectBlockVariable *p_var) |
| |
| static void | MarkSelfAndAllMemberVarsAsUsed (SpvReflectBlockVariable *p_var) |
| |
| static SpvReflectResult | ParseDescriptorBlockVariableUsage (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module, SpvReflectPrvAccessChain *p_access_chain, uint32_t index_index, SpvOp override_op_type, SpvReflectBlockVariable *p_var) |
| |
| static SpvReflectResult | ParseDescriptorBlocks (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParseFormat (SpvReflectTypeDescription const *p_type, SpvReflectFormat *p_format) |
| |
| static SpvReflectResult | ParseInterfaceVariable (SpvReflectPrvParser *p_parser, SpvReflectPrvDecorations const *p_var_node_decorations, SpvReflectPrvDecorations const *p_type_node_decorations, SpvReflectShaderModule *p_module, SpvReflectTypeDescription *p_type, SpvReflectInterfaceVariable *p_var, bool *p_has_built_in) |
| |
| static SpvReflectResult | ParseInterfaceVariables (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module, SpvReflectEntryPoint *p_entry, uint32_t interface_variable_count, uint32_t *p_interface_variable_ids) |
| |
| static SpvReflectResult | EnumerateAllPushConstants (SpvReflectShaderModule *p_module, size_t *p_push_constant_count, uint32_t **p_push_constants) |
| |
| static SpvReflectResult | TraverseCallGraph (SpvReflectPrvParser *p_parser, SpvReflectPrvFunction *p_func, size_t *p_func_count, uint32_t *p_func_ids, uint32_t depth) |
| |
| static uint32_t | GetUint32Constant (SpvReflectPrvParser *p_parser, uint32_t id) |
| |
| static bool | HasByteAddressBufferOffset (SpvReflectPrvNode *p_node, SpvReflectDescriptorBinding *p_binding) |
| |
| static SpvReflectResult | ParseByteAddressBuffer (SpvReflectPrvParser *p_parser, SpvReflectPrvNode *p_node, SpvReflectDescriptorBinding *p_binding) |
| |
| static SpvReflectResult | ParseStaticallyUsedResources (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module, SpvReflectEntryPoint *p_entry, size_t uniform_count, uint32_t *uniforms, size_t push_constant_count, uint32_t *push_constants) |
| |
| static SpvReflectResult | ParseEntryPoints (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParseExecutionModes (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParsePushConstantBlocks (SpvReflectPrvParser *p_parser, SpvReflectShaderModule *p_module) |
| |
| static int | SortCompareDescriptorSet (void const *a, void const *b) |
| |
| static SpvReflectResult | ParseEntrypointDescriptorSets (SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | ParseDescriptorSets (SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | DisambiguateStorageBufferSrvUav (SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | SynchronizeDescriptorSets (SpvReflectShaderModule *p_module) |
| |
| static SpvReflectResult | CreateShaderModule (uint32_t flags, size_t size, void const *p_code, SpvReflectShaderModule *p_module) |
| |
| SpvReflectResult | spvReflectCreateShaderModule (size_t size, void const *p_code, SpvReflectShaderModule *p_module) |
| |
| SpvReflectResult | spvReflectCreateShaderModule2 (uint32_t flags, size_t size, void const *p_code, SpvReflectShaderModule *p_module) |
| |
| SpvReflectResult | spvReflectGetShaderModule (size_t size, void const *p_code, SpvReflectShaderModule *p_module) |
| |
| static void | SafeFreeTypes (SpvReflectTypeDescription *p_type) |
| |
| static void | SafeFreeBlockVariables (SpvReflectBlockVariable *p_block) |
| |
| static void | SafeFreeInterfaceVariable (SpvReflectInterfaceVariable *p_interface) |
| |
| void | spvReflectDestroyShaderModule (SpvReflectShaderModule *p_module) |
| |
| uint32_t | spvReflectGetCodeSize (SpvReflectShaderModule const *p_module) |
| |
| uint32_t const * | spvReflectGetCode (SpvReflectShaderModule const *p_module) |
| |
| SpvReflectEntryPoint const * | spvReflectGetEntryPoint (SpvReflectShaderModule const *p_module, char const *entry_point) |
| |
| SpvReflectResult | spvReflectEnumerateDescriptorBindings (SpvReflectShaderModule const *p_module, uint32_t *p_count, SpvReflectDescriptorBinding **pp_bindings) |
| |
| SpvReflectResult | spvReflectEnumerateEntryPointDescriptorBindings (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t *p_count, SpvReflectDescriptorBinding **pp_bindings) |
| |
| SpvReflectResult | spvReflectEnumerateDescriptorSets (SpvReflectShaderModule const *p_module, uint32_t *p_count, SpvReflectDescriptorSet **pp_sets) |
| |
| SpvReflectResult | spvReflectEnumerateEntryPointDescriptorSets (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t *p_count, SpvReflectDescriptorSet **pp_sets) |
| |
| SpvReflectResult | spvReflectEnumerateInterfaceVariables (SpvReflectShaderModule const *p_module, uint32_t *p_count, SpvReflectInterfaceVariable **pp_variables) |
| |
| SpvReflectResult | spvReflectEnumerateEntryPointInterfaceVariables (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t *p_count, SpvReflectInterfaceVariable **pp_variables) |
| |
| SpvReflectResult | spvReflectEnumerateInputVariables (SpvReflectShaderModule const *p_module, uint32_t *p_count, SpvReflectInterfaceVariable **pp_variables) |
| |
| SpvReflectResult | spvReflectEnumerateEntryPointInputVariables (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t *p_count, SpvReflectInterfaceVariable **pp_variables) |
| |
| SpvReflectResult | spvReflectEnumerateOutputVariables (SpvReflectShaderModule const *p_module, uint32_t *p_count, SpvReflectInterfaceVariable **pp_variables) |
| |
| SpvReflectResult | spvReflectEnumerateEntryPointOutputVariables (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t *p_count, SpvReflectInterfaceVariable **pp_variables) |
| |
| SpvReflectResult | spvReflectEnumeratePushConstantBlocks (SpvReflectShaderModule const *p_module, uint32_t *p_count, SpvReflectBlockVariable **pp_blocks) |
| |
| SpvReflectResult | spvReflectEnumeratePushConstants (SpvReflectShaderModule const *p_module, uint32_t *p_count, SpvReflectBlockVariable **pp_blocks) |
| |
| SpvReflectResult | spvReflectEnumerateEntryPointPushConstantBlocks (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t *p_count, SpvReflectBlockVariable **pp_blocks) |
| |
| SpvReflectResult | spvReflectEnumerateSpecializationConstants (SpvReflectShaderModule const *p_module, uint32_t *p_count, SpvReflectSpecializationConstant **pp_constants) |
| |
| SpvReflectDescriptorBinding const * | spvReflectGetDescriptorBinding (SpvReflectShaderModule const *p_module, uint32_t binding_number, uint32_t set_number, SpvReflectResult *p_result) |
| |
| SpvReflectDescriptorBinding const * | spvReflectGetEntryPointDescriptorBinding (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t binding_number, uint32_t set_number, SpvReflectResult *p_result) |
| |
| SpvReflectDescriptorSet const * | spvReflectGetDescriptorSet (SpvReflectShaderModule const *p_module, uint32_t set_number, SpvReflectResult *p_result) |
| |
| SpvReflectDescriptorSet const * | spvReflectGetEntryPointDescriptorSet (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t set_number, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetInputVariableByLocation (SpvReflectShaderModule const *p_module, uint32_t location, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetInputVariable (SpvReflectShaderModule const *p_module, uint32_t location, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetEntryPointInputVariableByLocation (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t location, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetInputVariableBySemantic (SpvReflectShaderModule const *p_module, char const *semantic, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetEntryPointInputVariableBySemantic (SpvReflectShaderModule const *p_module, char const *entry_point, char const *semantic, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetOutputVariableByLocation (SpvReflectShaderModule const *p_module, uint32_t location, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetOutputVariable (SpvReflectShaderModule const *p_module, uint32_t location, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetEntryPointOutputVariableByLocation (SpvReflectShaderModule const *p_module, char const *entry_point, uint32_t location, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetOutputVariableBySemantic (SpvReflectShaderModule const *p_module, char const *semantic, SpvReflectResult *p_result) |
| |
| SpvReflectInterfaceVariable const * | spvReflectGetEntryPointOutputVariableBySemantic (SpvReflectShaderModule const *p_module, char const *entry_point, char const *semantic, SpvReflectResult *p_result) |
| |
| SpvReflectBlockVariable const * | spvReflectGetPushConstantBlock (SpvReflectShaderModule const *p_module, uint32_t index, SpvReflectResult *p_result) |
| |
| SpvReflectBlockVariable const * | spvReflectGetPushConstant (SpvReflectShaderModule const *p_module, uint32_t index, SpvReflectResult *p_result) |
| |
| SpvReflectBlockVariable const * | spvReflectGetEntryPointPushConstantBlock (SpvReflectShaderModule const *p_module, char const *entry_point, SpvReflectResult *p_result) |
| |
| SpvReflectResult | spvReflectChangeDescriptorBindingNumbers (SpvReflectShaderModule *p_module, SpvReflectDescriptorBinding const *p_binding, uint32_t new_binding_number, uint32_t new_set_binding) |
| |
| SpvReflectResult | spvReflectChangeDescriptorBindingNumber (SpvReflectShaderModule *p_module, SpvReflectDescriptorBinding const *p_descriptor_binding, uint32_t new_binding_number, uint32_t optional_new_set_number) |
| |
| SpvReflectResult | spvReflectChangeDescriptorSetNumber (SpvReflectShaderModule *p_module, SpvReflectDescriptorSet const *p_set, uint32_t new_set_number) |
| |
| static SpvReflectResult | ChangeVariableLocation (SpvReflectShaderModule *p_module, SpvReflectInterfaceVariable *p_variable, uint32_t new_location) |
| |
| SpvReflectResult | spvReflectChangeInputVariableLocation (SpvReflectShaderModule *p_module, SpvReflectInterfaceVariable const *p_input_variable, uint32_t new_location) |
| |
| SpvReflectResult | spvReflectChangeOutputVariableLocation (SpvReflectShaderModule *p_module, SpvReflectInterfaceVariable const *p_output_variable, uint32_t new_location) |
| |
| char const * | spvReflectSourceLanguage (SpvSourceLanguage source_lang) |
| |
| char const * | spvReflectBlockVariableTypeName (SpvReflectBlockVariable const *p_var) |
| |