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

Method BindMeshShaders

tests/framework/binding.cpp:2155–2160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2153}
2154
2155void CommandBuffer::BindMeshShaders(const vkt::Shader& mesh_shader, const vkt::Shader& frag_shader) {
2156 const VkShaderStageFlagBits stages[] = {VK_SHADER_STAGE_TASK_BIT_EXT, VK_SHADER_STAGE_MESH_BIT_EXT,
2157 VK_SHADER_STAGE_FRAGMENT_BIT, VK_SHADER_STAGE_VERTEX_BIT};
2158 const VkShaderEXT shaders[] = {VK_NULL_HANDLE, mesh_shader, frag_shader, VK_NULL_HANDLE};
2159 vk::CmdBindShadersEXT(handle(), 4u, stages, shaders);
2160}
2161
2162void CommandBuffer::BindMeshShaders(const vkt::Shader& task_shader, const vkt::Shader& mesh_shader,
2163 const vkt::Shader& frag_shader) {

Callers 4

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

Calls 1

CmdBindShadersEXTFunction · 0.85

Tested by

no test coverage detected