[{"data":1,"prerenderedAt":1640},["ShallowReactive",2],{"q9EplvdHsC":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":1639,"_id":4},"vkCmdBindShadersEXT","Bind shader objects to a command buffer","VK_EXT_shader_object",[8,9],"primary","secondary","both",[12,13],"graphics","compute",[15],"state","protos",[],{"type":19,"children":20,"toc":1637},"root",[21,36,322,422,447,519,1354,1585,1631],{"type":22,"tag":23,"props":24,"children":25},"element","p",{},[26,29,34],{"type":27,"value":28},"text","Once shader objects have been created, they ",{"type":22,"tag":30,"props":31,"children":33},"normative",{"type":32},"can",[],{"type":27,"value":35}," be bound to the command\nbuffer using the command:",{"type":22,"tag":37,"props":38,"children":39},"code-group",{},[40,170],{"type":22,"tag":41,"props":42,"children":48},"pre",{"className":43,"code":44,"filename":45,"language":46,"meta":47,"style":47},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdBindShadersEXT(\n VkCommandBuffer commandBuffer,\n uint32_t stageCount,\n const VkShaderStageFlagBits* pStages,\n const VkShaderEXT* pShaders);\n","C","c","",[49],{"type":22,"tag":50,"props":51,"children":52},"code",{"__ignoreMap":47},[53,77,97,115,143],{"type":22,"tag":54,"props":55,"children":58},"span",{"class":56,"line":57},"line",1,[59,65,71],{"type":22,"tag":54,"props":60,"children":62},{"style":61},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[63],{"type":27,"value":64},"void",{"type":22,"tag":54,"props":66,"children":68},{"style":67},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[69],{"type":27,"value":70}," vkCmdBindShadersEXT",{"type":22,"tag":54,"props":72,"children":74},{"style":73},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[75],{"type":27,"value":76},"(\n",{"type":22,"tag":54,"props":78,"children":80},{"class":56,"line":79},2,[81,86,92],{"type":22,"tag":54,"props":82,"children":83},{"style":73},[84],{"type":27,"value":85}," VkCommandBuffer ",{"type":22,"tag":54,"props":87,"children":89},{"style":88},"--shiki-default:#953800;--shiki-dark:#FFA657",[90],{"type":27,"value":91},"commandBuffer",{"type":22,"tag":54,"props":93,"children":94},{"style":73},[95],{"type":27,"value":96},",\n",{"type":22,"tag":54,"props":98,"children":100},{"class":56,"line":99},3,[101,106,111],{"type":22,"tag":54,"props":102,"children":103},{"style":61},[104],{"type":27,"value":105}," uint32_t",{"type":22,"tag":54,"props":107,"children":108},{"style":88},[109],{"type":27,"value":110}," stageCount",{"type":22,"tag":54,"props":112,"children":113},{"style":73},[114],{"type":27,"value":96},{"type":22,"tag":54,"props":116,"children":118},{"class":56,"line":117},4,[119,124,129,134,139],{"type":22,"tag":54,"props":120,"children":121},{"style":61},[122],{"type":27,"value":123}," const",{"type":22,"tag":54,"props":125,"children":126},{"style":73},[127],{"type":27,"value":128}," VkShaderStageFlagBits",{"type":22,"tag":54,"props":130,"children":131},{"style":61},[132],{"type":27,"value":133},"*",{"type":22,"tag":54,"props":135,"children":136},{"style":88},[137],{"type":27,"value":138}," pStages",{"type":22,"tag":54,"props":140,"children":141},{"style":73},[142],{"type":27,"value":96},{"type":22,"tag":54,"props":144,"children":146},{"class":56,"line":145},5,[147,151,156,160,165],{"type":22,"tag":54,"props":148,"children":149},{"style":61},[150],{"type":27,"value":123},{"type":22,"tag":54,"props":152,"children":153},{"style":73},[154],{"type":27,"value":155}," VkShaderEXT",{"type":22,"tag":54,"props":157,"children":158},{"style":61},[159],{"type":27,"value":133},{"type":22,"tag":54,"props":161,"children":162},{"style":88},[163],{"type":27,"value":164}," pShaders",{"type":22,"tag":54,"props":166,"children":167},{"style":73},[168],{"type":27,"value":169},");\n",{"type":22,"tag":41,"props":171,"children":176},{"className":172,"code":173,"filename":174,"language":175,"meta":47,"style":47},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_bind_shaders_ext(\n command_buffer: vk::CommandBuffer,\n stage_count: u32,\n p_stages: *const ShaderStageFlags,\n p_shaders: *const vk::ShaderEXT,\n);\n","Rust","rs",[177],{"type":22,"tag":50,"props":178,"children":179},{"__ignoreMap":47},[180,202,234,255,281,314],{"type":22,"tag":54,"props":181,"children":182},{"class":56,"line":57},[183,188,193,198],{"type":22,"tag":54,"props":184,"children":185},{"style":61},[186],{"type":27,"value":187},"pub",{"type":22,"tag":54,"props":189,"children":190},{"style":61},[191],{"type":27,"value":192}," fn",{"type":22,"tag":54,"props":194,"children":195},{"style":67},[196],{"type":27,"value":197}," cmd_bind_shaders_ext",{"type":22,"tag":54,"props":199,"children":200},{"style":73},[201],{"type":27,"value":76},{"type":22,"tag":54,"props":203,"children":204},{"class":56,"line":79},[205,210,215,220,225,230],{"type":22,"tag":54,"props":206,"children":207},{"style":73},[208],{"type":27,"value":209}," command_buffer",{"type":22,"tag":54,"props":211,"children":212},{"style":61},[213],{"type":27,"value":214},":",{"type":22,"tag":54,"props":216,"children":217},{"style":88},[218],{"type":27,"value":219}," vk",{"type":22,"tag":54,"props":221,"children":222},{"style":61},[223],{"type":27,"value":224},"::",{"type":22,"tag":54,"props":226,"children":227},{"style":88},[228],{"type":27,"value":229},"CommandBuffer",{"type":22,"tag":54,"props":231,"children":232},{"style":73},[233],{"type":27,"value":96},{"type":22,"tag":54,"props":235,"children":236},{"class":56,"line":99},[237,242,246,251],{"type":22,"tag":54,"props":238,"children":239},{"style":73},[240],{"type":27,"value":241}," stage_count",{"type":22,"tag":54,"props":243,"children":244},{"style":61},[245],{"type":27,"value":214},{"type":22,"tag":54,"props":247,"children":248},{"style":88},[249],{"type":27,"value":250}," u32",{"type":22,"tag":54,"props":252,"children":253},{"style":73},[254],{"type":27,"value":96},{"type":22,"tag":54,"props":256,"children":257},{"class":56,"line":117},[258,263,267,272,277],{"type":22,"tag":54,"props":259,"children":260},{"style":73},[261],{"type":27,"value":262}," p_stages",{"type":22,"tag":54,"props":264,"children":265},{"style":61},[266],{"type":27,"value":214},{"type":22,"tag":54,"props":268,"children":269},{"style":61},[270],{"type":27,"value":271}," *const",{"type":22,"tag":54,"props":273,"children":274},{"style":88},[275],{"type":27,"value":276}," ShaderStageFlags",{"type":22,"tag":54,"props":278,"children":279},{"style":73},[280],{"type":27,"value":96},{"type":22,"tag":54,"props":282,"children":283},{"class":56,"line":145},[284,289,293,297,301,305,310],{"type":22,"tag":54,"props":285,"children":286},{"style":73},[287],{"type":27,"value":288}," p_shaders",{"type":22,"tag":54,"props":290,"children":291},{"style":61},[292],{"type":27,"value":214},{"type":22,"tag":54,"props":294,"children":295},{"style":61},[296],{"type":27,"value":271},{"type":22,"tag":54,"props":298,"children":299},{"style":88},[300],{"type":27,"value":219},{"type":22,"tag":54,"props":302,"children":303},{"style":61},[304],{"type":27,"value":224},{"type":22,"tag":54,"props":306,"children":307},{"style":88},[308],{"type":27,"value":309},"ShaderEXT",{"type":22,"tag":54,"props":311,"children":312},{"style":73},[313],{"type":27,"value":96},{"type":22,"tag":54,"props":315,"children":317},{"class":56,"line":316},6,[318],{"type":22,"tag":54,"props":319,"children":320},{"style":73},[321],{"type":27,"value":169},{"type":22,"tag":323,"props":324,"children":325},"ul",{},[326,337,364,390],{"type":22,"tag":327,"props":328,"children":329},"li",{},[330,335],{"type":22,"tag":50,"props":331,"children":333},{"className":332},[],[334],{"type":27,"value":91},{"type":27,"value":336}," is the command buffer that the shader object will be\nbound to.",{"type":22,"tag":327,"props":338,"children":339},{},[340,346,348,354,356,362],{"type":22,"tag":50,"props":341,"children":343},{"className":342},[],[344],{"type":27,"value":345},"stageCount",{"type":27,"value":347}," is the length of the ",{"type":22,"tag":50,"props":349,"children":351},{"className":350},[],[352],{"type":27,"value":353},"pStages",{"type":27,"value":355}," and ",{"type":22,"tag":50,"props":357,"children":359},{"className":358},[],[360],{"type":27,"value":361},"pShaders",{"type":27,"value":363},"\narrays.",{"type":22,"tag":327,"props":365,"children":366},{},[367,372,374,381,383,388],{"type":22,"tag":50,"props":368,"children":370},{"className":369},[],[371],{"type":27,"value":353},{"type":27,"value":373}," is a pointer to an array of ",{"type":22,"tag":375,"props":376,"children":378},"a",{"href":377},"/man/VkShaderStageFlagBits",[379],{"type":27,"value":380},"VkShaderStageFlagBits",{"type":27,"value":382},"\nvalues specifying one stage per array index that is affected by the\ncorresponding value in the ",{"type":22,"tag":50,"props":384,"children":386},{"className":385},[],[387],{"type":27,"value":361},{"type":27,"value":389}," array.",{"type":22,"tag":327,"props":391,"children":392},{},[393,398,399,405,407,413,415,420],{"type":22,"tag":50,"props":394,"children":396},{"className":395},[],[397],{"type":27,"value":361},{"type":27,"value":373},{"type":22,"tag":50,"props":400,"children":402},{"className":401},[],[403],{"type":27,"value":404},"VkShaderEXT",{"type":27,"value":406}," handles\nand/or ",{"type":22,"tag":375,"props":408,"children":410},{"href":409},"/man/VK_NULL_HANDLE",[411],{"type":27,"value":412},"VK_NULL_HANDLE",{"type":27,"value":414}," values describing the shader binding\noperations to be performed on each stage in ",{"type":22,"tag":50,"props":416,"children":418},{"className":417},[],[419],{"type":27,"value":353},{"type":27,"value":421},".",{"type":22,"tag":23,"props":423,"children":424},{},[425,427,431,433,438,440,445],{"type":27,"value":426},"When binding linked shaders, an application ",{"type":22,"tag":30,"props":428,"children":430},{"type":429},"may",[],{"type":27,"value":432}," bind them in any\ncombination of one or more calls to ",{"type":22,"tag":50,"props":434,"children":436},{"className":435},[],[437],{"type":27,"value":4},{"type":27,"value":439}," (i.e., shaders\nthat were created linked together do not need to be bound in the same\n",{"type":22,"tag":50,"props":441,"children":443},{"className":442},[],[444],{"type":27,"value":4},{"type":27,"value":446}," call).",{"type":22,"tag":23,"props":448,"children":449},{},[450,452,455,457,462,464,468,470,475,477,483,485,490,492,497,499,504,506,510,512,517],{"type":27,"value":451},"Any shader object bound to a particular stage ",{"type":22,"tag":30,"props":453,"children":454},{"type":429},[],{"type":27,"value":456}," be unbound by setting its\nvalue in ",{"type":22,"tag":50,"props":458,"children":460},{"className":459},[],[461],{"type":27,"value":361},{"type":27,"value":463}," to ",{"type":22,"tag":375,"props":465,"children":466},{"href":409},[467],{"type":27,"value":412},{"type":27,"value":469},".\nIf ",{"type":22,"tag":50,"props":471,"children":473},{"className":472},[],[474],{"type":27,"value":361},{"type":27,"value":476}," is ",{"type":22,"tag":50,"props":478,"children":480},{"className":479},[],[481],{"type":27,"value":482},"NULL",{"type":27,"value":484},", ",{"type":22,"tag":50,"props":486,"children":488},{"className":487},[],[489],{"type":27,"value":4},{"type":27,"value":491}," behaves as if\n",{"type":22,"tag":50,"props":493,"children":495},{"className":494},[],[496],{"type":27,"value":361},{"type":27,"value":498}," was an array of ",{"type":22,"tag":50,"props":500,"children":502},{"className":501},[],[503],{"type":27,"value":345},{"type":27,"value":505}," ",{"type":22,"tag":375,"props":507,"children":508},{"href":409},[509],{"type":27,"value":412},{"type":27,"value":511}," values\n(i.e., any shaders bound to the stages specified in ",{"type":22,"tag":50,"props":513,"children":515},{"className":514},[],[516],{"type":27,"value":353},{"type":27,"value":518}," are\nunbound).",{"type":22,"tag":520,"props":521,"children":523},"validity-group",{"name":522},"Valid Usage",[524,552,572,604,663,687,710,771,869,956,1027,1090,1149,1206,1248,1312],{"type":22,"tag":525,"props":526,"children":528},"validity-field",{"name":527},"VUID-vkCmdBindShadersEXT-None-08462",[529],{"type":22,"tag":23,"props":530,"children":531},{},[532,534,544,546,550],{"type":27,"value":533},"The ",{"type":22,"tag":375,"props":535,"children":537},{"href":536},"/man/VkPhysicalDeviceShaderObjectFeaturesEXT#features-shaderObject",[538],{"type":22,"tag":50,"props":539,"children":541},{"className":540},[],[542],{"type":27,"value":543},"shaderObject",{"type":27,"value":545}," feature ",{"type":22,"tag":30,"props":547,"children":549},{"type":548},"must",[],{"type":27,"value":551}," be\nenabled",{"type":22,"tag":525,"props":553,"children":555},{"name":554},"VUID-vkCmdBindShadersEXT-pStages-08463",[556],{"type":22,"tag":23,"props":557,"children":558},{},[559,561,566,567,570],{"type":27,"value":560},"Every element of ",{"type":22,"tag":50,"props":562,"children":564},{"className":563},[],[565],{"type":27,"value":353},{"type":27,"value":505},{"type":22,"tag":30,"props":568,"children":569},{"type":548},[],{"type":27,"value":571}," be unique",{"type":22,"tag":525,"props":573,"children":575},{"name":574},"VUID-vkCmdBindShadersEXT-pStages-08464",[576],{"type":22,"tag":23,"props":577,"children":578},{},[579,584,585,588,590,596,598],{"type":22,"tag":50,"props":580,"children":582},{"className":581},[],[583],{"type":27,"value":353},{"type":27,"value":505},{"type":22,"tag":30,"props":586,"children":587},{"type":548},[],{"type":27,"value":589}," not contain ",{"type":22,"tag":50,"props":591,"children":593},{"className":592},[],[594],{"type":27,"value":595},"VK_SHADER_STAGE_ALL_GRAPHICS",{"type":27,"value":597}," or\n",{"type":22,"tag":50,"props":599,"children":601},{"className":600},[],[602],{"type":27,"value":603},"VK_SHADER_STAGE_ALL",{"type":22,"tag":525,"props":605,"children":607},{"name":606},"VUID-vkCmdBindShadersEXT-pStages-08465",[608],{"type":22,"tag":23,"props":609,"children":610},{},[611,616,617,620,621,627,628,634,635,641,642,648,649,655,657],{"type":22,"tag":50,"props":612,"children":614},{"className":613},[],[615],{"type":27,"value":353},{"type":27,"value":505},{"type":22,"tag":30,"props":618,"children":619},{"type":548},[],{"type":27,"value":589},{"type":22,"tag":50,"props":622,"children":624},{"className":623},[],[625],{"type":27,"value":626},"VK_SHADER_STAGE_RAYGEN_BIT_KHR",{"type":27,"value":96},{"type":22,"tag":50,"props":629,"children":631},{"className":630},[],[632],{"type":27,"value":633},"VK_SHADER_STAGE_ANY_HIT_BIT_KHR",{"type":27,"value":96},{"type":22,"tag":50,"props":636,"children":638},{"className":637},[],[639],{"type":27,"value":640},"VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR",{"type":27,"value":96},{"type":22,"tag":50,"props":643,"children":645},{"className":644},[],[646],{"type":27,"value":647},"VK_SHADER_STAGE_MISS_BIT_KHR",{"type":27,"value":96},{"type":22,"tag":50,"props":650,"children":652},{"className":651},[],[653],{"type":27,"value":654},"VK_SHADER_STAGE_INTERSECTION_BIT_KHR",{"type":27,"value":656},", or\n",{"type":22,"tag":50,"props":658,"children":660},{"className":659},[],[661],{"type":27,"value":662},"VK_SHADER_STAGE_CALLABLE_BIT_KHR",{"type":22,"tag":525,"props":664,"children":666},{"name":665},"VUID-vkCmdBindShadersEXT-pStages-08467",[667],{"type":22,"tag":23,"props":668,"children":669},{},[670,675,676,679,681],{"type":22,"tag":50,"props":671,"children":673},{"className":672},[],[674],{"type":27,"value":353},{"type":27,"value":505},{"type":22,"tag":30,"props":677,"children":678},{"type":548},[],{"type":27,"value":680}," not contain\n",{"type":22,"tag":50,"props":682,"children":684},{"className":683},[],[685],{"type":27,"value":686},"VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI",{"type":22,"tag":525,"props":688,"children":690},{"name":689},"VUID-vkCmdBindShadersEXT-pStages-08468",[691],{"type":22,"tag":23,"props":692,"children":693},{},[694,699,700,703,704],{"type":22,"tag":50,"props":695,"children":697},{"className":696},[],[698],{"type":27,"value":353},{"type":27,"value":505},{"type":22,"tag":30,"props":701,"children":702},{"type":548},[],{"type":27,"value":680},{"type":22,"tag":50,"props":705,"children":707},{"className":706},[],[708],{"type":27,"value":709},"VK_SHADER_STAGE_CLUSTER_CULLING_BIT_HUAWEI",{"type":22,"tag":525,"props":711,"children":713},{"name":712},"VUID-vkCmdBindShadersEXT-pShaders-08469",[714],{"type":22,"tag":23,"props":715,"children":716},{},[717,719,724,726,731,733,738,740,745,747,751,753,756,758,764,766],{"type":27,"value":718},"For each element of ",{"type":22,"tag":50,"props":720,"children":722},{"className":721},[],[723],{"type":27,"value":353},{"type":27,"value":725},", if ",{"type":22,"tag":50,"props":727,"children":729},{"className":728},[],[730],{"type":27,"value":361},{"type":27,"value":732}," is not ",{"type":22,"tag":50,"props":734,"children":736},{"className":735},[],[737],{"type":27,"value":482},{"type":27,"value":739},", and\nthe element of the ",{"type":22,"tag":50,"props":741,"children":743},{"className":742},[],[744],{"type":27,"value":361},{"type":27,"value":746}," array with the same index is not\n",{"type":22,"tag":375,"props":748,"children":749},{"href":409},[750],{"type":27,"value":412},{"type":27,"value":752},", it ",{"type":22,"tag":30,"props":754,"children":755},{"type":548},[],{"type":27,"value":757}," have been created with a ",{"type":22,"tag":50,"props":759,"children":761},{"className":760},[],[762],{"type":27,"value":763},"stage",{"type":27,"value":765},"\nequal to the corresponding element of ",{"type":22,"tag":50,"props":767,"children":769},{"className":768},[],[770],{"type":27,"value":353},{"type":22,"tag":525,"props":772,"children":774},{"name":773},"VUID-vkCmdBindShadersEXT-pShaders-08470",[775],{"type":22,"tag":23,"props":776,"children":777},{},[778,780,785,787,793,795,801,803,808,809,814,816,821,823,828,830,835,836,840,842,847,848,853,855,860,863,865],{"type":27,"value":779},"If ",{"type":22,"tag":50,"props":781,"children":783},{"className":782},[],[784],{"type":27,"value":353},{"type":27,"value":786}," contains both ",{"type":22,"tag":50,"props":788,"children":790},{"className":789},[],[791],{"type":27,"value":792},"VK_SHADER_STAGE_TASK_BIT_EXT",{"type":27,"value":794}," and\n",{"type":22,"tag":50,"props":796,"children":798},{"className":797},[],[799],{"type":27,"value":800},"VK_SHADER_STAGE_VERTEX_BIT",{"type":27,"value":802},", and ",{"type":22,"tag":50,"props":804,"children":806},{"className":805},[],[807],{"type":27,"value":361},{"type":27,"value":732},{"type":22,"tag":50,"props":810,"children":812},{"className":811},[],[813],{"type":27,"value":482},{"type":27,"value":815},", and\nthe same index in ",{"type":22,"tag":50,"props":817,"children":819},{"className":818},[],[820],{"type":27,"value":361},{"type":27,"value":822}," as ",{"type":22,"tag":50,"props":824,"children":826},{"className":825},[],[827],{"type":27,"value":792},{"type":27,"value":829},"\nin ",{"type":22,"tag":50,"props":831,"children":833},{"className":832},[],[834],{"type":27,"value":353},{"type":27,"value":732},{"type":22,"tag":375,"props":837,"children":838},{"href":409},[839],{"type":27,"value":412},{"type":27,"value":841},", the same index in\n",{"type":22,"tag":50,"props":843,"children":845},{"className":844},[],[846],{"type":27,"value":361},{"type":27,"value":822},{"type":22,"tag":50,"props":849,"children":851},{"className":850},[],[852],{"type":27,"value":800},{"type":27,"value":854}," in ",{"type":22,"tag":50,"props":856,"children":858},{"className":857},[],[859],{"type":27,"value":353},{"type":22,"tag":30,"props":861,"children":862},{"type":548},[],{"type":27,"value":864}," be ",{"type":22,"tag":375,"props":866,"children":867},{"href":409},[868],{"type":27,"value":412},{"type":22,"tag":525,"props":870,"children":872},{"name":871},"VUID-vkCmdBindShadersEXT-pShaders-08471",[873],{"type":22,"tag":23,"props":874,"children":875},{},[876,877,882,883,889,890,895,896,901,902,907,908,913,914,919,920,925,926,930,931,936,937,942,943,948,951,952],{"type":27,"value":779},{"type":22,"tag":50,"props":878,"children":880},{"className":879},[],[881],{"type":27,"value":353},{"type":27,"value":786},{"type":22,"tag":50,"props":884,"children":886},{"className":885},[],[887],{"type":27,"value":888},"VK_SHADER_STAGE_MESH_BIT_EXT",{"type":27,"value":794},{"type":22,"tag":50,"props":891,"children":893},{"className":892},[],[894],{"type":27,"value":800},{"type":27,"value":802},{"type":22,"tag":50,"props":897,"children":899},{"className":898},[],[900],{"type":27,"value":361},{"type":27,"value":732},{"type":22,"tag":50,"props":903,"children":905},{"className":904},[],[906],{"type":27,"value":482},{"type":27,"value":815},{"type":22,"tag":50,"props":909,"children":911},{"className":910},[],[912],{"type":27,"value":361},{"type":27,"value":822},{"type":22,"tag":50,"props":915,"children":917},{"className":916},[],[918],{"type":27,"value":888},{"type":27,"value":829},{"type":22,"tag":50,"props":921,"children":923},{"className":922},[],[924],{"type":27,"value":353},{"type":27,"value":732},{"type":22,"tag":375,"props":927,"children":928},{"href":409},[929],{"type":27,"value":412},{"type":27,"value":841},{"type":22,"tag":50,"props":932,"children":934},{"className":933},[],[935],{"type":27,"value":361},{"type":27,"value":822},{"type":22,"tag":50,"props":938,"children":940},{"className":939},[],[941],{"type":27,"value":800},{"type":27,"value":854},{"type":22,"tag":50,"props":944,"children":946},{"className":945},[],[947],{"type":27,"value":353},{"type":22,"tag":30,"props":949,"children":950},{"type":548},[],{"type":27,"value":864},{"type":22,"tag":375,"props":953,"children":954},{"href":409},[955],{"type":27,"value":412},{"type":22,"tag":525,"props":957,"children":959},{"name":958},"VUID-vkCmdBindShadersEXT-pShaders-08474",[960],{"type":22,"tag":23,"props":961,"children":962},{},[963,965,975,977,982,984,990,991,997,998,1003,1005,1010,1012,1017,1018,1021,1023],{"type":27,"value":964},"If the ",{"type":22,"tag":375,"props":966,"children":968},{"href":967},"/man/VkPhysicalDeviceFeatures#features-tessellationShader",[969],{"type":22,"tag":50,"props":970,"children":972},{"className":971},[],[973],{"type":27,"value":974},"tessellationShader",{"type":27,"value":976}," feature\nis not enabled, and ",{"type":22,"tag":50,"props":978,"children":980},{"className":979},[],[981],{"type":27,"value":353},{"type":27,"value":983}," contains\n",{"type":22,"tag":50,"props":985,"children":987},{"className":986},[],[988],{"type":27,"value":989},"VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT",{"type":27,"value":597},{"type":22,"tag":50,"props":992,"children":994},{"className":993},[],[995],{"type":27,"value":996},"VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT",{"type":27,"value":802},{"type":22,"tag":50,"props":999,"children":1001},{"className":1000},[],[1002],{"type":27,"value":361},{"type":27,"value":1004}," is\nnot ",{"type":22,"tag":50,"props":1006,"children":1008},{"className":1007},[],[1009],{"type":27,"value":482},{"type":27,"value":1011},", the same index or indices in ",{"type":22,"tag":50,"props":1013,"children":1015},{"className":1014},[],[1016],{"type":27,"value":361},{"type":27,"value":505},{"type":22,"tag":30,"props":1019,"children":1020},{"type":548},[],{"type":27,"value":1022}," be\n",{"type":22,"tag":375,"props":1024,"children":1025},{"href":409},[1026],{"type":27,"value":412},{"type":22,"tag":525,"props":1028,"children":1030},{"name":1029},"VUID-vkCmdBindShadersEXT-pShaders-08475",[1031],{"type":22,"tag":23,"props":1032,"children":1033},{},[1034,1035,1045,1047,1052,1054,1060,1062,1067,1068,1073,1075,1080,1081,1084,1086],{"type":27,"value":964},{"type":22,"tag":375,"props":1036,"children":1038},{"href":1037},"/man/VkPhysicalDeviceFeatures#features-geometryShader",[1039],{"type":22,"tag":50,"props":1040,"children":1042},{"className":1041},[],[1043],{"type":27,"value":1044},"geometryShader",{"type":27,"value":1046}," feature is not\nenabled, and ",{"type":22,"tag":50,"props":1048,"children":1050},{"className":1049},[],[1051],{"type":27,"value":353},{"type":27,"value":1053}," contains ",{"type":22,"tag":50,"props":1055,"children":1057},{"className":1056},[],[1058],{"type":27,"value":1059},"VK_SHADER_STAGE_GEOMETRY_BIT",{"type":27,"value":1061},",\nand ",{"type":22,"tag":50,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":27,"value":361},{"type":27,"value":732},{"type":22,"tag":50,"props":1069,"children":1071},{"className":1070},[],[1072],{"type":27,"value":482},{"type":27,"value":1074},", the same index in ",{"type":22,"tag":50,"props":1076,"children":1078},{"className":1077},[],[1079],{"type":27,"value":361},{"type":27,"value":505},{"type":22,"tag":30,"props":1082,"children":1083},{"type":548},[],{"type":27,"value":1085},"\nbe ",{"type":22,"tag":375,"props":1087,"children":1088},{"href":409},[1089],{"type":27,"value":412},{"type":22,"tag":525,"props":1091,"children":1093},{"name":1092},"VUID-vkCmdBindShadersEXT-pShaders-08490",[1094],{"type":22,"tag":23,"props":1095,"children":1096},{},[1097,1098,1108,1110,1115,1116,1121,1123,1128,1129,1134,1135,1140,1141,1144,1145],{"type":27,"value":964},{"type":22,"tag":375,"props":1099,"children":1101},{"href":1100},"/man/VkPhysicalDeviceMeshShaderFeaturesEXT#features-taskShader",[1102],{"type":22,"tag":50,"props":1103,"children":1105},{"className":1104},[],[1106],{"type":27,"value":1107},"taskShader",{"type":27,"value":1109}," feature is not enabled,\nand ",{"type":22,"tag":50,"props":1111,"children":1113},{"className":1112},[],[1114],{"type":27,"value":353},{"type":27,"value":1053},{"type":22,"tag":50,"props":1117,"children":1119},{"className":1118},[],[1120],{"type":27,"value":792},{"type":27,"value":1122},", and\n",{"type":22,"tag":50,"props":1124,"children":1126},{"className":1125},[],[1127],{"type":27,"value":361},{"type":27,"value":732},{"type":22,"tag":50,"props":1130,"children":1132},{"className":1131},[],[1133],{"type":27,"value":482},{"type":27,"value":1074},{"type":22,"tag":50,"props":1136,"children":1138},{"className":1137},[],[1139],{"type":27,"value":361},{"type":27,"value":505},{"type":22,"tag":30,"props":1142,"children":1143},{"type":548},[],{"type":27,"value":1022},{"type":22,"tag":375,"props":1146,"children":1147},{"href":409},[1148],{"type":27,"value":412},{"type":22,"tag":525,"props":1150,"children":1152},{"name":1151},"VUID-vkCmdBindShadersEXT-pShaders-08491",[1153],{"type":22,"tag":23,"props":1154,"children":1155},{},[1156,1157,1167,1168,1173,1174,1179,1180,1185,1186,1191,1192,1197,1198,1201,1202],{"type":27,"value":964},{"type":22,"tag":375,"props":1158,"children":1160},{"href":1159},"/man/VkPhysicalDeviceMeshShaderFeaturesEXT#features-meshShader",[1161],{"type":22,"tag":50,"props":1162,"children":1164},{"className":1163},[],[1165],{"type":27,"value":1166},"meshShader",{"type":27,"value":1109},{"type":22,"tag":50,"props":1169,"children":1171},{"className":1170},[],[1172],{"type":27,"value":353},{"type":27,"value":1053},{"type":22,"tag":50,"props":1175,"children":1177},{"className":1176},[],[1178],{"type":27,"value":888},{"type":27,"value":1122},{"type":22,"tag":50,"props":1181,"children":1183},{"className":1182},[],[1184],{"type":27,"value":361},{"type":27,"value":732},{"type":22,"tag":50,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":27,"value":482},{"type":27,"value":1074},{"type":22,"tag":50,"props":1193,"children":1195},{"className":1194},[],[1196],{"type":27,"value":361},{"type":27,"value":505},{"type":22,"tag":30,"props":1199,"children":1200},{"type":548},[],{"type":27,"value":1022},{"type":22,"tag":375,"props":1203,"children":1204},{"href":409},[1205],{"type":27,"value":412},{"type":22,"tag":525,"props":1207,"children":1209},{"name":1208},"VUID-vkCmdBindShadersEXT-pShaders-08476",[1210],{"type":22,"tag":23,"props":1211,"children":1212},{},[1213,1214,1219,1220,1226,1228,1234,1236,1241,1243,1246],{"type":27,"value":779},{"type":22,"tag":50,"props":1215,"children":1217},{"className":1216},[],[1218],{"type":27,"value":353},{"type":27,"value":1053},{"type":22,"tag":50,"props":1221,"children":1223},{"className":1222},[],[1224],{"type":27,"value":1225},"VK_SHADER_STAGE_COMPUTE_BIT",{"type":27,"value":1227},", the\n",{"type":22,"tag":50,"props":1229,"children":1231},{"className":1230},[],[1232],{"type":27,"value":1233},"VkCommandPool",{"type":27,"value":1235}," that ",{"type":22,"tag":50,"props":1237,"children":1239},{"className":1238},[],[1240],{"type":27,"value":91},{"type":27,"value":1242}," was allocated from ",{"type":22,"tag":30,"props":1244,"children":1245},{"type":548},[],{"type":27,"value":1247},"\nsupport compute operations",{"type":22,"tag":525,"props":1249,"children":1251},{"name":1250},"VUID-vkCmdBindShadersEXT-pShaders-08477",[1252],{"type":22,"tag":23,"props":1253,"children":1254},{},[1255,1256,1261,1262,1267,1268,1273,1274,1279,1280,1285,1286,1292,1294,1299,1301,1306,1307,1310],{"type":27,"value":779},{"type":22,"tag":50,"props":1257,"children":1259},{"className":1258},[],[1260],{"type":27,"value":353},{"type":27,"value":1053},{"type":22,"tag":50,"props":1263,"children":1265},{"className":1264},[],[1266],{"type":27,"value":800},{"type":27,"value":96},{"type":22,"tag":50,"props":1269,"children":1271},{"className":1270},[],[1272],{"type":27,"value":989},{"type":27,"value":96},{"type":22,"tag":50,"props":1275,"children":1277},{"className":1276},[],[1278],{"type":27,"value":996},{"type":27,"value":96},{"type":22,"tag":50,"props":1281,"children":1283},{"className":1282},[],[1284],{"type":27,"value":1059},{"type":27,"value":656},{"type":22,"tag":50,"props":1287,"children":1289},{"className":1288},[],[1290],{"type":27,"value":1291},"VK_SHADER_STAGE_FRAGMENT_BIT",{"type":27,"value":1293},", the ",{"type":22,"tag":50,"props":1295,"children":1297},{"className":1296},[],[1298],{"type":27,"value":1233},{"type":27,"value":1300}," that\n",{"type":22,"tag":50,"props":1302,"children":1304},{"className":1303},[],[1305],{"type":27,"value":91},{"type":27,"value":1242},{"type":22,"tag":30,"props":1308,"children":1309},{"type":548},[],{"type":27,"value":1311}," support graphics operations",{"type":22,"tag":525,"props":1313,"children":1315},{"name":1314},"VUID-vkCmdBindShadersEXT-pShaders-08478",[1316],{"type":22,"tag":23,"props":1317,"children":1318},{},[1319,1320,1325,1326,1331,1332,1337,1338,1343,1344,1349,1350,1353],{"type":27,"value":779},{"type":22,"tag":50,"props":1321,"children":1323},{"className":1322},[],[1324],{"type":27,"value":353},{"type":27,"value":1053},{"type":22,"tag":50,"props":1327,"children":1329},{"className":1328},[],[1330],{"type":27,"value":888},{"type":27,"value":597},{"type":22,"tag":50,"props":1333,"children":1335},{"className":1334},[],[1336],{"type":27,"value":792},{"type":27,"value":1293},{"type":22,"tag":50,"props":1339,"children":1341},{"className":1340},[],[1342],{"type":27,"value":1233},{"type":27,"value":1300},{"type":22,"tag":50,"props":1345,"children":1347},{"className":1346},[],[1348],{"type":27,"value":91},{"type":27,"value":1242},{"type":22,"tag":30,"props":1351,"children":1352},{"type":548},[],{"type":27,"value":1311},{"type":22,"tag":520,"props":1355,"children":1357},{"name":1356},"Valid Usage (Implicit)",[1358,1384,1415,1464,1488,1513,1527,1551],{"type":22,"tag":525,"props":1359,"children":1361},{"name":1360},"VUID-vkCmdBindShadersEXT-commandBuffer-parameter",[1362],{"type":22,"tag":23,"props":1363,"children":1364},{},[1365,1370,1371,1374,1376,1382],{"type":22,"tag":50,"props":1366,"children":1368},{"className":1367},[],[1369],{"type":27,"value":91},{"type":27,"value":505},{"type":22,"tag":30,"props":1372,"children":1373},{"type":548},[],{"type":27,"value":1375}," be a valid ",{"type":22,"tag":375,"props":1377,"children":1379},{"href":1378},"/man/VkCommandBuffer",[1380],{"type":27,"value":1381},"VkCommandBuffer",{"type":27,"value":1383}," handle",{"type":22,"tag":525,"props":1385,"children":1387},{"name":1386},"VUID-vkCmdBindShadersEXT-pStages-parameter",[1388],{"type":22,"tag":23,"props":1389,"children":1390},{},[1391,1396,1397,1400,1402,1407,1409,1413],{"type":22,"tag":50,"props":1392,"children":1394},{"className":1393},[],[1395],{"type":27,"value":353},{"type":27,"value":505},{"type":22,"tag":30,"props":1398,"children":1399},{"type":548},[],{"type":27,"value":1401}," be a valid pointer to an array of ",{"type":22,"tag":50,"props":1403,"children":1405},{"className":1404},[],[1406],{"type":27,"value":345},{"type":27,"value":1408}," valid ",{"type":22,"tag":375,"props":1410,"children":1411},{"href":377},[1412],{"type":27,"value":380},{"type":27,"value":1414}," values",{"type":22,"tag":525,"props":1416,"children":1418},{"name":1417},"VUID-vkCmdBindShadersEXT-pShaders-parameter",[1419],{"type":22,"tag":23,"props":1420,"children":1421},{},[1422,1423,1428,1429,1434,1435,1440,1441,1444,1445,1450,1452,1456,1457,1462],{"type":27,"value":779},{"type":22,"tag":50,"props":1424,"children":1426},{"className":1425},[],[1427],{"type":27,"value":361},{"type":27,"value":732},{"type":22,"tag":50,"props":1430,"children":1432},{"className":1431},[],[1433],{"type":27,"value":482},{"type":27,"value":484},{"type":22,"tag":50,"props":1436,"children":1438},{"className":1437},[],[1439],{"type":27,"value":361},{"type":27,"value":505},{"type":22,"tag":30,"props":1442,"children":1443},{"type":548},[],{"type":27,"value":1401},{"type":22,"tag":50,"props":1446,"children":1448},{"className":1447},[],[1449],{"type":27,"value":345},{"type":27,"value":1451}," valid or ",{"type":22,"tag":375,"props":1453,"children":1454},{"href":409},[1455],{"type":27,"value":412},{"type":27,"value":505},{"type":22,"tag":375,"props":1458,"children":1460},{"href":1459},"/man/VkShaderEXT",[1461],{"type":27,"value":404},{"type":27,"value":1463}," handles",{"type":22,"tag":525,"props":1465,"children":1467},{"name":1466},"VUID-vkCmdBindShadersEXT-commandBuffer-recording",[1468],{"type":22,"tag":23,"props":1469,"children":1470},{},[1471,1476,1477,1480,1482],{"type":22,"tag":50,"props":1472,"children":1474},{"className":1473},[],[1475],{"type":27,"value":91},{"type":27,"value":505},{"type":22,"tag":30,"props":1478,"children":1479},{"type":548},[],{"type":27,"value":1481}," be in the ",{"type":22,"tag":375,"props":1483,"children":1485},{"href":1484},"/chapters/commandbuffers#commandbuffers-lifecycle",[1486],{"type":27,"value":1487},"recording state",{"type":22,"tag":525,"props":1489,"children":1491},{"name":1490},"VUID-vkCmdBindShadersEXT-commandBuffer-cmdpool",[1492],{"type":22,"tag":23,"props":1493,"children":1494},{},[1495,1496,1501,1502,1507,1508,1511],{"type":27,"value":533},{"type":22,"tag":50,"props":1497,"children":1499},{"className":1498},[],[1500],{"type":27,"value":1233},{"type":27,"value":1235},{"type":22,"tag":50,"props":1503,"children":1505},{"className":1504},[],[1506],{"type":27,"value":91},{"type":27,"value":1242},{"type":22,"tag":30,"props":1509,"children":1510},{"type":548},[],{"type":27,"value":1512}," support graphics, or compute operations",{"type":22,"tag":525,"props":1514,"children":1516},{"name":1515},"VUID-vkCmdBindShadersEXT-videocoding",[1517],{"type":22,"tag":23,"props":1518,"children":1519},{},[1520,1522,1525],{"type":27,"value":1521},"This command ",{"type":22,"tag":30,"props":1523,"children":1524},{"type":548},[],{"type":27,"value":1526}," only be called outside of a video coding scope",{"type":22,"tag":525,"props":1528,"children":1530},{"name":1529},"VUID-vkCmdBindShadersEXT-stageCount-arraylength",[1531],{"type":22,"tag":23,"props":1532,"children":1533},{},[1534,1539,1540,1543,1545],{"type":22,"tag":50,"props":1535,"children":1537},{"className":1536},[],[1538],{"type":27,"value":345},{"type":27,"value":505},{"type":22,"tag":30,"props":1541,"children":1542},{"type":548},[],{"type":27,"value":1544}," be greater than ",{"type":22,"tag":50,"props":1546,"children":1548},{"className":1547},[],[1549],{"type":27,"value":1550},"0",{"type":22,"tag":525,"props":1552,"children":1554},{"name":1553},"VUID-vkCmdBindShadersEXT-commonparent",[1555],{"type":22,"tag":23,"props":1556,"children":1557},{},[1558,1560,1565,1567,1572,1574,1577,1579],{"type":27,"value":1559},"Both of ",{"type":22,"tag":50,"props":1561,"children":1563},{"className":1562},[],[1564],{"type":27,"value":91},{"type":27,"value":1566},", and the elements of ",{"type":22,"tag":50,"props":1568,"children":1570},{"className":1569},[],[1571],{"type":27,"value":361},{"type":27,"value":1573}," that are valid handles of non-ignored parameters ",{"type":22,"tag":30,"props":1575,"children":1576},{"type":548},[],{"type":27,"value":1578}," have been created, allocated, or retrieved from the same ",{"type":22,"tag":375,"props":1580,"children":1582},{"href":1581},"/man/VkDevice",[1583],{"type":27,"value":1584},"VkDevice",{"type":22,"tag":1586,"props":1587,"children":1589},"validity-box",{"name":1588},"Host Synchronization",[1590],{"type":22,"tag":323,"props":1591,"children":1592},{},[1593,1609],{"type":22,"tag":327,"props":1594,"children":1595},{},[1596,1598,1603,1604,1607],{"type":27,"value":1597},"Host access to ",{"type":22,"tag":50,"props":1599,"children":1601},{"className":1600},[],[1602],{"type":27,"value":91},{"type":27,"value":505},{"type":22,"tag":30,"props":1605,"children":1606},{"type":548},[],{"type":27,"value":1608}," be externally synchronized",{"type":22,"tag":327,"props":1610,"children":1611},{},[1612,1614,1619,1620,1625,1626,1629],{"type":27,"value":1613},"Host access to the ",{"type":22,"tag":50,"props":1615,"children":1617},{"className":1616},[],[1618],{"type":27,"value":1233},{"type":27,"value":1235},{"type":22,"tag":50,"props":1621,"children":1623},{"className":1622},[],[1624],{"type":27,"value":91},{"type":27,"value":1242},{"type":22,"tag":30,"props":1627,"children":1628},{"type":548},[],{"type":27,"value":1630}," be externally synchronized\n::",{"type":22,"tag":1632,"props":1633,"children":1634},"style",{},[1635],{"type":27,"value":1636},"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":47,"searchDepth":79,"depth":79,"links":1638},[],"markdown",1729612491952]