[{"data":1,"prerenderedAt":529},["ShallowReactive",2],{"WT34UD7xrA":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":528,"_id":4},"VkWriteIndirectExecutionSetShaderEXT","Struct specifying shader object update information for an indirect execution set","VK_EXT_device_generated_commands","structs",[],{"type":10,"children":11,"toc":526},"root",[12,28,273,339,351,466,520],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," struct is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,127],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkWriteIndirectExecutionSetShaderEXT {\n VkStructureType sType;\n const void* pNext;\n uint32_t index;\n VkShaderEXT shader;\n} VkWriteIndirectExecutionSetShaderEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,118],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkWriteIndirectExecutionSetShaderEXT {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," uint32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," index;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113],{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," VkShaderEXT shader;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122],{"type":13,"tag":45,"props":123,"children":124},{"style":63},[125],{"type":18,"value":126},"} VkWriteIndirectExecutionSetShaderEXT;\n",{"type":13,"tag":33,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct WriteIndirectExecutionSetShaderEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n index: u32,\n shader: vk::ShaderEXT,\n}\n","Rust","rs",[134],{"type":13,"tag":21,"props":135,"children":136},{"__ignoreMap":39},[137,160,193,215,236,265],{"type":13,"tag":45,"props":138,"children":139},{"class":47,"line":48},[140,145,149,155],{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":144},"pub",{"type":13,"tag":45,"props":146,"children":147},{"style":52},[148],{"type":18,"value":60},{"type":13,"tag":45,"props":150,"children":152},{"style":151},"--shiki-default:#953800;--shiki-dark:#FFA657",[153],{"type":18,"value":154}," WriteIndirectExecutionSetShaderEXT",{"type":13,"tag":45,"props":156,"children":157},{"style":63},[158],{"type":18,"value":159}," {\n",{"type":13,"tag":45,"props":161,"children":162},{"class":47,"line":69},[163,168,173,178,183,188],{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167}," s_type",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":172},":",{"type":13,"tag":45,"props":174,"children":175},{"style":151},[176],{"type":18,"value":177}," vk",{"type":13,"tag":45,"props":179,"children":180},{"style":52},[181],{"type":18,"value":182},"::",{"type":13,"tag":45,"props":184,"children":185},{"style":151},[186],{"type":18,"value":187},"StructureType",{"type":13,"tag":45,"props":189,"children":190},{"style":63},[191],{"type":18,"value":192},",\n",{"type":13,"tag":45,"props":194,"children":195},{"class":47,"line":78},[196,201,205,210],{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," p_next",{"type":13,"tag":45,"props":202,"children":203},{"style":52},[204],{"type":18,"value":172},{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":209}," *const",{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214}," c_void,\n",{"type":13,"tag":45,"props":216,"children":217},{"class":47,"line":97},[218,223,227,232],{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," index",{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":172},{"type":13,"tag":45,"props":228,"children":229},{"style":151},[230],{"type":18,"value":231}," u32",{"type":13,"tag":45,"props":233,"children":234},{"style":63},[235],{"type":18,"value":192},{"type":13,"tag":45,"props":237,"children":238},{"class":47,"line":111},[239,244,248,252,256,261],{"type":13,"tag":45,"props":240,"children":241},{"style":63},[242],{"type":18,"value":243}," shader",{"type":13,"tag":45,"props":245,"children":246},{"style":52},[247],{"type":18,"value":172},{"type":13,"tag":45,"props":249,"children":250},{"style":151},[251],{"type":18,"value":177},{"type":13,"tag":45,"props":253,"children":254},{"style":52},[255],{"type":18,"value":182},{"type":13,"tag":45,"props":257,"children":258},{"style":151},[259],{"type":18,"value":260},"ShaderEXT",{"type":13,"tag":45,"props":262,"children":263},{"style":63},[264],{"type":18,"value":192},{"type":13,"tag":45,"props":266,"children":267},{"class":47,"line":120},[268],{"type":13,"tag":45,"props":269,"children":270},{"style":63},[271],{"type":18,"value":272},"}\n",{"type":13,"tag":274,"props":275,"children":276},"ul",{},[277,298,317,328],{"type":13,"tag":278,"props":279,"children":280},"li",{},[281,287,289,296],{"type":13,"tag":21,"props":282,"children":284},{"className":283},[],[285],{"type":18,"value":286},"sType",{"type":18,"value":288}," is a ",{"type":13,"tag":290,"props":291,"children":293},"a",{"href":292},"/man/VkStructureType",[294],{"type":18,"value":295},"VkStructureType",{"type":18,"value":297}," value identifying this structure.",{"type":13,"tag":278,"props":299,"children":300},{},[301,307,309,315],{"type":13,"tag":21,"props":302,"children":304},{"className":303},[],[305],{"type":18,"value":306},"pNext",{"type":18,"value":308}," is ",{"type":13,"tag":21,"props":310,"children":312},{"className":311},[],[313],{"type":18,"value":314},"NULL",{"type":18,"value":316}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":278,"props":318,"children":319},{},[320,326],{"type":13,"tag":21,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":325},"index",{"type":18,"value":327}," is the element of the set to update",{"type":13,"tag":278,"props":329,"children":330},{},[331,337],{"type":13,"tag":21,"props":332,"children":334},{"className":333},[],[335],{"type":18,"value":336},"shader",{"type":18,"value":338}," is the shader to store in the indirect execution set",{"type":13,"tag":14,"props":340,"children":341},{},[342,344,349],{"type":18,"value":343},"Shaders need not be stored in the Indirect Execution Set according to their\nstage.\nThe only restriction for shader indices within a set is that the value of\nthe index ",{"type":13,"tag":345,"props":346,"children":348},"normative",{"type":347},"must",[],{"type":18,"value":350}," be less than the maximum number of shaders in the set.",{"type":13,"tag":352,"props":353,"children":355},"validity-group",{"name":354},"Valid Usage",[356,389,413,448],{"type":13,"tag":357,"props":358,"children":360},"validity-field",{"name":359},"VUID-VkWriteIndirectExecutionSetShaderEXT-index-11031",[361],{"type":13,"tag":14,"props":362,"children":363},{},[364,369,371,374,376,382,383],{"type":13,"tag":21,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":325},{"type":18,"value":370}," ",{"type":13,"tag":345,"props":372,"children":373},{"type":347},[],{"type":18,"value":375}," be less than\n",{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"VkIndirectExecutionSetShaderInfoEXT",{"type":18,"value":182},{"type":13,"tag":21,"props":384,"children":386},{"className":385},[],[387],{"type":18,"value":388},"maxShaderCount",{"type":13,"tag":357,"props":390,"children":392},{"name":391},"VUID-VkWriteIndirectExecutionSetShaderEXT-shader-11032",[393],{"type":13,"tag":14,"props":394,"children":395},{},[396,401,402,405,407],{"type":13,"tag":21,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":336},{"type":18,"value":370},{"type":13,"tag":345,"props":403,"children":404},{"type":347},[],{"type":18,"value":406}," have been created with\n",{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":412},"VK_SHADER_CREATE_INDIRECT_BINDABLE_BIT_EXT",{"type":13,"tag":357,"props":414,"children":416},{"name":415},"VUID-VkWriteIndirectExecutionSetShaderEXT-pInitialShaders-11033",[417],{"type":13,"tag":14,"props":418,"children":419},{},[420,422,428,429,432,434,439,440,446],{"type":18,"value":421},"A shader created with the same ",{"type":13,"tag":290,"props":423,"children":425},{"href":424},"/man/VkShaderStageFlagBits",[426],{"type":18,"value":427},"VkShaderStageFlagBits",{"type":18,"value":370},{"type":13,"tag":345,"props":430,"children":431},{"type":347},[],{"type":18,"value":433}," have\nbeen passed in the\n",{"type":13,"tag":21,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":381},{"type":18,"value":182},{"type":13,"tag":21,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":445},"pInitialShaders",{"type":18,"value":447}," array",{"type":13,"tag":357,"props":449,"children":451},{"name":450},"VUID-VkWriteIndirectExecutionSetShaderEXT-index-11034",[452],{"type":13,"tag":14,"props":453,"children":454},{},[455,460,461,464],{"type":13,"tag":21,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":325},{"type":18,"value":370},{"type":13,"tag":345,"props":462,"children":463},{"type":347},[],{"type":18,"value":465}," not be in use by submitted command buffers",{"type":13,"tag":352,"props":467,"children":469},{"name":468},"Valid Usage (Implicit)",[470,494],{"type":13,"tag":357,"props":471,"children":473},{"name":472},"VUID-VkWriteIndirectExecutionSetShaderEXT-sType-sType",[474],{"type":13,"tag":14,"props":475,"children":476},{},[477,482,483,486,488],{"type":13,"tag":21,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":286},{"type":18,"value":370},{"type":13,"tag":345,"props":484,"children":485},{"type":347},[],{"type":18,"value":487}," be ",{"type":13,"tag":21,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":493},"VK_STRUCTURE_TYPE_WRITE_INDIRECT_EXECUTION_SET_SHADER_EXT",{"type":13,"tag":357,"props":495,"children":497},{"name":496},"VUID-VkWriteIndirectExecutionSetShaderEXT-shader-parameter",[498],{"type":13,"tag":14,"props":499,"children":500},{},[501,506,507,510,512,518],{"type":13,"tag":21,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":336},{"type":18,"value":370},{"type":13,"tag":345,"props":508,"children":509},{"type":347},[],{"type":18,"value":511}," be a valid ",{"type":13,"tag":290,"props":513,"children":515},{"href":514},"/man/VkShaderEXT",[516],{"type":18,"value":517},"VkShaderEXT",{"type":18,"value":519}," handle",{"type":13,"tag":521,"props":522,"children":523},"style",{},[524],{"type":18,"value":525},"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":39,"searchDepth":69,"depth":69,"links":527},[],"markdown",1729612489931]