[{"data":1,"prerenderedAt":419},["ShallowReactive",2],{"M6n1oSNMMA":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":418,"_id":4},"vkSignalSemaphore","Signal a timeline semaphore on the host","VK_VERSION_1_2","protos",[],{"type":10,"children":11,"toc":416},"root",[12,38,276,310,334,346,351,410],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36],{"type":18,"value":19},"text","To signal a semaphore created with a ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkSemaphoreType",[25],{"type":18,"value":26},"VkSemaphoreType",{"type":18,"value":28}," of\n",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"VK_SEMAPHORE_TYPE_TIMELINE",{"type":18,"value":37}," with a particular counter value, on the\nhost, call:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,127],{"type":13,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkSignalSemaphoreKHR(\n VkDevice device,\n const VkSemaphoreSignalInfo* pSignalInfo);\n","C","c","",[51],{"type":13,"tag":30,"props":52,"children":53},{"__ignoreMap":49},[54,77,97],{"type":13,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,72],{"type":13,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[64],{"type":18,"value":65},"VkResult ",{"type":13,"tag":55,"props":67,"children":69},{"style":68},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[70],{"type":18,"value":71},"vkSignalSemaphoreKHR",{"type":13,"tag":55,"props":73,"children":74},{"style":62},[75],{"type":18,"value":76},"(\n",{"type":13,"tag":55,"props":78,"children":80},{"class":57,"line":79},2,[81,86,92],{"type":13,"tag":55,"props":82,"children":83},{"style":62},[84],{"type":18,"value":85}," VkDevice ",{"type":13,"tag":55,"props":87,"children":89},{"style":88},"--shiki-default:#953800;--shiki-dark:#FFA657",[90],{"type":18,"value":91},"device",{"type":13,"tag":55,"props":93,"children":94},{"style":62},[95],{"type":18,"value":96},",\n",{"type":13,"tag":55,"props":98,"children":100},{"class":57,"line":99},3,[101,107,112,117,122],{"type":13,"tag":55,"props":102,"children":104},{"style":103},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[105],{"type":18,"value":106}," const",{"type":13,"tag":55,"props":108,"children":109},{"style":62},[110],{"type":18,"value":111}," VkSemaphoreSignalInfo",{"type":13,"tag":55,"props":113,"children":114},{"style":103},[115],{"type":18,"value":116},"*",{"type":13,"tag":55,"props":118,"children":119},{"style":88},[120],{"type":18,"value":121}," pSignalInfo",{"type":13,"tag":55,"props":123,"children":124},{"style":62},[125],{"type":18,"value":126},");\n",{"type":13,"tag":43,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn signal_semaphore_khr(\n device: crate :: vk :: vk::Device,\n p_signal_info: *const vk::SemaphoreSignalInfo,\n) -> vk::Result;\n","Rust","rs",[134],{"type":13,"tag":30,"props":135,"children":136},{"__ignoreMap":49},[137,159,210,244],{"type":13,"tag":55,"props":138,"children":139},{"class":57,"line":58},[140,145,150,155],{"type":13,"tag":55,"props":141,"children":142},{"style":103},[143],{"type":18,"value":144},"pub",{"type":13,"tag":55,"props":146,"children":147},{"style":103},[148],{"type":18,"value":149}," fn",{"type":13,"tag":55,"props":151,"children":152},{"style":68},[153],{"type":18,"value":154}," signal_semaphore_khr",{"type":13,"tag":55,"props":156,"children":157},{"style":62},[158],{"type":18,"value":76},{"type":13,"tag":55,"props":160,"children":161},{"class":57,"line":79},[162,167,172,177,182,187,192,197,201,206],{"type":13,"tag":55,"props":163,"children":164},{"style":62},[165],{"type":18,"value":166}," device",{"type":13,"tag":55,"props":168,"children":169},{"style":103},[170],{"type":18,"value":171},":",{"type":13,"tag":55,"props":173,"children":174},{"style":103},[175],{"type":18,"value":176}," crate",{"type":13,"tag":55,"props":178,"children":179},{"style":103},[180],{"type":18,"value":181}," ::",{"type":13,"tag":55,"props":183,"children":184},{"style":62},[185],{"type":18,"value":186}," vk ",{"type":13,"tag":55,"props":188,"children":189},{"style":103},[190],{"type":18,"value":191},"::",{"type":13,"tag":55,"props":193,"children":194},{"style":88},[195],{"type":18,"value":196}," vk",{"type":13,"tag":55,"props":198,"children":199},{"style":103},[200],{"type":18,"value":191},{"type":13,"tag":55,"props":202,"children":203},{"style":88},[204],{"type":18,"value":205},"Device",{"type":13,"tag":55,"props":207,"children":208},{"style":62},[209],{"type":18,"value":96},{"type":13,"tag":55,"props":211,"children":212},{"class":57,"line":99},[213,218,222,227,231,235,240],{"type":13,"tag":55,"props":214,"children":215},{"style":62},[216],{"type":18,"value":217}," p_signal_info",{"type":13,"tag":55,"props":219,"children":220},{"style":103},[221],{"type":18,"value":171},{"type":13,"tag":55,"props":223,"children":224},{"style":103},[225],{"type":18,"value":226}," *const",{"type":13,"tag":55,"props":228,"children":229},{"style":88},[230],{"type":18,"value":196},{"type":13,"tag":55,"props":232,"children":233},{"style":103},[234],{"type":18,"value":191},{"type":13,"tag":55,"props":236,"children":237},{"style":88},[238],{"type":18,"value":239},"SemaphoreSignalInfo",{"type":13,"tag":55,"props":241,"children":242},{"style":62},[243],{"type":18,"value":96},{"type":13,"tag":55,"props":245,"children":247},{"class":57,"line":246},4,[248,253,258,262,266,271],{"type":13,"tag":55,"props":249,"children":250},{"style":62},[251],{"type":18,"value":252},") ",{"type":13,"tag":55,"props":254,"children":255},{"style":103},[256],{"type":18,"value":257},"->",{"type":13,"tag":55,"props":259,"children":260},{"style":88},[261],{"type":18,"value":196},{"type":13,"tag":55,"props":263,"children":264},{"style":103},[265],{"type":18,"value":191},{"type":13,"tag":55,"props":267,"children":268},{"style":88},[269],{"type":18,"value":270},"Result",{"type":13,"tag":55,"props":272,"children":273},{"style":62},[274],{"type":18,"value":275},";\n",{"type":13,"tag":277,"props":278,"children":279},"ul",{},[280,291],{"type":13,"tag":281,"props":282,"children":283},"li",{},[284,289],{"type":13,"tag":30,"props":285,"children":287},{"className":286},[],[288],{"type":18,"value":91},{"type":18,"value":290}," is the logical device that owns the semaphore.",{"type":13,"tag":281,"props":292,"children":293},{},[294,300,302,308],{"type":13,"tag":30,"props":295,"children":297},{"className":296},[],[298],{"type":18,"value":299},"pSignalInfo",{"type":18,"value":301}," is a pointer to a ",{"type":13,"tag":21,"props":303,"children":305},{"href":304},"/man/VkSemaphoreSignalInfo",[306],{"type":18,"value":307},"VkSemaphoreSignalInfo",{"type":18,"value":309},"\nstructure containing information about the signal operation.",{"type":13,"tag":14,"props":311,"children":312},{},[313,315,320,322,332],{"type":18,"value":314},"When ",{"type":13,"tag":30,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":4},{"type":18,"value":321}," is executed on the host, it defines and\nimmediately executes a ",{"type":13,"tag":21,"props":323,"children":325},{"href":324},"/chapters/synchronization#synchronization-semaphores-signaling",[326],{"type":13,"tag":327,"props":328,"children":329},"em",{},[330],{"type":18,"value":331},"semaphore\nsignal operation",{"type":18,"value":333}," which sets the timeline semaphore to the given value.",{"type":13,"tag":14,"props":335,"children":336},{},[337,339,344],{"type":18,"value":338},"The first synchronization scope is defined by the host execution model, but\nincludes execution of ",{"type":13,"tag":30,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":4},{"type":18,"value":345}," on the host and anything that\nhappened-before it.",{"type":13,"tag":14,"props":347,"children":348},{},[349],{"type":18,"value":350},"The second synchronization scope is empty.",{"type":13,"tag":352,"props":353,"children":355},"validity-group",{"name":354},"Valid Usage (Implicit)",[356,386],{"type":13,"tag":357,"props":358,"children":360},"validity-field",{"name":359},"VUID-vkSignalSemaphore-device-parameter",[361],{"type":13,"tag":14,"props":362,"children":363},{},[364,369,371,376,378,384],{"type":13,"tag":30,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":91},{"type":18,"value":370}," ",{"type":13,"tag":372,"props":373,"children":375},"normative",{"type":374},"must",[],{"type":18,"value":377}," be a valid ",{"type":13,"tag":21,"props":379,"children":381},{"href":380},"/man/VkDevice",[382],{"type":18,"value":383},"VkDevice",{"type":18,"value":385}," handle",{"type":13,"tag":357,"props":387,"children":389},{"name":388},"VUID-vkSignalSemaphore-pSignalInfo-parameter",[390],{"type":13,"tag":14,"props":391,"children":392},{},[393,398,399,402,404,408],{"type":13,"tag":30,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":299},{"type":18,"value":370},{"type":13,"tag":372,"props":400,"children":401},{"type":374},[],{"type":18,"value":403}," be a valid pointer to a valid ",{"type":13,"tag":21,"props":405,"children":406},{"href":304},[407],{"type":18,"value":307},{"type":18,"value":409}," structure",{"type":13,"tag":411,"props":412,"children":413},"style",{},[414],{"type":18,"value":415},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":49,"searchDepth":79,"depth":79,"links":417},[],"markdown",1725732623706]