MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / vkCmdSetLineWidth

Function vkCmdSetLineWidth

layersvt/generated/api_dump_dispatch.h:4282–4299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4280}
4281template <ApiDumpFormat Format>
4282VKAPI_ATTR void VKAPI_CALL vkCmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth) {
4283 std::lock_guard<std::mutex> lg(ApiDumpInstance::current().outputMutex());
4284
4285 dump_function_head(ApiDumpInstance::current(), "vkCmdSetLineWidth", "commandBuffer, lineWidth", "void");
4286 if constexpr (Format == ApiDumpFormat::Text) {
4287 if (ApiDumpInstance::current().settings().shouldPreDump() && ApiDumpInstance::current().shouldDumpOutput()) {
4288 dump_before_pre_dump_formatting<Format>(ApiDumpInstance::current().settings());
4289 dump_params_vkCmdSetLineWidth<Format>(ApiDumpInstance::current(), commandBuffer, lineWidth);
4290 }
4291 }
4292 device_dispatch_table(commandBuffer)->CmdSetLineWidth(commandBuffer, lineWidth);
4293 if (ApiDumpInstance::current().shouldDumpOutput()) {
4294 dump_pre_function_formatting<Format>(ApiDumpInstance::current().settings());
4295 dump_params_vkCmdSetLineWidth<Format>(ApiDumpInstance::current(), commandBuffer, lineWidth);
4296 dump_post_function_formatting<Format>(ApiDumpInstance::current().settings());
4297 flush(ApiDumpInstance::current().settings());
4298 }
4299}
4300template <ApiDumpFormat Format>
4301VKAPI_ATTR void VKAPI_CALL vkCmdSetDepthBias(VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) {
4302 std::lock_guard<std::mutex> lg(ApiDumpInstance::current().outputMutex());

Callers

nothing calls this directly

Calls 5

dump_function_headFunction · 0.85
device_dispatch_tableFunction · 0.85
flushFunction · 0.85
shouldPreDumpMethod · 0.80
shouldDumpOutputMethod · 0.80

Tested by

no test coverage detected