MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / PushData

Method PushData

tests/framework/binding.cpp:2106–2112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2104}
2105
2106void CommandBuffer::PushData(uint32_t offset, size_t size, const void* address) {
2107 VkPushDataInfoEXT push_data = vku::InitStructHelper();
2108 push_data.offset = offset;
2109 push_data.data.address = address;
2110 push_data.data.size = size;
2111 vk::CmdPushDataEXT(handle(), &push_data);
2112}
2113
2114void CommandBuffer::BindShaders(const vkt::Shader& vert_shader, const vkt::Shader& frag_shader) {
2115 const VkShaderStageFlagBits stages[] = {VK_SHADER_STAGE_VERTEX_BIT, VK_SHADER_STAGE_FRAGMENT_BIT};

Callers 8

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

CmdPushDataEXTFunction · 0.85

Tested by

no test coverage detected