/external/vulkan-validation-layers/layers/ |
D | drawdispatch.cpp | 146 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawIndirect() local 147 …skip |= ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDrawIndirect()", "VUID-vkCmdDrawIndirect… in PreCallValidateCmdDrawIndirect() 148 …skip |= ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, "VUID-vk… in PreCallValidateCmdDrawIndirect() 155 … "VkDrawIndirectCommand", sizeof(VkDrawIndirectCommand), count, offset, buffer_state); in PreCallValidateCmdDrawIndirect() 170 BUFFER_STATE *buffer_state = GetBufferState(buffer); in PostCallRecordCmdDrawIndirect() local 172 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PostCallRecordCmdDrawIndirect() 181 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawIndexedIndirect() local 182 …skip |= ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDrawIndexedIndirect()", "VUID-vkCmdDrawI… in PreCallValidateCmdDrawIndexedIndirect() 183 skip |= ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, in PreCallValidateCmdDrawIndexedIndirect() 191 buffer_state); in PreCallValidateCmdDrawIndexedIndirect() [all …]
|
D | buffer_validation.cpp | 3849 bool CoreChecks::ValidateBufferUsageFlags(BUFFER_STATE const *buffer_state, VkFlags desired, bool s… in ValidateBufferUsageFlags() argument 3851 return ValidateUsageFlags(buffer_state->createInfo.usage, desired, strict, in ValidateBufferUsageFlags() 3852 …VulkanTypedHandle(buffer_state->buffer, kVulkanObjectTypeBuffer), msgCode, func_name, usage_string… in ValidateBufferUsageFlags() 3855 bool CoreChecks::ValidateBufferViewRange(const BUFFER_STATE *buffer_state, const VkBufferViewCreate… in ValidateBufferViewRange() argument 3864 … HandleToUint64(buffer_state->buffer), "VUID-VkBufferViewCreateInfo-range-00928", in ValidateBufferViewRange() 3873 … HandleToUint64(buffer_state->buffer), "VUID-VkBufferViewCreateInfo-range-00929", in ValidateBufferViewRange() 3882 … HandleToUint64(buffer_state->buffer), "VUID-VkBufferViewCreateInfo-range-00930", in ValidateBufferViewRange() 3889 if (range + pCreateInfo->offset > buffer_state->createInfo.size) { in ValidateBufferViewRange() 3891 … HandleToUint64(buffer_state->buffer), "VUID-VkBufferViewCreateInfo-offset-00931", in ValidateBufferViewRange() 3895 range, pCreateInfo->offset, buffer_state->createInfo.size); in ValidateBufferViewRange() [all …]
|
D | core_validation.cpp | 370 …tateTracker::AddCommandBufferBindingBuffer(CMD_BUFFER_STATE *cb_node, BUFFER_STATE *buffer_state) { in AddCommandBufferBindingBuffer() argument 375 …auto buffer_inserted = cb_node->object_bindings.emplace(buffer_state->buffer, kVulkanObjectTypeBuf… in AddCommandBufferBindingBuffer() 378 buffer_state->cb_bindings.insert(cb_node); in AddCommandBufferBindingBuffer() 380 for (auto mem_binding : buffer_state->GetBoundMemory()) { in AddCommandBufferBindingBuffer() 404 auto buffer_state = GetBufferState(view_state->create_info.buffer); in AddCommandBufferBindingBufferView() local 406 if (buffer_state) { in AddCommandBufferBindingBufferView() 407 AddCommandBufferBindingBuffer(cb_node, buffer_state); in AddCommandBufferBindingBufferView() 516 bool CoreChecks::ValidateMemoryIsBoundToBuffer(const BUFFER_STATE *buffer_state, const char *api_na… in ValidateMemoryIsBoundToBuffer() argument 519 …if (0 == (static_cast<uint32_t>(buffer_state->createInfo.flags) & VK_BUFFER_CREATE_SPARSE_BINDING_… in ValidateMemoryIsBoundToBuffer() 520 result = VerifyBoundMemoryIsValid(buffer_state->binding.mem, in ValidateMemoryIsBoundToBuffer() [all …]
|
D | descriptor_sets.cpp | 848 auto buffer_state = GetBufferState(buffer); in ValidateDrawState() local 849 if (!buffer_state) { in ValidateDrawState() 852 << buffer_state << " that has been destroyed."; in ValidateDrawState() 2565 auto buffer_state = GetBufferState(buffer); in VerifyWriteUpdateContents() local 2567 if (!buffer_state) { in VerifyWriteUpdateContents() 2574 …} else if (!cvdescriptorset::ValidateBufferUsage(buffer_state, update->descriptorType, error_code,… in VerifyWriteUpdateContents()
|
D | core_validation.h | 1307 …bool ValidateBufferViewRange(const BUFFER_STATE* buffer_state, const VkBufferViewCreateInfo* pCrea… 1309 …bool ValidateBufferViewBuffer(const BUFFER_STATE* buffer_state, const VkBufferViewCreateInfo* pCre… 1468 …bool ValidateBufferUsageFlags(BUFFER_STATE const* buffer_state, VkFlags desired, bool strict, cons… 1988 … const VkDeviceSize offset, const BUFFER_STATE* buffer_state) const;
|
/external/mesa3d/src/gallium/drivers/lima/ |
D | lima_context.c | 51 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_va() 63 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_map() 73 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_alloc() 144 pipe_resource_reference(&ctx->buffer_state[i].res, NULL); in lima_context_destroy()
|
D | lima_context.h | 227 struct lima_ctx_buff_state buffer_state[lima_ctx_buff_num]; member
|
D | lima_draw.c | 743 uint32_t size = ctx->buffer_state[lima_ctx_buff_pp_uniform].size; in lima_pack_render_state()
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | default_temporal_layers_unittest.cc | 711 bool UpdateSyncRefState(const BufferFlags& flags, BufferState* buffer_state) { in UpdateSyncRefState() argument 713 if (buffer_state->temporal_idx == -1) in UpdateSyncRefState() 715 if (buffer_state->temporal_idx == 0) { in UpdateSyncRefState() 718 tl0_reference_ = buffer_state; in UpdateSyncRefState() 727 const BufferState& buffer_state, in ValidateReference() argument 730 if (temporal_layer > 0 && buffer_state.timestamp > 0) { in ValidateReference() 732 EXPECT_GE(buffer_state.timestamp, last_sync_timestamp_); in ValidateReference() 735 EXPECT_LE(buffer_state.temporal_idx, temporal_layer); in ValidateReference()
|
/external/webrtc/modules/video_coding/ |
D | jitter_buffer.cc | 429 VCMFrameBufferEnum buffer_state = in InsertPacket() local 432 if (buffer_state > 0) { in InsertPacket() 442 buffer_state = kFlushIndicator; in InsertPacket() 452 switch (buffer_state) { in InsertPacket() 504 return buffer_state; in InsertPacket()
|
/external/mesa3d/src/hgl/ |
D | GLView.cpp | 353 switch (info->buffer_state & B_DIRECT_MODE_MASK) { in DirectConnected()
|