[{"data":1,"prerenderedAt":1348},["ShallowReactive",2],{"X07ukEKk0A":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":15,"type":17,"xrefs":18,"body":19,"_type":1347,"_id":4},"vkCmdWriteBufferMarker2AMD","Execute a pipelined write of a marker value into a buffer","VK_AMD_buffer_marker",[8,9],"primary","secondary","both",[12,13,14],"transfer","graphics","compute",[16],"action","protos",[],{"type":20,"children":21,"toc":1345},"root",[22,30,344,400,419,465,488,506,1114,1293,1339],{"type":23,"tag":24,"props":25,"children":26},"element","p",{},[27],{"type":28,"value":29},"text","To write a 32-bit marker value into a buffer as a pipelined operation, call:",{"type":23,"tag":31,"props":32,"children":33},"code-group",{},[34,164],{"type":23,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdWriteBufferMarker2AMD(\n VkCommandBuffer commandBuffer,\n VkPipelineStageFlags2 stage,\n VkBuffer dstBuffer,\n VkDeviceSize dstOffset,\n uint32_t marker);\n","C","c","",[43],{"type":23,"tag":44,"props":45,"children":46},"code",{"__ignoreMap":41},[47,71,91,109,127,145],{"type":23,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,65],{"type":23,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":28,"value":58},"void",{"type":23,"tag":48,"props":60,"children":62},{"style":61},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[63],{"type":28,"value":64}," vkCmdWriteBufferMarker2AMD",{"type":23,"tag":48,"props":66,"children":68},{"style":67},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[69],{"type":28,"value":70},"(\n",{"type":23,"tag":48,"props":72,"children":74},{"class":50,"line":73},2,[75,80,86],{"type":23,"tag":48,"props":76,"children":77},{"style":67},[78],{"type":28,"value":79}," VkCommandBuffer ",{"type":23,"tag":48,"props":81,"children":83},{"style":82},"--shiki-default:#953800;--shiki-dark:#FFA657",[84],{"type":28,"value":85},"commandBuffer",{"type":23,"tag":48,"props":87,"children":88},{"style":67},[89],{"type":28,"value":90},",\n",{"type":23,"tag":48,"props":92,"children":94},{"class":50,"line":93},3,[95,100,105],{"type":23,"tag":48,"props":96,"children":97},{"style":67},[98],{"type":28,"value":99}," VkPipelineStageFlags2 ",{"type":23,"tag":48,"props":101,"children":102},{"style":82},[103],{"type":28,"value":104},"stage",{"type":23,"tag":48,"props":106,"children":107},{"style":67},[108],{"type":28,"value":90},{"type":23,"tag":48,"props":110,"children":112},{"class":50,"line":111},4,[113,118,123],{"type":23,"tag":48,"props":114,"children":115},{"style":67},[116],{"type":28,"value":117}," VkBuffer ",{"type":23,"tag":48,"props":119,"children":120},{"style":82},[121],{"type":28,"value":122},"dstBuffer",{"type":23,"tag":48,"props":124,"children":125},{"style":67},[126],{"type":28,"value":90},{"type":23,"tag":48,"props":128,"children":130},{"class":50,"line":129},5,[131,136,141],{"type":23,"tag":48,"props":132,"children":133},{"style":67},[134],{"type":28,"value":135}," VkDeviceSize ",{"type":23,"tag":48,"props":137,"children":138},{"style":82},[139],{"type":28,"value":140},"dstOffset",{"type":23,"tag":48,"props":142,"children":143},{"style":67},[144],{"type":28,"value":90},{"type":23,"tag":48,"props":146,"children":148},{"class":50,"line":147},6,[149,154,159],{"type":23,"tag":48,"props":150,"children":151},{"style":55},[152],{"type":28,"value":153}," uint32_t",{"type":23,"tag":48,"props":155,"children":156},{"style":82},[157],{"type":28,"value":158}," marker",{"type":23,"tag":48,"props":160,"children":161},{"style":67},[162],{"type":28,"value":163},");\n",{"type":23,"tag":35,"props":165,"children":170},{"className":166,"code":167,"filename":168,"language":169,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_write_buffer_marker2_amd(\n command_buffer: vk::CommandBuffer,\n stage: vk::PipelineStageFlags2,\n dst_buffer: vk::Buffer,\n dst_offset: vk::DeviceSize,\n marker: u32,\n);\n","Rust","rs",[171],{"type":23,"tag":44,"props":172,"children":173},{"__ignoreMap":41},[174,196,228,257,286,315,336],{"type":23,"tag":48,"props":175,"children":176},{"class":50,"line":51},[177,182,187,192],{"type":23,"tag":48,"props":178,"children":179},{"style":55},[180],{"type":28,"value":181},"pub",{"type":23,"tag":48,"props":183,"children":184},{"style":55},[185],{"type":28,"value":186}," fn",{"type":23,"tag":48,"props":188,"children":189},{"style":61},[190],{"type":28,"value":191}," cmd_write_buffer_marker2_amd",{"type":23,"tag":48,"props":193,"children":194},{"style":67},[195],{"type":28,"value":70},{"type":23,"tag":48,"props":197,"children":198},{"class":50,"line":73},[199,204,209,214,219,224],{"type":23,"tag":48,"props":200,"children":201},{"style":67},[202],{"type":28,"value":203}," command_buffer",{"type":23,"tag":48,"props":205,"children":206},{"style":55},[207],{"type":28,"value":208},":",{"type":23,"tag":48,"props":210,"children":211},{"style":82},[212],{"type":28,"value":213}," vk",{"type":23,"tag":48,"props":215,"children":216},{"style":55},[217],{"type":28,"value":218},"::",{"type":23,"tag":48,"props":220,"children":221},{"style":82},[222],{"type":28,"value":223},"CommandBuffer",{"type":23,"tag":48,"props":225,"children":226},{"style":67},[227],{"type":28,"value":90},{"type":23,"tag":48,"props":229,"children":230},{"class":50,"line":93},[231,236,240,244,248,253],{"type":23,"tag":48,"props":232,"children":233},{"style":67},[234],{"type":28,"value":235}," stage",{"type":23,"tag":48,"props":237,"children":238},{"style":55},[239],{"type":28,"value":208},{"type":23,"tag":48,"props":241,"children":242},{"style":82},[243],{"type":28,"value":213},{"type":23,"tag":48,"props":245,"children":246},{"style":55},[247],{"type":28,"value":218},{"type":23,"tag":48,"props":249,"children":250},{"style":82},[251],{"type":28,"value":252},"PipelineStageFlags2",{"type":23,"tag":48,"props":254,"children":255},{"style":67},[256],{"type":28,"value":90},{"type":23,"tag":48,"props":258,"children":259},{"class":50,"line":111},[260,265,269,273,277,282],{"type":23,"tag":48,"props":261,"children":262},{"style":67},[263],{"type":28,"value":264}," dst_buffer",{"type":23,"tag":48,"props":266,"children":267},{"style":55},[268],{"type":28,"value":208},{"type":23,"tag":48,"props":270,"children":271},{"style":82},[272],{"type":28,"value":213},{"type":23,"tag":48,"props":274,"children":275},{"style":55},[276],{"type":28,"value":218},{"type":23,"tag":48,"props":278,"children":279},{"style":82},[280],{"type":28,"value":281},"Buffer",{"type":23,"tag":48,"props":283,"children":284},{"style":67},[285],{"type":28,"value":90},{"type":23,"tag":48,"props":287,"children":288},{"class":50,"line":129},[289,294,298,302,306,311],{"type":23,"tag":48,"props":290,"children":291},{"style":67},[292],{"type":28,"value":293}," dst_offset",{"type":23,"tag":48,"props":295,"children":296},{"style":55},[297],{"type":28,"value":208},{"type":23,"tag":48,"props":299,"children":300},{"style":82},[301],{"type":28,"value":213},{"type":23,"tag":48,"props":303,"children":304},{"style":55},[305],{"type":28,"value":218},{"type":23,"tag":48,"props":307,"children":308},{"style":82},[309],{"type":28,"value":310},"DeviceSize",{"type":23,"tag":48,"props":312,"children":313},{"style":67},[314],{"type":28,"value":90},{"type":23,"tag":48,"props":316,"children":317},{"class":50,"line":147},[318,323,327,332],{"type":23,"tag":48,"props":319,"children":320},{"style":67},[321],{"type":28,"value":322}," marker",{"type":23,"tag":48,"props":324,"children":325},{"style":55},[326],{"type":28,"value":208},{"type":23,"tag":48,"props":328,"children":329},{"style":82},[330],{"type":28,"value":331}," u32",{"type":23,"tag":48,"props":333,"children":334},{"style":67},[335],{"type":28,"value":90},{"type":23,"tag":48,"props":337,"children":339},{"class":50,"line":338},7,[340],{"type":23,"tag":48,"props":341,"children":342},{"style":67},[343],{"type":28,"value":163},{"type":23,"tag":345,"props":346,"children":347},"ul",{},[348,359,369,379,389],{"type":23,"tag":349,"props":350,"children":351},"li",{},[352,357],{"type":23,"tag":44,"props":353,"children":355},{"className":354},[],[356],{"type":28,"value":85},{"type":28,"value":358}," is the command buffer into which the command will be\nrecorded.",{"type":23,"tag":349,"props":360,"children":361},{},[362,367],{"type":23,"tag":44,"props":363,"children":365},{"className":364},[],[366],{"type":28,"value":104},{"type":28,"value":368}," specifies the pipeline stage whose completion triggers the\nmarker write.",{"type":23,"tag":349,"props":370,"children":371},{},[372,377],{"type":23,"tag":44,"props":373,"children":375},{"className":374},[],[376],{"type":28,"value":122},{"type":28,"value":378}," is the buffer where the marker will be written.",{"type":23,"tag":349,"props":380,"children":381},{},[382,387],{"type":23,"tag":44,"props":383,"children":385},{"className":384},[],[386],{"type":28,"value":140},{"type":28,"value":388}," is the byte offset into the buffer where the marker will\nbe written.",{"type":23,"tag":349,"props":390,"children":391},{},[392,398],{"type":23,"tag":44,"props":393,"children":395},{"className":394},[],[396],{"type":28,"value":397},"marker",{"type":28,"value":399}," is the 32-bit value of the marker.",{"type":23,"tag":24,"props":401,"children":402},{},[403,405,410,412,417],{"type":28,"value":404},"The command will write the 32-bit marker value into the buffer only after\nall preceding commands have finished executing up to at least the specified\npipeline stage.\nThis includes the completion of other preceding\n",{"type":23,"tag":44,"props":406,"children":408},{"className":407},[],[409],{"type":28,"value":4},{"type":28,"value":411}," commands so long as their specified\npipeline stages occur either at the same time or earlier than this command’s\nspecified ",{"type":23,"tag":44,"props":413,"children":415},{"className":414},[],[416],{"type":28,"value":104},{"type":28,"value":418},".",{"type":23,"tag":24,"props":420,"children":421},{},[422,424,429,431,436,438,444,446,449,451,456,458,464],{"type":28,"value":423},"While consecutive buffer marker writes with the same ",{"type":23,"tag":44,"props":425,"children":427},{"className":426},[],[428],{"type":28,"value":104},{"type":28,"value":430}," parameter\nimplicitly complete in submission order, memory and execution dependencies\nbetween buffer marker writes and other operations ",{"type":23,"tag":432,"props":433,"children":435},"normative",{"type":434},"must",[],{"type":28,"value":437}," still be explicitly\nordered using synchronization commands.\nThe access scope for buffer marker writes falls under the\n",{"type":23,"tag":44,"props":439,"children":441},{"className":440},[],[442],{"type":28,"value":443},"VK_ACCESS_TRANSFER_WRITE_BIT",{"type":28,"value":445},", and the pipeline stages for identifying\nthe synchronization scope ",{"type":23,"tag":432,"props":447,"children":448},{"type":434},[],{"type":28,"value":450}," include both ",{"type":23,"tag":44,"props":452,"children":454},{"className":453},[],[455],{"type":28,"value":104},{"type":28,"value":457}," and\n",{"type":23,"tag":44,"props":459,"children":461},{"className":460},[],[462],{"type":28,"value":463},"VK_PIPELINE_STAGE_TRANSFER_BIT",{"type":28,"value":418},{"type":23,"tag":466,"props":467,"children":468},"note",{},[469],{"type":23,"tag":24,"props":470,"children":471},{},[472,474,480,482,486],{"type":28,"value":473},"Similar to ",{"type":23,"tag":44,"props":475,"children":477},{"className":476},[],[478],{"type":28,"value":479},"vkCmdWriteTimestamp2",{"type":28,"value":481},", if an implementation is unable to\nwrite a marker at any specific pipeline stage, it ",{"type":23,"tag":432,"props":483,"children":485},{"type":484},"may",[],{"type":28,"value":487}," instead do so at any\nlogically later stage.",{"type":23,"tag":466,"props":489,"children":490},{},[491],{"type":23,"tag":24,"props":492,"children":493},{},[494,496,499,501,504],{"type":28,"value":495},"Implementations ",{"type":23,"tag":432,"props":497,"children":498},{"type":484},[],{"type":28,"value":500}," only support a limited number of pipelined marker write\noperations in flight at a given time.\nThus an excessive number of marker write operations ",{"type":23,"tag":432,"props":502,"children":503},{"type":484},[],{"type":28,"value":505}," degrade command\nexecution performance.",{"type":23,"tag":507,"props":508,"children":510},"validity-group",{"name":509},"Valid Usage",[511,552,596,632,667,702,738,773,820,855,890,936,962,980,1005,1036,1062,1091],{"type":23,"tag":512,"props":513,"children":515},"validity-field",{"name":514},"VUID-vkCmdWriteBufferMarker2AMD-stage-03929",[516],{"type":23,"tag":24,"props":517,"children":518},{},[519,521,532,534,539,541,544,546],{"type":28,"value":520},"If the ",{"type":23,"tag":522,"props":523,"children":525},"a",{"href":524},"/man/VkPhysicalDeviceFeatures#features-geometryShader",[526],{"type":23,"tag":44,"props":527,"children":529},{"className":528},[],[530],{"type":28,"value":531},"geometryShader",{"type":28,"value":533}," feature is not\nenabled, ",{"type":23,"tag":44,"props":535,"children":537},{"className":536},[],[538],{"type":28,"value":104},{"type":28,"value":540}," ",{"type":23,"tag":432,"props":542,"children":543},{"type":434},[],{"type":28,"value":545}," not contain\n",{"type":23,"tag":44,"props":547,"children":549},{"className":548},[],[550],{"type":28,"value":551},"VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT",{"type":23,"tag":512,"props":553,"children":555},{"name":554},"VUID-vkCmdWriteBufferMarker2AMD-stage-03930",[556],{"type":23,"tag":24,"props":557,"children":558},{},[559,560,570,572,577,578,581,582,588,590],{"type":28,"value":520},{"type":23,"tag":522,"props":561,"children":563},{"href":562},"/man/VkPhysicalDeviceFeatures#features-tessellationShader",[564],{"type":23,"tag":44,"props":565,"children":567},{"className":566},[],[568],{"type":28,"value":569},"tessellationShader",{"type":28,"value":571}," feature\nis not enabled, ",{"type":23,"tag":44,"props":573,"children":575},{"className":574},[],[576],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":579,"children":580},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":583,"children":585},{"className":584},[],[586],{"type":28,"value":587},"VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT",{"type":28,"value":589}," or\n",{"type":23,"tag":44,"props":591,"children":593},{"className":592},[],[594],{"type":28,"value":595},"VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT",{"type":23,"tag":512,"props":597,"children":599},{"name":598},"VUID-vkCmdWriteBufferMarker2AMD-stage-03931",[600],{"type":23,"tag":24,"props":601,"children":602},{},[603,604,614,616,621,622,625,626],{"type":28,"value":520},{"type":23,"tag":522,"props":605,"children":607},{"href":606},"/man/VkPhysicalDeviceConditionalRenderingFeaturesEXT#features-conditionalRendering",[608],{"type":23,"tag":44,"props":609,"children":611},{"className":610},[],[612],{"type":28,"value":613},"conditionalRendering",{"type":28,"value":615},"\nfeature is not enabled, ",{"type":23,"tag":44,"props":617,"children":619},{"className":618},[],[620],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":623,"children":624},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":627,"children":629},{"className":628},[],[630],{"type":28,"value":631},"VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT",{"type":23,"tag":512,"props":633,"children":635},{"name":634},"VUID-vkCmdWriteBufferMarker2AMD-stage-03932",[636],{"type":23,"tag":24,"props":637,"children":638},{},[639,640,650,651,656,657,660,661],{"type":28,"value":520},{"type":23,"tag":522,"props":641,"children":643},{"href":642},"/man/VkPhysicalDeviceFragmentDensityMapFeaturesEXT#features-fragmentDensityMap",[644],{"type":23,"tag":44,"props":645,"children":647},{"className":646},[],[648],{"type":28,"value":649},"fragmentDensityMap",{"type":28,"value":571},{"type":23,"tag":44,"props":652,"children":654},{"className":653},[],[655],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":658,"children":659},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":662,"children":664},{"className":663},[],[665],{"type":28,"value":666},"VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT",{"type":23,"tag":512,"props":668,"children":670},{"name":669},"VUID-vkCmdWriteBufferMarker2AMD-stage-03933",[671],{"type":23,"tag":24,"props":672,"children":673},{},[674,675,685,686,691,692,695,696],{"type":28,"value":520},{"type":23,"tag":522,"props":676,"children":678},{"href":677},"/man/VkPhysicalDeviceTransformFeedbackFeaturesEXT#features-transformFeedback",[679],{"type":23,"tag":44,"props":680,"children":682},{"className":681},[],[683],{"type":28,"value":684},"transformFeedback",{"type":28,"value":571},{"type":23,"tag":44,"props":687,"children":689},{"className":688},[],[690],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":693,"children":694},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":697,"children":699},{"className":698},[],[700],{"type":28,"value":701},"VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT",{"type":23,"tag":512,"props":703,"children":705},{"name":704},"VUID-vkCmdWriteBufferMarker2AMD-stage-03934",[706],{"type":23,"tag":24,"props":707,"children":708},{},[709,710,720,722,727,728,731,732],{"type":28,"value":520},{"type":23,"tag":522,"props":711,"children":713},{"href":712},"/man/VkPhysicalDeviceMeshShaderFeaturesEXT#features-meshShader",[714],{"type":23,"tag":44,"props":715,"children":717},{"className":716},[],[718],{"type":28,"value":719},"meshShader",{"type":28,"value":721}," feature is not enabled,\n",{"type":23,"tag":44,"props":723,"children":725},{"className":724},[],[726],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":729,"children":730},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":733,"children":735},{"className":734},[],[736],{"type":28,"value":737},"VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT",{"type":23,"tag":512,"props":739,"children":741},{"name":740},"VUID-vkCmdWriteBufferMarker2AMD-stage-03935",[742],{"type":23,"tag":24,"props":743,"children":744},{},[745,746,756,757,762,763,766,767],{"type":28,"value":520},{"type":23,"tag":522,"props":747,"children":749},{"href":748},"/man/VkPhysicalDeviceMeshShaderFeaturesEXT#features-taskShader",[750],{"type":23,"tag":44,"props":751,"children":753},{"className":752},[],[754],{"type":28,"value":755},"taskShader",{"type":28,"value":721},{"type":23,"tag":44,"props":758,"children":760},{"className":759},[],[761],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":764,"children":765},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":768,"children":770},{"className":769},[],[771],{"type":28,"value":772},"VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT",{"type":23,"tag":512,"props":774,"children":776},{"name":775},"VUID-vkCmdWriteBufferMarker2AMD-stage-07316",[777],{"type":23,"tag":24,"props":778,"children":779},{},[780,782,792,793,803,805,810,813,814],{"type":28,"value":781},"If neither the ",{"type":23,"tag":522,"props":783,"children":785},{"href":784},"/man/VkPhysicalDeviceShadingRateImageFeaturesNV#features-shadingRateImage",[786],{"type":23,"tag":44,"props":787,"children":789},{"className":788},[],[790],{"type":28,"value":791},"shadingRateImage",{"type":28,"value":589},{"type":23,"tag":522,"props":794,"children":796},{"href":795},"/man/VkPhysicalDeviceFragmentShadingRateFeaturesKHR#features-attachmentFragmentShadingRate",[797],{"type":23,"tag":44,"props":798,"children":800},{"className":799},[],[801],{"type":28,"value":802},"attachmentFragmentShadingRate",{"type":28,"value":804}," are enabled, ",{"type":23,"tag":44,"props":806,"children":808},{"className":807},[],[809],{"type":28,"value":104},{"type":23,"tag":432,"props":811,"children":812},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":815,"children":817},{"className":816},[],[818],{"type":28,"value":819},"VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR",{"type":23,"tag":512,"props":821,"children":823},{"name":822},"VUID-vkCmdWriteBufferMarker2AMD-stage-04957",[824],{"type":23,"tag":24,"props":825,"children":826},{},[827,828,838,839,844,845,848,849],{"type":28,"value":520},{"type":23,"tag":522,"props":829,"children":831},{"href":830},"/man/VkPhysicalDeviceSubpassShadingFeaturesHUAWEI#features-subpassShading",[832],{"type":23,"tag":44,"props":833,"children":835},{"className":834},[],[836],{"type":28,"value":837},"subpassShading",{"type":28,"value":533},{"type":23,"tag":44,"props":840,"children":842},{"className":841},[],[843],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":846,"children":847},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":850,"children":852},{"className":851},[],[853],{"type":28,"value":854},"VK_PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI",{"type":23,"tag":512,"props":856,"children":858},{"name":857},"VUID-vkCmdWriteBufferMarker2AMD-stage-04995",[859],{"type":23,"tag":24,"props":860,"children":861},{},[862,863,873,874,879,880,883,884],{"type":28,"value":520},{"type":23,"tag":522,"props":864,"children":866},{"href":865},"/man/VkPhysicalDeviceInvocationMaskFeaturesHUAWEI#features-invocationMask",[867],{"type":23,"tag":44,"props":868,"children":870},{"className":869},[],[871],{"type":28,"value":872},"invocationMask",{"type":28,"value":533},{"type":23,"tag":44,"props":875,"children":877},{"className":876},[],[878],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":881,"children":882},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":885,"children":887},{"className":886},[],[888],{"type":28,"value":889},"VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI",{"type":23,"tag":512,"props":891,"children":893},{"name":892},"VUID-vkCmdWriteBufferMarker2AMD-stage-07946",[894],{"type":23,"tag":24,"props":895,"children":896},{},[897,898,904,906,918,920,925,926,929,930],{"type":28,"value":781},{"type":23,"tag":522,"props":899,"children":901},{"href":900},"/extensions/VK_NV_ray_tracing",[902],{"type":28,"value":903},"VK_NV_ray_tracing",{"type":28,"value":905}," extension or\n",{"type":23,"tag":522,"props":907,"children":909},{"href":908},"/man/VkPhysicalDeviceRayTracingPipelineFeaturesKHR#features-rayTracingPipeline",[910,916],{"type":23,"tag":44,"props":911,"children":913},{"className":912},[],[914],{"type":28,"value":915},"rayTracingPipeline",{"type":28,"value":917}," feature",{"type":28,"value":919}," are\nenabled, ",{"type":23,"tag":44,"props":921,"children":923},{"className":922},[],[924],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":927,"children":928},{"type":434},[],{"type":28,"value":545},{"type":23,"tag":44,"props":931,"children":933},{"className":932},[],[934],{"type":28,"value":935},"VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR",{"type":23,"tag":512,"props":937,"children":939},{"name":938},"VUID-vkCmdWriteBufferMarker2AMD-synchronization2-03893",[940],{"type":23,"tag":24,"props":941,"children":942},{},[943,945,955,957,960],{"type":28,"value":944},"The ",{"type":23,"tag":522,"props":946,"children":948},{"href":947},"/man/VkPhysicalDeviceSynchronization2Features#features-synchronization2",[949],{"type":23,"tag":44,"props":950,"children":952},{"className":951},[],[953],{"type":28,"value":954},"synchronization2",{"type":28,"value":956}," feature ",{"type":23,"tag":432,"props":958,"children":959},{"type":434},[],{"type":28,"value":961},"\nbe enabled",{"type":23,"tag":512,"props":963,"children":965},{"name":964},"VUID-vkCmdWriteBufferMarker2AMD-stage-03894",[966],{"type":23,"tag":24,"props":967,"children":968},{},[969,974,975,978],{"type":23,"tag":44,"props":970,"children":972},{"className":971},[],[973],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":976,"children":977},{"type":434},[],{"type":28,"value":979}," include only a single pipeline stage",{"type":23,"tag":512,"props":981,"children":983},{"name":982},"VUID-vkCmdWriteBufferMarker2AMD-stage-03895",[984],{"type":23,"tag":24,"props":985,"children":986},{},[987,992,993,996,998,1003],{"type":23,"tag":44,"props":988,"children":990},{"className":989},[],[991],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":994,"children":995},{"type":434},[],{"type":28,"value":997}," include only stages that are valid for the queue\nfamily that was used to create the command pool that ",{"type":23,"tag":44,"props":999,"children":1001},{"className":1000},[],[1002],{"type":28,"value":85},{"type":28,"value":1004},"\nwas allocated from",{"type":23,"tag":512,"props":1006,"children":1008},{"name":1007},"VUID-vkCmdWriteBufferMarker2AMD-dstOffset-03896",[1009],{"type":23,"tag":24,"props":1010,"children":1011},{},[1012,1017,1018,1021,1023,1028,1030],{"type":23,"tag":44,"props":1013,"children":1015},{"className":1014},[],[1016],{"type":28,"value":140},{"type":28,"value":540},{"type":23,"tag":432,"props":1019,"children":1020},{"type":434},[],{"type":28,"value":1022}," be less than or equal to the size of\n",{"type":23,"tag":44,"props":1024,"children":1026},{"className":1025},[],[1027],{"type":28,"value":122},{"type":28,"value":1029}," minus ",{"type":23,"tag":44,"props":1031,"children":1033},{"className":1032},[],[1034],{"type":28,"value":1035},"4",{"type":23,"tag":512,"props":1037,"children":1039},{"name":1038},"VUID-vkCmdWriteBufferMarker2AMD-dstBuffer-03897",[1040],{"type":23,"tag":24,"props":1041,"children":1042},{},[1043,1048,1049,1052,1054,1060],{"type":23,"tag":44,"props":1044,"children":1046},{"className":1045},[],[1047],{"type":28,"value":122},{"type":28,"value":540},{"type":23,"tag":432,"props":1050,"children":1051},{"type":434},[],{"type":28,"value":1053}," have been created with the\n",{"type":23,"tag":44,"props":1055,"children":1057},{"className":1056},[],[1058],{"type":28,"value":1059},"VK_BUFFER_USAGE_TRANSFER_DST_BIT",{"type":28,"value":1061}," usage flag",{"type":23,"tag":512,"props":1063,"children":1065},{"name":1064},"VUID-vkCmdWriteBufferMarker2AMD-dstBuffer-03898",[1066],{"type":23,"tag":24,"props":1067,"children":1068},{},[1069,1071,1076,1078,1081,1083,1089],{"type":28,"value":1070},"If ",{"type":23,"tag":44,"props":1072,"children":1074},{"className":1073},[],[1075],{"type":28,"value":122},{"type":28,"value":1077}," is non-sparse then it ",{"type":23,"tag":432,"props":1079,"children":1080},{"type":434},[],{"type":28,"value":1082}," be bound completely and\ncontiguously to a single ",{"type":23,"tag":44,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":28,"value":1088},"VkDeviceMemory",{"type":28,"value":1090}," object",{"type":23,"tag":512,"props":1092,"children":1094},{"name":1093},"VUID-vkCmdWriteBufferMarker2AMD-dstOffset-03899",[1095],{"type":23,"tag":24,"props":1096,"children":1097},{},[1098,1103,1104,1107,1109],{"type":23,"tag":44,"props":1099,"children":1101},{"className":1100},[],[1102],{"type":28,"value":140},{"type":28,"value":540},{"type":23,"tag":432,"props":1105,"children":1106},{"type":434},[],{"type":28,"value":1108}," be a multiple of ",{"type":23,"tag":44,"props":1110,"children":1112},{"className":1111},[],[1113],{"type":28,"value":1035},{"type":23,"tag":507,"props":1115,"children":1117},{"name":1116},"Valid Usage (Implicit)",[1118,1144,1170,1194,1218,1246,1260],{"type":23,"tag":512,"props":1119,"children":1121},{"name":1120},"VUID-vkCmdWriteBufferMarker2AMD-commandBuffer-parameter",[1122],{"type":23,"tag":24,"props":1123,"children":1124},{},[1125,1130,1131,1134,1136,1142],{"type":23,"tag":44,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":28,"value":85},{"type":28,"value":540},{"type":23,"tag":432,"props":1132,"children":1133},{"type":434},[],{"type":28,"value":1135}," be a valid ",{"type":23,"tag":522,"props":1137,"children":1139},{"href":1138},"/man/VkCommandBuffer",[1140],{"type":28,"value":1141},"VkCommandBuffer",{"type":28,"value":1143}," handle",{"type":23,"tag":512,"props":1145,"children":1147},{"name":1146},"VUID-vkCmdWriteBufferMarker2AMD-stage-parameter",[1148],{"type":23,"tag":24,"props":1149,"children":1150},{},[1151,1156,1157,1160,1162,1168],{"type":23,"tag":44,"props":1152,"children":1154},{"className":1153},[],[1155],{"type":28,"value":104},{"type":28,"value":540},{"type":23,"tag":432,"props":1158,"children":1159},{"type":434},[],{"type":28,"value":1161}," be a valid combination of ",{"type":23,"tag":522,"props":1163,"children":1165},{"href":1164},"/man/VkPipelineStageFlagBits2",[1166],{"type":28,"value":1167},"VkPipelineStageFlagBits2",{"type":28,"value":1169}," values",{"type":23,"tag":512,"props":1171,"children":1173},{"name":1172},"VUID-vkCmdWriteBufferMarker2AMD-dstBuffer-parameter",[1174],{"type":23,"tag":24,"props":1175,"children":1176},{},[1177,1182,1183,1186,1187,1193],{"type":23,"tag":44,"props":1178,"children":1180},{"className":1179},[],[1181],{"type":28,"value":122},{"type":28,"value":540},{"type":23,"tag":432,"props":1184,"children":1185},{"type":434},[],{"type":28,"value":1135},{"type":23,"tag":522,"props":1188,"children":1190},{"href":1189},"/man/VkBuffer",[1191],{"type":28,"value":1192},"VkBuffer",{"type":28,"value":1143},{"type":23,"tag":512,"props":1195,"children":1197},{"name":1196},"VUID-vkCmdWriteBufferMarker2AMD-commandBuffer-recording",[1198],{"type":23,"tag":24,"props":1199,"children":1200},{},[1201,1206,1207,1210,1212],{"type":23,"tag":44,"props":1202,"children":1204},{"className":1203},[],[1205],{"type":28,"value":85},{"type":28,"value":540},{"type":23,"tag":432,"props":1208,"children":1209},{"type":434},[],{"type":28,"value":1211}," be in the ",{"type":23,"tag":522,"props":1213,"children":1215},{"href":1214},"/chapters/commandbuffers#commandbuffers-lifecycle",[1216],{"type":28,"value":1217},"recording state",{"type":23,"tag":512,"props":1219,"children":1221},{"name":1220},"VUID-vkCmdWriteBufferMarker2AMD-commandBuffer-cmdpool",[1222],{"type":23,"tag":24,"props":1223,"children":1224},{},[1225,1226,1232,1234,1239,1241,1244],{"type":28,"value":944},{"type":23,"tag":44,"props":1227,"children":1229},{"className":1228},[],[1230],{"type":28,"value":1231},"VkCommandPool",{"type":28,"value":1233}," that ",{"type":23,"tag":44,"props":1235,"children":1237},{"className":1236},[],[1238],{"type":28,"value":85},{"type":28,"value":1240}," was allocated from ",{"type":23,"tag":432,"props":1242,"children":1243},{"type":434},[],{"type":28,"value":1245}," support transfer, graphics, or compute operations",{"type":23,"tag":512,"props":1247,"children":1249},{"name":1248},"VUID-vkCmdWriteBufferMarker2AMD-videocoding",[1250],{"type":23,"tag":24,"props":1251,"children":1252},{},[1253,1255,1258],{"type":28,"value":1254},"This command ",{"type":23,"tag":432,"props":1256,"children":1257},{"type":434},[],{"type":28,"value":1259}," only be called outside of a video coding scope",{"type":23,"tag":512,"props":1261,"children":1263},{"name":1262},"VUID-vkCmdWriteBufferMarker2AMD-commonparent",[1264],{"type":23,"tag":24,"props":1265,"children":1266},{},[1267,1269,1274,1276,1281,1282,1285,1287],{"type":28,"value":1268},"Both of ",{"type":23,"tag":44,"props":1270,"children":1272},{"className":1271},[],[1273],{"type":28,"value":85},{"type":28,"value":1275},", and ",{"type":23,"tag":44,"props":1277,"children":1279},{"className":1278},[],[1280],{"type":28,"value":122},{"type":28,"value":540},{"type":23,"tag":432,"props":1283,"children":1284},{"type":434},[],{"type":28,"value":1286}," have been created, allocated, or retrieved from the same ",{"type":23,"tag":522,"props":1288,"children":1290},{"href":1289},"/man/VkDevice",[1291],{"type":28,"value":1292},"VkDevice",{"type":23,"tag":1294,"props":1295,"children":1297},"validity-box",{"name":1296},"Host Synchronization",[1298],{"type":23,"tag":345,"props":1299,"children":1300},{},[1301,1317],{"type":23,"tag":349,"props":1302,"children":1303},{},[1304,1306,1311,1312,1315],{"type":28,"value":1305},"Host access to ",{"type":23,"tag":44,"props":1307,"children":1309},{"className":1308},[],[1310],{"type":28,"value":85},{"type":28,"value":540},{"type":23,"tag":432,"props":1313,"children":1314},{"type":434},[],{"type":28,"value":1316}," be externally synchronized",{"type":23,"tag":349,"props":1318,"children":1319},{},[1320,1322,1327,1328,1333,1334,1337],{"type":28,"value":1321},"Host access to the ",{"type":23,"tag":44,"props":1323,"children":1325},{"className":1324},[],[1326],{"type":28,"value":1231},{"type":28,"value":1233},{"type":23,"tag":44,"props":1329,"children":1331},{"className":1330},[],[1332],{"type":28,"value":85},{"type":28,"value":1240},{"type":23,"tag":432,"props":1335,"children":1336},{"type":434},[],{"type":28,"value":1338}," be externally synchronized\n::",{"type":23,"tag":1340,"props":1341,"children":1342},"style",{},[1343],{"type":28,"value":1344},"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":41,"searchDepth":73,"depth":73,"links":1346},[],"markdown",1729612507803]