Home
last modified time | relevance | path

Searched refs:cb_state (Results 1 – 20 of 20) sorted by relevance

/external/vulkan-validation-layers/layers/
Ddrawdispatch.cpp54 const CMD_BUFFER_STATE *cb_state = GetCBState(cmd_buffer); in ValidateCmdDrawType() local
55 if (cb_state) { in ValidateCmdDrawType()
56 skip |= ValidateCmdQueueFlags(cb_state, caller, queue_flags, queue_flag_code); in ValidateCmdDrawType()
57 skip |= ValidateCmd(cb_state, cmd_type, caller); in ValidateCmdDrawType()
59 …ValidateCmdBufDrawState(cb_state, cmd_type, indexed, bind_point, caller, pipebound_msg_code, dynam… in ValidateCmdDrawType()
60 …skip |= (VK_PIPELINE_BIND_POINT_GRAPHICS == bind_point) ? OutsideRenderPass(cb_state, caller, rend… in ValidateCmdDrawType()
61 … : InsideRenderPass(cb_state, caller, renderpass_msg_code); in ValidateCmdDrawType()
67 void ValidationStateTracker::UpdateStateCmdDrawDispatchType(CMD_BUFFER_STATE *cb_state, VkPipelineB… in UpdateStateCmdDrawDispatchType() argument
68 UpdateDrawState(cb_state, bind_point); in UpdateStateCmdDrawDispatchType()
69 cb_state->hasDispatchCmd = true; in UpdateStateCmdDrawDispatchType()
[all …]
Dcore_validation.cpp210 ImageSubresourceLayoutMap::InitialLayoutState::InitialLayoutState(const CMD_BUFFER_STATE &cb_state, in InitialLayoutState() argument
212 : image_view(VK_NULL_HANDLE), aspect_mask(0), label(cb_state.debug_label) { in InitialLayoutState()
270 const ImageSubresourceLayoutMap *GetImageSubresourceLayoutMap(const CMD_BUFFER_STATE *cb_state, VkI… in GetImageSubresourceLayoutMap() argument
271 auto it = cb_state->image_layout_map.find(image); in GetImageSubresourceLayoutMap()
272 if (it == cb_state->image_layout_map.cend()) { in GetImageSubresourceLayoutMap()
279 ImageSubresourceLayoutMap *GetImageSubresourceLayoutMap(CMD_BUFFER_STATE *cb_state, const IMAGE_STA… in GetImageSubresourceLayoutMap() argument
280 auto it = cb_state->image_layout_map.find(image_state.image); in GetImageSubresourceLayoutMap()
281 if (it == cb_state->image_layout_map.end()) { in GetImageSubresourceLayoutMap()
283 …auto insert_pair = cb_state->image_layout_map.insert(std::make_pair(image_state.image, LayoutMapFa… in GetImageSubresourceLayoutMap()
1261 void ValidationStateTracker::UpdateDrawState(CMD_BUFFER_STATE *cb_state, const VkPipelineBindPoint … in UpdateDrawState() argument
[all …]
Dcore_validation.h773 void AddFramebufferBinding(CMD_BUFFER_STATE* cb_state, FRAMEBUFFER_STATE* fb_state);
800 void RecordCmdBeginQuery(CMD_BUFFER_STATE* cb_state, const QueryObject& query_obj);
801 void RecordCmdEndQuery(CMD_BUFFER_STATE* cb_state, const QueryObject& query_obj);
845 …void UpdateLastBoundDescriptorSets(CMD_BUFFER_STATE* cb_state, VkPipelineBindPoint pipeline_bind_p…
849 void UpdateStateCmdDrawDispatchType(CMD_BUFFER_STATE* cb_state, VkPipelineBindPoint bind_point);
850 void UpdateStateCmdDrawType(CMD_BUFFER_STATE* cb_state, VkPipelineBindPoint bind_point);
851 void UpdateDrawState(CMD_BUFFER_STATE* cb_state, const VkPipelineBindPoint bind_point);
953 … bool ReportInvalidCommandBuffer(const CMD_BUFFER_STATE* cb_state, const char* call_source) const;
962 …bool ValidateImageBarrierImage(const char* funcName, CMD_BUFFER_STATE const* cb_state, VkFramebuff…
968 …bool ValidateBarriers(const char* funcName, CMD_BUFFER_STATE* cb_state, VkPipelineStageFlags src_s…
[all …]
Ddescriptor_sets.h588 void UpdateValidationCache(const CMD_BUFFER_STATE &cb_state, const PIPELINE_STATE &pipeline,
590 void ClearCachedDynamicDescriptorValidation(CMD_BUFFER_STATE *cb_state) { in ClearCachedDynamicDescriptorValidation() argument
591 cached_validation_[cb_state].dynamic_buffers.clear(); in ClearCachedDynamicDescriptorValidation()
593 void ClearCachedValidation(CMD_BUFFER_STATE *cb_state) { cached_validation_.erase(cb_state); } in ClearCachedValidation() argument
663 const BindingReqMap &FilteredMap(const CMD_BUFFER_STATE &cb_state, const PIPELINE_STATE &);
Dbuffer_validation.cpp634 void CoreChecks::TransitionBeginRenderPassLayouts(CMD_BUFFER_STATE *cb_state, const RENDER_PASS_STA… in TransitionBeginRenderPassLayouts() argument
641 SetImageViewLayout(cb_state, *view_state, rpci->pAttachments[i].initialLayout); in TransitionBeginRenderPassLayouts()
645 TransitionSubpassLayouts(cb_state, render_pass_state, 0, framebuffer_state); in TransitionBeginRenderPassLayouts()
725 bool CoreChecks::ValidateBarriersToImages(CMD_BUFFER_STATE const *cb_state, uint32_t imageMemoryBar… in ValidateBarriersToImages() argument
763 … HandleToUint64(cb_state->commandBuffer), "VUID-VkImageMemoryBarrier-oldLayout-01197", in ValidateBarriersToImages()
813 const auto *subresource_map = GetImageSubresourceLayoutMap(cb_state, img_barrier.image); in ValidateBarriersToImages()
822 auto subres_callback = [this, img_barrier, cb_state, &layout_check, &subres_skip]( in ValidateBarriersToImages()
827 … HandleToUint64(cb_state->commandBuffer), "VUID-VkImageMemoryBarrier-oldLayout-01197", in ValidateBarriersToImages()
844 bool CoreChecks::IsReleaseOp(CMD_BUFFER_STATE *cb_state, const VkImageMemoryBarrier &barrier) const… in IsReleaseOp() argument
847 auto pool = GetCommandPoolState(cb_state->createInfo.commandPool); in IsReleaseOp()
[all …]
Dcore_validation_types.h559 …virtual bool SetSubresourceRangeLayout(const CMD_BUFFER_STATE &cb_state, const VkImageSubresourceR…
561 …virtual bool SetSubresourceRangeInitialLayout(const CMD_BUFFER_STATE &cb_state, const VkImageSubre…
632 …bool SetSubresourceRangeLayout(const CMD_BUFFER_STATE &cb_state, const VkImageSubresourceRange &ra…
656 … initial_state = UpdateInitialLayoutState(start, end, initial_state, cb_state, nullptr);
665 …bool SetSubresourceRangeInitialLayout(const CMD_BUFFER_STATE &cb_state, const VkImageSubresourceRa…
683 … initial_state = UpdateInitialLayoutState(start, end, initial_state, cb_state, view_state);
845 … const CMD_BUFFER_STATE &cb_state, const IMAGE_VIEW_STATE *view_state) {
849 initial_state = new InitialLayoutState(cb_state, view_state);
1585 ImageSubresourceLayoutMap *GetImageSubresourceLayoutMap(CMD_BUFFER_STATE *cb_state, const IMAGE_STA…
1586 const ImageSubresourceLayoutMap *GetImageSubresourceLayoutMap(const CMD_BUFFER_STATE *cb_state, VkI…
Ddescriptor_sets.cpp1217 void cvdescriptorset::DescriptorSet::FilterBindingReqs(const CMD_BUFFER_STATE &cb_state, const PIPE… in FilterBindingReqs() argument
1220 const auto validated_it = cached_validation_.find(&cb_state); in FilterBindingReqs()
1258 …if (version_it != image_sample_version->cend() && (version_it->second == cb_state.image_layout_cha… in FilterBindingReqs()
1269 void cvdescriptorset::DescriptorSet::UpdateValidationCache(const CMD_BUFFER_STATE &cb_state, const … in UpdateValidationCache() argument
1272 auto &validated = cached_validation_[&cb_state]; in UpdateValidationCache()
1292 image_sample_version[binding] = cb_state.image_layout_change_count; in UpdateValidationCache()
2274 …dingReqMap &cvdescriptorset::PrefilterBindRequestMap::FilteredMap(const CMD_BUFFER_STATE &cb_state, in FilteredMap() argument
2278 descriptor_set_.FilterBindingReqs(cb_state, pipeline, orig_map_, filtered_map_.get()); in FilteredMap()
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_callbacks.c456 switch (cb_ctx->cb_state) { in ifapi_policyeval_cbauth()
457 statecase(cb_ctx->cb_state, POL_CB_EXECUTE_INIT); in ifapi_policyeval_cbauth()
471 statecase(cb_ctx->cb_state, POL_CB_READ_OBJECT); in ifapi_policyeval_cbauth()
493 cb_ctx->cb_state = POL_CB_AUTHORIZE_OBJECT; in ifapi_policyeval_cbauth()
499 cb_ctx->cb_state = POL_CB_AUTHORIZE_OBJECT; in ifapi_policyeval_cbauth()
504 cb_ctx->cb_state = POL_CB_LOAD_KEY; in ifapi_policyeval_cbauth()
508 statecase(cb_ctx->cb_state, POL_CB_LOAD_KEY); in ifapi_policyeval_cbauth()
519 statecase(cb_ctx->cb_state, POL_CB_AUTHORIZE_OBJECT); in ifapi_policyeval_cbauth()
524 cb_ctx->cb_state = POL_CB_EXECUTE_INIT; in ifapi_policyeval_cbauth()
528 statecasedefault(cb_ctx->cb_state); in ifapi_policyeval_cbauth()
[all …]
Difapi_policy_callbacks.h24 enum IFAPI_STATE_POL_CB_EXCECUTE cb_state; member
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Datmi_runtime.h90 void *cb_state),
91 void *cb_state);
Datmi.cpp33 void *cb_state), in atmi_module_register_from_memory_to_place() argument
34 void *cb_state) { in atmi_module_register_from_memory_to_place()
36 module_bytes, module_size, place, on_deserialized_data, cb_state); in atmi_module_register_from_memory_to_place()
Drt.h64 void *cb_state),
65 void *cb_state);
Dsystem.cpp1018 void *cb_state), in callbackEvent() argument
1019 void *cb_state) { in callbackEvent()
1061 on_deserialized_data(code_object_alloc_data, module_size, cb_state); in callbackEvent()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c378 VkPipelineColorBlendStateCreateInfo* cb_state; in deep_copy_graphics_create_info() local
380 cb_state = malloc(sizeof(VkPipelineColorBlendStateCreateInfo)); in deep_copy_graphics_create_info()
381 if (!cb_state) in deep_copy_graphics_create_info()
383 deep_copy_color_blend_state(cb_state, src->pColorBlendState); in deep_copy_graphics_create_info()
384 dst->pColorBlendState = cb_state; in deep_copy_graphics_create_info()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c247 const VkPipelineColorBlendStateCreateInfo *cb_state, in create_pipeline() argument
312 .pColorBlendState = cb_state, in create_pipeline()
393 const VkPipelineColorBlendStateCreateInfo cb_state = { in create_color_clear_pipeline() local
406 &cb_state, in create_color_clear_pipeline()
450 const VkPipelineColorBlendStateCreateInfo cb_state = { in create_depth_clear_pipeline() local
463 &cb_state, in create_depth_clear_pipeline()
Dv3dv_meta_copy.c3626 const VkPipelineColorBlendStateCreateInfo *cb_state, in create_pipeline() argument
3685 .pColorBlendState = cb_state, in create_pipeline()
3789 const VkPipelineColorBlendStateCreateInfo cb_state = { in create_blit_pipeline() local
3810 &cb_state, in create_blit_pipeline()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c102 const VkPipelineColorBlendStateCreateInfo *cb_state, in create_pipeline() argument
161 .pColorBlendState = cb_state, in create_pipeline()
306 const VkPipelineColorBlendStateCreateInfo cb_state = { in create_color_pipeline() local
318 samples, vs_nir, fs_nir, &vi_state, &ds_state, &cb_state, in create_color_pipeline()
681 const VkPipelineColorBlendStateCreateInfo cb_state = { in create_depthstencil_pipeline() local
701 samples, vs_nir, fs_nir, &vi_state, &ds_state, &cb_state, in create_depthstencil_pipeline()
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/src/
Drtl.cpp910 auto L = [](void *data, size_t size, void *cb_state) -> atmi_status_t { in module_register_from_memory_to_place() argument
911 C *unwrapped = static_cast<C *>(cb_state); in module_register_from_memory_to_place()
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi9962 …<var-decl name="cb_state" type-id="95e97e5e" visibility="default" filepath="include/linux/rcu_sync…
78519 …<var-decl name="cb_state" type-id="95e97e5e" visibility="default" filepath="include/linux/rcu_sync…
Dtest-PR27569-v1.abi9962 …<var-decl name="cb_state" type-id="95e97e5e" visibility="default" filepath="include/linux/rcu_sync…
78533 …<var-decl name="cb_state" type-id="95e97e5e" visibility="default" filepath="include/linux/rcu_sync…