Home
last modified time | relevance | path

Searched refs:typed_handle (Results 1 – 5 of 5) sorted by relevance

/external/skqp/src/compute/skc/platforms/cl_12/
Dhandle_pool_cl_12.c437 skc_typed_handle_t const typed_handle = typed_handles[ii]; in skc_runtime_handle_host_validated_retain() local
439 if (!SKC_TYPED_HANDLE_IS_TYPE(typed_handle,handle_type)) in skc_runtime_handle_host_validated_retain()
445 skc_handle_t const handle = SKC_TYPED_HANDLE_TO_HANDLE(typed_handle); in skc_runtime_handle_host_validated_retain()
552 skc_typed_handle_t const typed_handle = handles[ii]; in skc_runtime_host_validated_release() local
554 if (!SKC_TYPED_HANDLE_IS_TYPE(typed_handle,type)) in skc_runtime_host_validated_release()
560 skc_handle_t const handle = SKC_TYPED_HANDLE_TO_HANDLE(typed_handle); in skc_runtime_host_validated_release()
648 skc_typed_handle_t const typed_handle = *handles++; in skc_runtime_handle_device_validate_retain() local
650 if (!SKC_TYPED_HANDLE_IS_TYPE(typed_handle,type)) in skc_runtime_handle_device_validate_retain()
656 skc_handle_t const handle = SKC_TYPED_HANDLE_TO_HANDLE(typed_handle); in skc_runtime_handle_device_validate_retain()
/external/vulkan-validation-layers/layers/
Dobject_tracker_utils.cpp31 VulkanTypedHandle typed_handle; in ObjTrackStateTypedHandle() local
32 typed_handle.handle = track_state.handle; in ObjTrackStateTypedHandle()
33 typed_handle.type = track_state.object_type; in ObjTrackStateTypedHandle()
34 return typed_handle; in ObjTrackStateTypedHandle()
Dcore_validation.cpp190 static Result GetObjectMemBindingImpl(State state, const VulkanTypedHandle &typed_handle) { in GetObjectMemBindingImpl() argument
191 switch (typed_handle.type) { in GetObjectMemBindingImpl()
193 return state->GetImageState(typed_handle.Cast<VkImage>()); in GetObjectMemBindingImpl()
195 return state->GetBufferState(typed_handle.Cast<VkBuffer>()); in GetObjectMemBindingImpl()
197 … return state->GetAccelerationStructureState(typed_handle.Cast<VkAccelerationStructureNV>()); in GetObjectMemBindingImpl()
203 const BINDABLE *ValidationStateTracker::GetObjectMemBinding(const VulkanTypedHandle &typed_handle) … in GetObjectMemBinding()
204 …turn GetObjectMemBindingImpl<const ValidationStateTracker *, const BINDABLE *>(this, typed_handle); in GetObjectMemBinding()
206 BINDABLE *ValidationStateTracker::GetObjectMemBinding(const VulkanTypedHandle &typed_handle) { in GetObjectMemBinding() argument
207 return GetObjectMemBindingImpl<ValidationStateTracker *, BINDABLE *>(this, typed_handle); in GetObjectMemBinding()
453 void ValidationStateTracker::ClearMemoryObjectBinding(const VulkanTypedHandle &typed_handle, VkDevi… in ClearMemoryObjectBinding() argument
[all …]
Dcore_validation.h352 const BINDABLE* GetObjectMemBinding(const VulkanTypedHandle& typed_handle) const;
353 BINDABLE* GetObjectMemBinding(const VulkanTypedHandle& typed_handle);
775 void ClearMemoryObjectBindings(const VulkanTypedHandle& typed_handle);
776 void ClearMemoryObjectBinding(const VulkanTypedHandle& typed_handle, VkDeviceMemory mem);
791 …void InsertMemoryRange(const VulkanTypedHandle& typed_handle, DEVICE_MEMORY_STATE* mem_info, VkDev…
839 const VulkanTypedHandle& typed_handle);
908 …bool ValidateSetMemBinding(VkDeviceMemory mem, const VulkanTypedHandle& typed_handle, const char* …
909 bool SetSparseMemBinding(MEM_BINDING binding, const VulkanTypedHandle& typed_handle);
1046 …bool ValidateInsertMemoryRange(const VulkanTypedHandle& typed_handle, const DEVICE_MEMORY_STATE* m…
1290 …UsageFlags(VkFlags actual, VkFlags desired, VkBool32 strict, const VulkanTypedHandle& typed_handle,
[all …]
Dbuffer_validation.cpp3761 …UsageFlags(VkFlags actual, VkFlags desired, VkBool32 strict, const VulkanTypedHandle &typed_handle, in ValidateUsageFlags() argument
3765 const char *type_str = object_string[typed_handle.type]; in ValidateUsageFlags()
3774 …kip = log_msg(report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, get_debug_report_enum[typed_handle.type], in ValidateUsageFlags()
3775 typed_handle.handle, kVUID_Core_MemTrack_InvalidUsageFlag, in ValidateUsageFlags()
3777 … report_data->FormatHandle(typed_handle).c_str(), func_name, type_str, usage_str); in ValidateUsageFlags()
3780 …_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, get_debug_report_enum[typed_handle.type], typed_handle.handl… in ValidateUsageFlags()
3782 … report_data->FormatHandle(typed_handle).c_str(), func_name, type_str, usage_str); in ValidateUsageFlags()