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

Method BindCompShader

tests/framework/binding.cpp:2149–2153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2147}
2148
2149void CommandBuffer::BindCompShader(const vkt::Shader& comp_shader) {
2150 const VkShaderStageFlagBits stages[] = {VK_SHADER_STAGE_COMPUTE_BIT};
2151 const VkShaderEXT shaders[] = {comp_shader};
2152 vk::CmdBindShadersEXT(handle(), 1u, stages, shaders);
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,

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

CmdBindShadersEXTFunction · 0.85

Tested by

no test coverage detected