[{"data":1,"prerenderedAt":1055},["ShallowReactive",2],{"JQF3HQNRDn":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":14,"type":16,"xrefs":17,"body":18,"_type":1054,"_id":4},"vkCmdPushConstants","Update the values of push constants","VK_VERSION_1_0",[8,9],"primary","secondary","both",[12,13],"graphics","compute",[15],"state","protos",[],{"type":19,"children":20,"toc":1052},"root",[21,29,378,462,467,515,546,751,1000,1046],{"type":22,"tag":23,"props":24,"children":25},"element","p",{},[26],{"type":27,"value":28},"text","To update push constants, call:",{"type":22,"tag":30,"props":31,"children":32},"code-group",{},[33,185],{"type":22,"tag":34,"props":35,"children":41},"pre",{"className":36,"code":37,"filename":38,"language":39,"meta":40,"style":40},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdPushConstants(\n VkCommandBuffer commandBuffer,\n VkPipelineLayout layout,\n VkShaderStageFlags stageFlags,\n uint32_t offset,\n uint32_t size,\n const void* pValues);\n","C","c","",[42],{"type":22,"tag":43,"props":44,"children":45},"code",{"__ignoreMap":40},[46,70,90,108,126,144,161],{"type":22,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,64],{"type":22,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[56],{"type":27,"value":57},"void",{"type":22,"tag":47,"props":59,"children":61},{"style":60},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[62],{"type":27,"value":63}," vkCmdPushConstants",{"type":22,"tag":47,"props":65,"children":67},{"style":66},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[68],{"type":27,"value":69},"(\n",{"type":22,"tag":47,"props":71,"children":73},{"class":49,"line":72},2,[74,79,85],{"type":22,"tag":47,"props":75,"children":76},{"style":66},[77],{"type":27,"value":78}," VkCommandBuffer ",{"type":22,"tag":47,"props":80,"children":82},{"style":81},"--shiki-default:#953800;--shiki-dark:#FFA657",[83],{"type":27,"value":84},"commandBuffer",{"type":22,"tag":47,"props":86,"children":87},{"style":66},[88],{"type":27,"value":89},",\n",{"type":22,"tag":47,"props":91,"children":93},{"class":49,"line":92},3,[94,99,104],{"type":22,"tag":47,"props":95,"children":96},{"style":66},[97],{"type":27,"value":98}," VkPipelineLayout ",{"type":22,"tag":47,"props":100,"children":101},{"style":81},[102],{"type":27,"value":103},"layout",{"type":22,"tag":47,"props":105,"children":106},{"style":66},[107],{"type":27,"value":89},{"type":22,"tag":47,"props":109,"children":111},{"class":49,"line":110},4,[112,117,122],{"type":22,"tag":47,"props":113,"children":114},{"style":66},[115],{"type":27,"value":116}," VkShaderStageFlags ",{"type":22,"tag":47,"props":118,"children":119},{"style":81},[120],{"type":27,"value":121},"stageFlags",{"type":22,"tag":47,"props":123,"children":124},{"style":66},[125],{"type":27,"value":89},{"type":22,"tag":47,"props":127,"children":129},{"class":49,"line":128},5,[130,135,140],{"type":22,"tag":47,"props":131,"children":132},{"style":54},[133],{"type":27,"value":134}," uint32_t",{"type":22,"tag":47,"props":136,"children":137},{"style":81},[138],{"type":27,"value":139}," offset",{"type":22,"tag":47,"props":141,"children":142},{"style":66},[143],{"type":27,"value":89},{"type":22,"tag":47,"props":145,"children":147},{"class":49,"line":146},6,[148,152,157],{"type":22,"tag":47,"props":149,"children":150},{"style":54},[151],{"type":27,"value":134},{"type":22,"tag":47,"props":153,"children":154},{"style":81},[155],{"type":27,"value":156}," size",{"type":22,"tag":47,"props":158,"children":159},{"style":66},[160],{"type":27,"value":89},{"type":22,"tag":47,"props":162,"children":164},{"class":49,"line":163},7,[165,170,175,180],{"type":22,"tag":47,"props":166,"children":167},{"style":54},[168],{"type":27,"value":169}," const",{"type":22,"tag":47,"props":171,"children":172},{"style":54},[173],{"type":27,"value":174}," void*",{"type":22,"tag":47,"props":176,"children":177},{"style":81},[178],{"type":27,"value":179}," pValues",{"type":22,"tag":47,"props":181,"children":182},{"style":66},[183],{"type":27,"value":184},");\n",{"type":22,"tag":34,"props":186,"children":191},{"className":187,"code":188,"filename":189,"language":190,"meta":40,"style":40},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_push_constants(\n command_buffer: vk::CommandBuffer,\n layout: vk::PipelineLayout,\n stage_flags: vk::ShaderStageFlags,\n offset: u32,\n size: u32,\n p_values: *const c_void,\n);\n","Rust","rs",[192],{"type":22,"tag":43,"props":193,"children":194},{"__ignoreMap":40},[195,217,249,278,307,328,348,370],{"type":22,"tag":47,"props":196,"children":197},{"class":49,"line":50},[198,203,208,213],{"type":22,"tag":47,"props":199,"children":200},{"style":54},[201],{"type":27,"value":202},"pub",{"type":22,"tag":47,"props":204,"children":205},{"style":54},[206],{"type":27,"value":207}," fn",{"type":22,"tag":47,"props":209,"children":210},{"style":60},[211],{"type":27,"value":212}," cmd_push_constants",{"type":22,"tag":47,"props":214,"children":215},{"style":66},[216],{"type":27,"value":69},{"type":22,"tag":47,"props":218,"children":219},{"class":49,"line":72},[220,225,230,235,240,245],{"type":22,"tag":47,"props":221,"children":222},{"style":66},[223],{"type":27,"value":224}," command_buffer",{"type":22,"tag":47,"props":226,"children":227},{"style":54},[228],{"type":27,"value":229},":",{"type":22,"tag":47,"props":231,"children":232},{"style":81},[233],{"type":27,"value":234}," vk",{"type":22,"tag":47,"props":236,"children":237},{"style":54},[238],{"type":27,"value":239},"::",{"type":22,"tag":47,"props":241,"children":242},{"style":81},[243],{"type":27,"value":244},"CommandBuffer",{"type":22,"tag":47,"props":246,"children":247},{"style":66},[248],{"type":27,"value":89},{"type":22,"tag":47,"props":250,"children":251},{"class":49,"line":92},[252,257,261,265,269,274],{"type":22,"tag":47,"props":253,"children":254},{"style":66},[255],{"type":27,"value":256}," layout",{"type":22,"tag":47,"props":258,"children":259},{"style":54},[260],{"type":27,"value":229},{"type":22,"tag":47,"props":262,"children":263},{"style":81},[264],{"type":27,"value":234},{"type":22,"tag":47,"props":266,"children":267},{"style":54},[268],{"type":27,"value":239},{"type":22,"tag":47,"props":270,"children":271},{"style":81},[272],{"type":27,"value":273},"PipelineLayout",{"type":22,"tag":47,"props":275,"children":276},{"style":66},[277],{"type":27,"value":89},{"type":22,"tag":47,"props":279,"children":280},{"class":49,"line":110},[281,286,290,294,298,303],{"type":22,"tag":47,"props":282,"children":283},{"style":66},[284],{"type":27,"value":285}," stage_flags",{"type":22,"tag":47,"props":287,"children":288},{"style":54},[289],{"type":27,"value":229},{"type":22,"tag":47,"props":291,"children":292},{"style":81},[293],{"type":27,"value":234},{"type":22,"tag":47,"props":295,"children":296},{"style":54},[297],{"type":27,"value":239},{"type":22,"tag":47,"props":299,"children":300},{"style":81},[301],{"type":27,"value":302},"ShaderStageFlags",{"type":22,"tag":47,"props":304,"children":305},{"style":66},[306],{"type":27,"value":89},{"type":22,"tag":47,"props":308,"children":309},{"class":49,"line":128},[310,315,319,324],{"type":22,"tag":47,"props":311,"children":312},{"style":66},[313],{"type":27,"value":314}," offset",{"type":22,"tag":47,"props":316,"children":317},{"style":54},[318],{"type":27,"value":229},{"type":22,"tag":47,"props":320,"children":321},{"style":81},[322],{"type":27,"value":323}," u32",{"type":22,"tag":47,"props":325,"children":326},{"style":66},[327],{"type":27,"value":89},{"type":22,"tag":47,"props":329,"children":330},{"class":49,"line":146},[331,336,340,344],{"type":22,"tag":47,"props":332,"children":333},{"style":66},[334],{"type":27,"value":335}," size",{"type":22,"tag":47,"props":337,"children":338},{"style":54},[339],{"type":27,"value":229},{"type":22,"tag":47,"props":341,"children":342},{"style":81},[343],{"type":27,"value":323},{"type":22,"tag":47,"props":345,"children":346},{"style":66},[347],{"type":27,"value":89},{"type":22,"tag":47,"props":349,"children":350},{"class":49,"line":163},[351,356,360,365],{"type":22,"tag":47,"props":352,"children":353},{"style":66},[354],{"type":27,"value":355}," p_values",{"type":22,"tag":47,"props":357,"children":358},{"style":54},[359],{"type":27,"value":229},{"type":22,"tag":47,"props":361,"children":362},{"style":54},[363],{"type":27,"value":364}," *const",{"type":22,"tag":47,"props":366,"children":367},{"style":66},[368],{"type":27,"value":369}," c_void,\n",{"type":22,"tag":47,"props":371,"children":373},{"class":49,"line":372},8,[374],{"type":22,"tag":47,"props":375,"children":376},{"style":66},[377],{"type":27,"value":184},{"type":22,"tag":379,"props":380,"children":381},"ul",{},[382,393,403,422,433,444],{"type":22,"tag":383,"props":384,"children":385},"li",{},[386,391],{"type":22,"tag":43,"props":387,"children":389},{"className":388},[],[390],{"type":27,"value":84},{"type":27,"value":392}," is the command buffer in which the push constant\nupdate will be recorded.",{"type":22,"tag":383,"props":394,"children":395},{},[396,401],{"type":22,"tag":43,"props":397,"children":399},{"className":398},[],[400],{"type":27,"value":103},{"type":27,"value":402}," is the pipeline layout used to program the push constant\nupdates.",{"type":22,"tag":383,"props":404,"children":405},{},[406,411,413,420],{"type":22,"tag":43,"props":407,"children":409},{"className":408},[],[410],{"type":27,"value":121},{"type":27,"value":412}," is a bitmask of ",{"type":22,"tag":414,"props":415,"children":417},"a",{"href":416},"/man/VkShaderStageFlagBits",[418],{"type":27,"value":419},"VkShaderStageFlagBits",{"type":27,"value":421}," specifying\nthe shader stages that will use the push constants in the updated range.",{"type":22,"tag":383,"props":423,"children":424},{},[425,431],{"type":22,"tag":43,"props":426,"children":428},{"className":427},[],[429],{"type":27,"value":430},"offset",{"type":27,"value":432}," is the start offset of the push constant range to update,\nin units of bytes.",{"type":22,"tag":383,"props":434,"children":435},{},[436,442],{"type":22,"tag":43,"props":437,"children":439},{"className":438},[],[440],{"type":27,"value":441},"size",{"type":27,"value":443}," is the size of the push constant range to update, in units of\nbytes.",{"type":22,"tag":383,"props":445,"children":446},{},[447,453,455,460],{"type":22,"tag":43,"props":448,"children":450},{"className":449},[],[451],{"type":27,"value":452},"pValues",{"type":27,"value":454}," is a pointer to an array of ",{"type":22,"tag":43,"props":456,"children":458},{"className":457},[],[459],{"type":27,"value":441},{"type":27,"value":461}," bytes containing\nthe new push constant values.",{"type":22,"tag":23,"props":463,"children":464},{},[465],{"type":27,"value":466},"When a command buffer begins recording, all push constant values are\nundefined:.\nReads of undefined: push constant values by the executing shader return\nundefined: values.",{"type":22,"tag":23,"props":468,"children":469},{},[470,472,477,479,484,486,491,493,499,501,505,507,513],{"type":27,"value":471},"Push constant values ",{"type":22,"tag":473,"props":474,"children":476},"normative",{"type":475},"can",[],{"type":27,"value":478}," be updated incrementally, causing shader stages in\n",{"type":22,"tag":43,"props":480,"children":482},{"className":481},[],[483],{"type":27,"value":121},{"type":27,"value":485}," to read the new data from ",{"type":22,"tag":43,"props":487,"children":489},{"className":488},[],[490],{"type":27,"value":452},{"type":27,"value":492}," for push constants\nmodified by this command, while still reading the previous data for push\nconstants not modified by this command.\nWhen a ",{"type":22,"tag":414,"props":494,"children":496},{"href":495},"/man/vkCmdBindPipeline#pipelines-bindpoint-commands",[497],{"type":27,"value":498},"bound pipeline command",{"type":27,"value":500}," is issued,\nthe bound pipeline’s layout ",{"type":22,"tag":473,"props":502,"children":504},{"type":503},"must",[],{"type":27,"value":506}," be compatible with the layouts used to set\nthe values of all push constants in the pipeline layout’s push constant\nranges, as described in ",{"type":22,"tag":414,"props":508,"children":510},{"href":509},"/chapters/descriptorsets#descriptorsets-compatibility",[511],{"type":27,"value":512},"Pipeline Layout\nCompatibility",{"type":27,"value":514},".\nBinding a pipeline with a layout that is not compatible with the push\nconstant layout does not disturb the push constant values.",{"type":22,"tag":516,"props":517,"children":518},"note",{},[519],{"type":22,"tag":23,"props":520,"children":521},{},[522,524,529,531,537,539,544],{"type":27,"value":523},"As ",{"type":22,"tag":43,"props":525,"children":527},{"className":526},[],[528],{"type":27,"value":121},{"type":27,"value":530}," needs to include all flags the relevant push constant\nranges were created with, any flags that are not supported by the queue\nfamily that the ",{"type":22,"tag":414,"props":532,"children":534},{"href":533},"/man/VkCommandPool",[535],{"type":27,"value":536},"VkCommandPool",{"type":27,"value":538}," used to allocate ",{"type":22,"tag":43,"props":540,"children":542},{"className":541},[],[543],{"type":27,"value":84},{"type":27,"value":545}," was\ncreated on are ignored.",{"type":22,"tag":547,"props":548,"children":550},"validity-group",{"name":549},"Valid Usage",[551,594,637,662,684,715],{"type":22,"tag":552,"props":553,"children":555},"validity-field",{"name":554},"VUID-vkCmdPushConstants-offset-01795",[556],{"type":22,"tag":23,"props":557,"children":558},{},[559,561,566,568,573,575,580,582,585,587,592],{"type":27,"value":560},"For each byte in the range specified by ",{"type":22,"tag":43,"props":562,"children":564},{"className":563},[],[565],{"type":27,"value":430},{"type":27,"value":567}," and ",{"type":22,"tag":43,"props":569,"children":571},{"className":570},[],[572],{"type":27,"value":441},{"type":27,"value":574}," and\nfor each shader stage in ",{"type":22,"tag":43,"props":576,"children":578},{"className":577},[],[579],{"type":27,"value":121},{"type":27,"value":581},", there ",{"type":22,"tag":473,"props":583,"children":584},{"type":503},[],{"type":27,"value":586}," be a push\nconstant range in ",{"type":22,"tag":43,"props":588,"children":590},{"className":589},[],[591],{"type":27,"value":103},{"type":27,"value":593}," that includes that byte and that stage",{"type":22,"tag":552,"props":595,"children":597},{"name":596},"VUID-vkCmdPushConstants-offset-01796",[598],{"type":22,"tag":23,"props":599,"children":600},{},[601,602,607,608,613,615,620,623,625,631,632],{"type":27,"value":560},{"type":22,"tag":43,"props":603,"children":605},{"className":604},[],[606],{"type":27,"value":430},{"type":27,"value":567},{"type":22,"tag":43,"props":609,"children":611},{"className":610},[],[612],{"type":27,"value":441},{"type":27,"value":614}," and\nfor each push constant range that overlaps that byte, ",{"type":22,"tag":43,"props":616,"children":618},{"className":617},[],[619],{"type":27,"value":121},{"type":22,"tag":473,"props":621,"children":622},{"type":503},[],{"type":27,"value":624}," include all stages in that push constant range’s\n",{"type":22,"tag":414,"props":626,"children":628},{"href":627},"/man/VkPushConstantRange",[629],{"type":27,"value":630},"VkPushConstantRange",{"type":27,"value":239},{"type":22,"tag":43,"props":633,"children":635},{"className":634},[],[636],{"type":27,"value":121},{"type":22,"tag":552,"props":638,"children":640},{"name":639},"VUID-vkCmdPushConstants-offset-00368",[641],{"type":22,"tag":23,"props":642,"children":643},{},[644,649,651,654,656],{"type":22,"tag":43,"props":645,"children":647},{"className":646},[],[648],{"type":27,"value":430},{"type":27,"value":650}," ",{"type":22,"tag":473,"props":652,"children":653},{"type":503},[],{"type":27,"value":655}," be a multiple of ",{"type":22,"tag":43,"props":657,"children":659},{"className":658},[],[660],{"type":27,"value":661},"4",{"type":22,"tag":552,"props":663,"children":665},{"name":664},"VUID-vkCmdPushConstants-size-00369",[666],{"type":22,"tag":23,"props":667,"children":668},{},[669,674,675,678,679],{"type":22,"tag":43,"props":670,"children":672},{"className":671},[],[673],{"type":27,"value":441},{"type":27,"value":650},{"type":22,"tag":473,"props":676,"children":677},{"type":503},[],{"type":27,"value":655},{"type":22,"tag":43,"props":680,"children":682},{"className":681},[],[683],{"type":27,"value":661},{"type":22,"tag":552,"props":685,"children":687},{"name":686},"VUID-vkCmdPushConstants-offset-00370",[688],{"type":22,"tag":23,"props":689,"children":690},{},[691,696,697,700,702,708,709],{"type":22,"tag":43,"props":692,"children":694},{"className":693},[],[695],{"type":27,"value":430},{"type":27,"value":650},{"type":22,"tag":473,"props":698,"children":699},{"type":503},[],{"type":27,"value":701}," be less than\n",{"type":22,"tag":43,"props":703,"children":705},{"className":704},[],[706],{"type":27,"value":707},"VkPhysicalDeviceLimits",{"type":27,"value":239},{"type":22,"tag":43,"props":710,"children":712},{"className":711},[],[713],{"type":27,"value":714},"maxPushConstantsSize",{"type":22,"tag":552,"props":716,"children":718},{"name":717},"VUID-vkCmdPushConstants-size-00371",[719],{"type":22,"tag":23,"props":720,"children":721},{},[722,727,728,731,733,738,739,744,746],{"type":22,"tag":43,"props":723,"children":725},{"className":724},[],[726],{"type":27,"value":441},{"type":27,"value":650},{"type":22,"tag":473,"props":729,"children":730},{"type":503},[],{"type":27,"value":732}," be less than or equal to\n",{"type":22,"tag":43,"props":734,"children":736},{"className":735},[],[737],{"type":27,"value":707},{"type":27,"value":239},{"type":22,"tag":43,"props":740,"children":742},{"className":741},[],[743],{"type":27,"value":714},{"type":27,"value":745}," minus\n",{"type":22,"tag":43,"props":747,"children":749},{"className":748},[],[750],{"type":27,"value":430},{"type":22,"tag":547,"props":752,"children":754},{"name":753},"Valid Usage (Implicit)",[755,781,805,829,853,878,902,930,944,967],{"type":22,"tag":552,"props":756,"children":758},{"name":757},"VUID-vkCmdPushConstants-commandBuffer-parameter",[759],{"type":22,"tag":23,"props":760,"children":761},{},[762,767,768,771,773,779],{"type":22,"tag":43,"props":763,"children":765},{"className":764},[],[766],{"type":27,"value":84},{"type":27,"value":650},{"type":22,"tag":473,"props":769,"children":770},{"type":503},[],{"type":27,"value":772}," be a valid ",{"type":22,"tag":414,"props":774,"children":776},{"href":775},"/man/VkCommandBuffer",[777],{"type":27,"value":778},"VkCommandBuffer",{"type":27,"value":780}," handle",{"type":22,"tag":552,"props":782,"children":784},{"name":783},"VUID-vkCmdPushConstants-layout-parameter",[785],{"type":22,"tag":23,"props":786,"children":787},{},[788,793,794,797,798,804],{"type":22,"tag":43,"props":789,"children":791},{"className":790},[],[792],{"type":27,"value":103},{"type":27,"value":650},{"type":22,"tag":473,"props":795,"children":796},{"type":503},[],{"type":27,"value":772},{"type":22,"tag":414,"props":799,"children":801},{"href":800},"/man/VkPipelineLayout",[802],{"type":27,"value":803},"VkPipelineLayout",{"type":27,"value":780},{"type":22,"tag":552,"props":806,"children":808},{"name":807},"VUID-vkCmdPushConstants-stageFlags-parameter",[809],{"type":22,"tag":23,"props":810,"children":811},{},[812,817,818,821,823,827],{"type":22,"tag":43,"props":813,"children":815},{"className":814},[],[816],{"type":27,"value":121},{"type":27,"value":650},{"type":22,"tag":473,"props":819,"children":820},{"type":503},[],{"type":27,"value":822}," be a valid combination of ",{"type":22,"tag":414,"props":824,"children":825},{"href":416},[826],{"type":27,"value":419},{"type":27,"value":828}," values",{"type":22,"tag":552,"props":830,"children":832},{"name":831},"VUID-vkCmdPushConstants-stageFlags-requiredbitmask",[833],{"type":22,"tag":23,"props":834,"children":835},{},[836,841,842,845,847],{"type":22,"tag":43,"props":837,"children":839},{"className":838},[],[840],{"type":27,"value":121},{"type":27,"value":650},{"type":22,"tag":473,"props":843,"children":844},{"type":503},[],{"type":27,"value":846}," not be ",{"type":22,"tag":43,"props":848,"children":850},{"className":849},[],[851],{"type":27,"value":852},"0",{"type":22,"tag":552,"props":854,"children":856},{"name":855},"VUID-vkCmdPushConstants-pValues-parameter",[857],{"type":22,"tag":23,"props":858,"children":859},{},[860,865,866,869,871,876],{"type":22,"tag":43,"props":861,"children":863},{"className":862},[],[864],{"type":27,"value":452},{"type":27,"value":650},{"type":22,"tag":473,"props":867,"children":868},{"type":503},[],{"type":27,"value":870}," be a valid pointer to an array of ",{"type":22,"tag":43,"props":872,"children":874},{"className":873},[],[875],{"type":27,"value":441},{"type":27,"value":877}," bytes",{"type":22,"tag":552,"props":879,"children":881},{"name":880},"VUID-vkCmdPushConstants-commandBuffer-recording",[882],{"type":22,"tag":23,"props":883,"children":884},{},[885,890,891,894,896],{"type":22,"tag":43,"props":886,"children":888},{"className":887},[],[889],{"type":27,"value":84},{"type":27,"value":650},{"type":22,"tag":473,"props":892,"children":893},{"type":503},[],{"type":27,"value":895}," be in the ",{"type":22,"tag":414,"props":897,"children":899},{"href":898},"/chapters/commandbuffers#commandbuffers-lifecycle",[900],{"type":27,"value":901},"recording state",{"type":22,"tag":552,"props":903,"children":905},{"name":904},"VUID-vkCmdPushConstants-commandBuffer-cmdpool",[906],{"type":22,"tag":23,"props":907,"children":908},{},[909,911,916,918,923,925,928],{"type":27,"value":910},"The ",{"type":22,"tag":43,"props":912,"children":914},{"className":913},[],[915],{"type":27,"value":536},{"type":27,"value":917}," that ",{"type":22,"tag":43,"props":919,"children":921},{"className":920},[],[922],{"type":27,"value":84},{"type":27,"value":924}," was allocated from ",{"type":22,"tag":473,"props":926,"children":927},{"type":503},[],{"type":27,"value":929}," support graphics, or compute operations",{"type":22,"tag":552,"props":931,"children":933},{"name":932},"VUID-vkCmdPushConstants-videocoding",[934],{"type":22,"tag":23,"props":935,"children":936},{},[937,939,942],{"type":27,"value":938},"This command ",{"type":22,"tag":473,"props":940,"children":941},{"type":503},[],{"type":27,"value":943}," only be called outside of a video coding scope",{"type":22,"tag":552,"props":945,"children":947},{"name":946},"VUID-vkCmdPushConstants-size-arraylength",[948],{"type":22,"tag":23,"props":949,"children":950},{},[951,956,957,960,962],{"type":22,"tag":43,"props":952,"children":954},{"className":953},[],[955],{"type":27,"value":441},{"type":27,"value":650},{"type":22,"tag":473,"props":958,"children":959},{"type":503},[],{"type":27,"value":961}," be greater than ",{"type":22,"tag":43,"props":963,"children":965},{"className":964},[],[966],{"type":27,"value":852},{"type":22,"tag":552,"props":968,"children":970},{"name":969},"VUID-vkCmdPushConstants-commonparent",[971],{"type":22,"tag":23,"props":972,"children":973},{},[974,976,981,983,988,989,992,994],{"type":27,"value":975},"Both of ",{"type":22,"tag":43,"props":977,"children":979},{"className":978},[],[980],{"type":27,"value":84},{"type":27,"value":982},", and ",{"type":22,"tag":43,"props":984,"children":986},{"className":985},[],[987],{"type":27,"value":103},{"type":27,"value":650},{"type":22,"tag":473,"props":990,"children":991},{"type":503},[],{"type":27,"value":993}," have been created, allocated, or retrieved from the same ",{"type":22,"tag":414,"props":995,"children":997},{"href":996},"/man/VkDevice",[998],{"type":27,"value":999},"VkDevice",{"type":22,"tag":1001,"props":1002,"children":1004},"validity-box",{"name":1003},"Host Synchronization",[1005],{"type":22,"tag":379,"props":1006,"children":1007},{},[1008,1024],{"type":22,"tag":383,"props":1009,"children":1010},{},[1011,1013,1018,1019,1022],{"type":27,"value":1012},"Host access to ",{"type":22,"tag":43,"props":1014,"children":1016},{"className":1015},[],[1017],{"type":27,"value":84},{"type":27,"value":650},{"type":22,"tag":473,"props":1020,"children":1021},{"type":503},[],{"type":27,"value":1023}," be externally synchronized",{"type":22,"tag":383,"props":1025,"children":1026},{},[1027,1029,1034,1035,1040,1041,1044],{"type":27,"value":1028},"Host access to the ",{"type":22,"tag":43,"props":1030,"children":1032},{"className":1031},[],[1033],{"type":27,"value":536},{"type":27,"value":917},{"type":22,"tag":43,"props":1036,"children":1038},{"className":1037},[],[1039],{"type":27,"value":84},{"type":27,"value":924},{"type":22,"tag":473,"props":1042,"children":1043},{"type":503},[],{"type":27,"value":1045}," be externally synchronized\n::",{"type":22,"tag":1047,"props":1048,"children":1049},"style",{},[1050],{"type":27,"value":1051},"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":40,"searchDepth":72,"depth":72,"links":1053},[],"markdown",1725732606818]