[{"data":1,"prerenderedAt":609},["ShallowReactive",2],{"jIhJXcedIb":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":608,"_id":4},"VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI","Structure describing cluster culling shader properties supported by an implementation","VK_HUAWEI_cluster_culling_shader","structs",[],{"type":10,"children":11,"toc":606},"root",[12,28,399,535,570,600],{"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}," structure is\ndefined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,177],{"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 VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI {\n VkStructureType sType;\n void* pNext;\n uint32_t maxWorkGroupCount[3];\n uint32_t maxWorkGroupSize[3];\n uint32_t maxOutputClusterCount;\n VkDeviceSize indirectBufferOffsetAlignment;\n} VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,121,146,159,168],{"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}," VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94,99,105,110,116],{"type":13,"tag":45,"props":95,"children":96},{"style":52},[97],{"type":18,"value":98}," uint32_t",{"type":13,"tag":45,"props":100,"children":102},{"style":101},"--shiki-default:#953800;--shiki-dark:#FFA657",[103],{"type":18,"value":104}," maxWorkGroupCount",{"type":13,"tag":45,"props":106,"children":107},{"style":63},[108],{"type":18,"value":109},"[",{"type":13,"tag":45,"props":111,"children":113},{"style":112},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[114],{"type":18,"value":115},"3",{"type":13,"tag":45,"props":117,"children":118},{"style":63},[119],{"type":18,"value":120},"];\n",{"type":13,"tag":45,"props":122,"children":124},{"class":47,"line":123},5,[125,129,134,138,142],{"type":13,"tag":45,"props":126,"children":127},{"style":52},[128],{"type":18,"value":98},{"type":13,"tag":45,"props":130,"children":131},{"style":101},[132],{"type":18,"value":133}," maxWorkGroupSize",{"type":13,"tag":45,"props":135,"children":136},{"style":63},[137],{"type":18,"value":109},{"type":13,"tag":45,"props":139,"children":140},{"style":112},[141],{"type":18,"value":115},{"type":13,"tag":45,"props":143,"children":144},{"style":63},[145],{"type":18,"value":120},{"type":13,"tag":45,"props":147,"children":149},{"class":47,"line":148},6,[150,154],{"type":13,"tag":45,"props":151,"children":152},{"style":52},[153],{"type":18,"value":98},{"type":13,"tag":45,"props":155,"children":156},{"style":63},[157],{"type":18,"value":158}," maxOutputClusterCount;\n",{"type":13,"tag":45,"props":160,"children":162},{"class":47,"line":161},7,[163],{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167}," VkDeviceSize indirectBufferOffsetAlignment;\n",{"type":13,"tag":45,"props":169,"children":171},{"class":47,"line":170},8,[172],{"type":13,"tag":45,"props":173,"children":174},{"style":63},[175],{"type":18,"value":176},"} VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI;\n",{"type":13,"tag":33,"props":178,"children":183},{"className":179,"code":180,"filename":181,"language":182,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceClusterCullingShaderPropertiesHUAWEI {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n max_work_group_count: *const [u32 ; 3],\n max_work_group_size: *const [u32 ; 3],\n max_output_cluster_count: u32,\n indirect_buffer_offset_alignment: vk::DeviceSize,\n}\n","Rust","rs",[184],{"type":13,"tag":21,"props":185,"children":186},{"__ignoreMap":39},[187,209,242,264,305,341,362,391],{"type":13,"tag":45,"props":188,"children":189},{"class":47,"line":48},[190,195,199,204],{"type":13,"tag":45,"props":191,"children":192},{"style":52},[193],{"type":18,"value":194},"pub",{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":60},{"type":13,"tag":45,"props":200,"children":201},{"style":101},[202],{"type":18,"value":203}," PhysicalDeviceClusterCullingShaderPropertiesHUAWEI",{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," {\n",{"type":13,"tag":45,"props":210,"children":211},{"class":47,"line":69},[212,217,222,227,232,237],{"type":13,"tag":45,"props":213,"children":214},{"style":63},[215],{"type":18,"value":216}," s_type",{"type":13,"tag":45,"props":218,"children":219},{"style":52},[220],{"type":18,"value":221},":",{"type":13,"tag":45,"props":223,"children":224},{"style":101},[225],{"type":18,"value":226}," vk",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":231},"::",{"type":13,"tag":45,"props":233,"children":234},{"style":101},[235],{"type":18,"value":236},"StructureType",{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":241},",\n",{"type":13,"tag":45,"props":243,"children":244},{"class":47,"line":78},[245,250,254,259],{"type":13,"tag":45,"props":246,"children":247},{"style":63},[248],{"type":18,"value":249}," p_next",{"type":13,"tag":45,"props":251,"children":252},{"style":52},[253],{"type":18,"value":221},{"type":13,"tag":45,"props":255,"children":256},{"style":52},[257],{"type":18,"value":258}," *mut",{"type":13,"tag":45,"props":260,"children":261},{"style":63},[262],{"type":18,"value":263}," c_void,\n",{"type":13,"tag":45,"props":265,"children":266},{"class":47,"line":92},[267,272,276,281,286,291,296,300],{"type":13,"tag":45,"props":268,"children":269},{"style":63},[270],{"type":18,"value":271}," max_work_group_count",{"type":13,"tag":45,"props":273,"children":274},{"style":52},[275],{"type":18,"value":221},{"type":13,"tag":45,"props":277,"children":278},{"style":52},[279],{"type":18,"value":280}," *const",{"type":13,"tag":45,"props":282,"children":283},{"style":63},[284],{"type":18,"value":285}," [",{"type":13,"tag":45,"props":287,"children":288},{"style":101},[289],{"type":18,"value":290},"u32",{"type":13,"tag":45,"props":292,"children":293},{"style":63},[294],{"type":18,"value":295}," ; ",{"type":13,"tag":45,"props":297,"children":298},{"style":112},[299],{"type":18,"value":115},{"type":13,"tag":45,"props":301,"children":302},{"style":63},[303],{"type":18,"value":304},"],\n",{"type":13,"tag":45,"props":306,"children":307},{"class":47,"line":123},[308,313,317,321,325,329,333,337],{"type":13,"tag":45,"props":309,"children":310},{"style":63},[311],{"type":18,"value":312}," max_work_group_size",{"type":13,"tag":45,"props":314,"children":315},{"style":52},[316],{"type":18,"value":221},{"type":13,"tag":45,"props":318,"children":319},{"style":52},[320],{"type":18,"value":280},{"type":13,"tag":45,"props":322,"children":323},{"style":63},[324],{"type":18,"value":285},{"type":13,"tag":45,"props":326,"children":327},{"style":101},[328],{"type":18,"value":290},{"type":13,"tag":45,"props":330,"children":331},{"style":63},[332],{"type":18,"value":295},{"type":13,"tag":45,"props":334,"children":335},{"style":112},[336],{"type":18,"value":115},{"type":13,"tag":45,"props":338,"children":339},{"style":63},[340],{"type":18,"value":304},{"type":13,"tag":45,"props":342,"children":343},{"class":47,"line":148},[344,349,353,358],{"type":13,"tag":45,"props":345,"children":346},{"style":63},[347],{"type":18,"value":348}," max_output_cluster_count",{"type":13,"tag":45,"props":350,"children":351},{"style":52},[352],{"type":18,"value":221},{"type":13,"tag":45,"props":354,"children":355},{"style":101},[356],{"type":18,"value":357}," u32",{"type":13,"tag":45,"props":359,"children":360},{"style":63},[361],{"type":18,"value":241},{"type":13,"tag":45,"props":363,"children":364},{"class":47,"line":161},[365,370,374,378,382,387],{"type":13,"tag":45,"props":366,"children":367},{"style":63},[368],{"type":18,"value":369}," indirect_buffer_offset_alignment",{"type":13,"tag":45,"props":371,"children":372},{"style":52},[373],{"type":18,"value":221},{"type":13,"tag":45,"props":375,"children":376},{"style":101},[377],{"type":18,"value":226},{"type":13,"tag":45,"props":379,"children":380},{"style":52},[381],{"type":18,"value":231},{"type":13,"tag":45,"props":383,"children":384},{"style":101},[385],{"type":18,"value":386},"DeviceSize",{"type":13,"tag":45,"props":388,"children":389},{"style":63},[390],{"type":18,"value":241},{"type":13,"tag":45,"props":392,"children":393},{"class":47,"line":170},[394],{"type":13,"tag":45,"props":395,"children":396},{"style":63},[397],{"type":18,"value":398},"}\n",{"type":13,"tag":400,"props":401,"children":402},"ul",{},[403,424,443,461,493,504],{"type":13,"tag":404,"props":405,"children":406},"li",{},[407,413,415,422],{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":412},"sType",{"type":18,"value":414}," is a ",{"type":13,"tag":416,"props":417,"children":419},"a",{"href":418},"/man/VkStructureType",[420],{"type":18,"value":421},"VkStructureType",{"type":18,"value":423}," value identifying this structure.",{"type":13,"tag":404,"props":425,"children":426},{},[427,433,435,441],{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":432},"pNext",{"type":18,"value":434}," is ",{"type":13,"tag":21,"props":436,"children":438},{"className":437},[],[439],{"type":18,"value":440},"NULL",{"type":18,"value":442}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":404,"props":444,"children":445},{},[446,452,454,459],{"type":13,"tag":21,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":451},"maxWorkGroupCount",{"type":18,"value":453},"[3] is the maximum number of local workgroups\nthat can be launched by a single command.\nThese three value represent the maximum local workgroup count in the X,\nY and Z dimensions, respectively.\nIn the current implementation, the values of Y and Z are both implicitly\nset as one.\ngroupCountX of DrawCluster command ",{"type":13,"tag":455,"props":456,"children":458},"normative",{"type":457},"must",[],{"type":18,"value":460}," be less than or equal to\nmaxWorkGroupCount[0].",{"type":13,"tag":404,"props":462,"children":463},{},[464,470,472,478,480,486,488,491],{"type":13,"tag":21,"props":465,"children":467},{"className":466},[],[468],{"type":18,"value":469},"maxWorkGroupSize",{"type":18,"value":471},"[3] is the maximum size of a local workgroup.\nThese three value represent the maximum local workgroup size in the X, Y\nand Z dimensions, respectively.\nThe x, y and z sizes, as specified by the ",{"type":13,"tag":21,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":477},"LocalSize",{"type":18,"value":479},"\nor ",{"type":13,"tag":21,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":485},"LocalSizeId",{"type":18,"value":487},"\nexecution mode or by the object decorated by the WorkgroupSize\ndecoration in shader modules, ",{"type":13,"tag":455,"props":489,"children":490},{"type":457},[],{"type":18,"value":492}," be less than or equal to the\ncorresponding limit.\nIn the current implementation, the maximum workgroup size of the X\ndimension is 32, the others are 1.",{"type":13,"tag":404,"props":494,"children":495},{},[496,502],{"type":13,"tag":21,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":501},"maxOutputClusterCount",{"type":18,"value":503}," is the maximum number of output cluster a\nsingle cluster culling shader workgroup can emit.",{"type":13,"tag":404,"props":505,"children":506},{},[507,513,515,521,522,528,530,533],{"type":13,"tag":21,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":512},"indirectBufferOffsetAlignment",{"type":18,"value":514}," indicates the alignment for cluster\ndrawing command buffer stride.\n",{"type":13,"tag":416,"props":516,"children":518},{"href":517},"/man/vkCmdDrawClusterIndirectHUAWEI",[519],{"type":18,"value":520},"vkCmdDrawClusterIndirectHUAWEI",{"type":18,"value":231},{"type":13,"tag":21,"props":523,"children":525},{"className":524},[],[526],{"type":18,"value":527},"offset",{"type":18,"value":529}," ",{"type":13,"tag":455,"props":531,"children":532},{"type":457},[],{"type":18,"value":534}," be a multiple\nof this value.",{"type":13,"tag":14,"props":536,"children":537},{},[538,540,545,547,552,554,560,562,568],{"type":18,"value":539},"If the ",{"type":13,"tag":21,"props":541,"children":543},{"className":542},[],[544],{"type":18,"value":4},{"type":18,"value":546}," structure is included in the ",{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":432},{"type":18,"value":553}," chain of the\n",{"type":13,"tag":416,"props":555,"children":557},{"href":556},"/man/VkPhysicalDeviceProperties2",[558],{"type":18,"value":559},"VkPhysicalDeviceProperties2",{"type":18,"value":561}," structure passed to\n",{"type":13,"tag":416,"props":563,"children":565},{"href":564},"/man/vkGetPhysicalDeviceProperties2",[566],{"type":18,"value":567},"vkGetPhysicalDeviceProperties2",{"type":18,"value":569},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":13,"tag":571,"props":572,"children":574},"validity-group",{"name":573},"Valid Usage (Implicit)",[575],{"type":13,"tag":576,"props":577,"children":579},"validity-field",{"name":578},"VUID-VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI-sType-sType",[580],{"type":13,"tag":14,"props":581,"children":582},{},[583,588,589,592,594],{"type":13,"tag":21,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":412},{"type":18,"value":529},{"type":13,"tag":455,"props":590,"children":591},{"type":457},[],{"type":18,"value":593}," be ",{"type":13,"tag":21,"props":595,"children":597},{"className":596},[],[598],{"type":18,"value":599},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI",{"type":13,"tag":601,"props":602,"children":603},"style",{},[604],{"type":18,"value":605},"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":607},[],"markdown",1725732566026]