[{"data":1,"prerenderedAt":485},["ShallowReactive",2],{"MFVrBFm84O":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":484,"_id":4},"vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI","Query maximum supported subpass shading workgroup size for a give render pass","VK_HUAWEI_subpass_shading","protos",[],{"type":10,"children":11,"toc":482},"root",[12,27,32,312,372,476],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25],{"type":18,"value":19},"text","A subpass shading pipeline’s workgroup size is a 2D vector with number of\npower-of-two in width and height.\nThe maximum number of width and height is implementation-dependent, and ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"may",[],{"type":18,"value":26},"\nvary for different formats and sample counts of attachments in a render\npass.",{"type":13,"tag":14,"props":28,"children":29},{},[30],{"type":18,"value":31},"To query the maximum workgroup size, call:",{"type":13,"tag":33,"props":34,"children":35},"code-group",{},[36,134],{"type":13,"tag":37,"props":38,"children":44},"pre",{"className":39,"code":40,"filename":41,"language":42,"meta":43,"style":43},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(\n VkDevice device,\n VkRenderPass renderpass,\n VkExtent2D* pMaxWorkgroupSize);\n","C","c","",[45],{"type":13,"tag":46,"props":47,"children":48},"code",{"__ignoreMap":43},[49,71,91,109],{"type":13,"tag":50,"props":51,"children":54},"span",{"class":52,"line":53},"line",1,[55,61,66],{"type":13,"tag":50,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"VkResult ",{"type":13,"tag":50,"props":62,"children":64},{"style":63},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[65],{"type":18,"value":4},{"type":13,"tag":50,"props":67,"children":68},{"style":57},[69],{"type":18,"value":70},"(\n",{"type":13,"tag":50,"props":72,"children":74},{"class":52,"line":73},2,[75,80,86],{"type":13,"tag":50,"props":76,"children":77},{"style":57},[78],{"type":18,"value":79}," VkDevice ",{"type":13,"tag":50,"props":81,"children":83},{"style":82},"--shiki-default:#953800;--shiki-dark:#FFA657",[84],{"type":18,"value":85},"device",{"type":13,"tag":50,"props":87,"children":88},{"style":57},[89],{"type":18,"value":90},",\n",{"type":13,"tag":50,"props":92,"children":94},{"class":52,"line":93},3,[95,100,105],{"type":13,"tag":50,"props":96,"children":97},{"style":57},[98],{"type":18,"value":99}," VkRenderPass ",{"type":13,"tag":50,"props":101,"children":102},{"style":82},[103],{"type":18,"value":104},"renderpass",{"type":13,"tag":50,"props":106,"children":107},{"style":57},[108],{"type":18,"value":90},{"type":13,"tag":50,"props":110,"children":112},{"class":52,"line":111},4,[113,118,124,129],{"type":13,"tag":50,"props":114,"children":115},{"style":57},[116],{"type":18,"value":117}," VkExtent2D",{"type":13,"tag":50,"props":119,"children":121},{"style":120},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[122],{"type":18,"value":123},"*",{"type":13,"tag":50,"props":125,"children":126},{"style":82},[127],{"type":18,"value":128}," pMaxWorkgroupSize",{"type":13,"tag":50,"props":130,"children":131},{"style":57},[132],{"type":18,"value":133},");\n",{"type":13,"tag":37,"props":135,"children":140},{"className":136,"code":137,"filename":138,"language":139,"meta":43,"style":43},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_device_subpass_shading_max_workgroup_size_huawei(\n device: crate :: vk :: vk::Device,\n renderpass: vk::RenderPass,\n p_max_workgroup_size: *mut vk::Extent2D,\n) -> vk::Result;\n","Rust","rs",[141],{"type":13,"tag":46,"props":142,"children":143},{"__ignoreMap":43},[144,166,217,246,280],{"type":13,"tag":50,"props":145,"children":146},{"class":52,"line":53},[147,152,157,162],{"type":13,"tag":50,"props":148,"children":149},{"style":120},[150],{"type":18,"value":151},"pub",{"type":13,"tag":50,"props":153,"children":154},{"style":120},[155],{"type":18,"value":156}," fn",{"type":13,"tag":50,"props":158,"children":159},{"style":63},[160],{"type":18,"value":161}," get_device_subpass_shading_max_workgroup_size_huawei",{"type":13,"tag":50,"props":163,"children":164},{"style":57},[165],{"type":18,"value":70},{"type":13,"tag":50,"props":167,"children":168},{"class":52,"line":73},[169,174,179,184,189,194,199,204,208,213],{"type":13,"tag":50,"props":170,"children":171},{"style":57},[172],{"type":18,"value":173}," device",{"type":13,"tag":50,"props":175,"children":176},{"style":120},[177],{"type":18,"value":178},":",{"type":13,"tag":50,"props":180,"children":181},{"style":120},[182],{"type":18,"value":183}," crate",{"type":13,"tag":50,"props":185,"children":186},{"style":120},[187],{"type":18,"value":188}," ::",{"type":13,"tag":50,"props":190,"children":191},{"style":57},[192],{"type":18,"value":193}," vk ",{"type":13,"tag":50,"props":195,"children":196},{"style":120},[197],{"type":18,"value":198},"::",{"type":13,"tag":50,"props":200,"children":201},{"style":82},[202],{"type":18,"value":203}," vk",{"type":13,"tag":50,"props":205,"children":206},{"style":120},[207],{"type":18,"value":198},{"type":13,"tag":50,"props":209,"children":210},{"style":82},[211],{"type":18,"value":212},"Device",{"type":13,"tag":50,"props":214,"children":215},{"style":57},[216],{"type":18,"value":90},{"type":13,"tag":50,"props":218,"children":219},{"class":52,"line":93},[220,225,229,233,237,242],{"type":13,"tag":50,"props":221,"children":222},{"style":57},[223],{"type":18,"value":224}," renderpass",{"type":13,"tag":50,"props":226,"children":227},{"style":120},[228],{"type":18,"value":178},{"type":13,"tag":50,"props":230,"children":231},{"style":82},[232],{"type":18,"value":203},{"type":13,"tag":50,"props":234,"children":235},{"style":120},[236],{"type":18,"value":198},{"type":13,"tag":50,"props":238,"children":239},{"style":82},[240],{"type":18,"value":241},"RenderPass",{"type":13,"tag":50,"props":243,"children":244},{"style":57},[245],{"type":18,"value":90},{"type":13,"tag":50,"props":247,"children":248},{"class":52,"line":111},[249,254,258,263,267,271,276],{"type":13,"tag":50,"props":250,"children":251},{"style":57},[252],{"type":18,"value":253}," p_max_workgroup_size",{"type":13,"tag":50,"props":255,"children":256},{"style":120},[257],{"type":18,"value":178},{"type":13,"tag":50,"props":259,"children":260},{"style":120},[261],{"type":18,"value":262}," *mut",{"type":13,"tag":50,"props":264,"children":265},{"style":82},[266],{"type":18,"value":203},{"type":13,"tag":50,"props":268,"children":269},{"style":120},[270],{"type":18,"value":198},{"type":13,"tag":50,"props":272,"children":273},{"style":82},[274],{"type":18,"value":275},"Extent2D",{"type":13,"tag":50,"props":277,"children":278},{"style":57},[279],{"type":18,"value":90},{"type":13,"tag":50,"props":281,"children":283},{"class":52,"line":282},5,[284,289,294,298,302,307],{"type":13,"tag":50,"props":285,"children":286},{"style":57},[287],{"type":18,"value":288},") ",{"type":13,"tag":50,"props":290,"children":291},{"style":120},[292],{"type":18,"value":293},"->",{"type":13,"tag":50,"props":295,"children":296},{"style":82},[297],{"type":18,"value":203},{"type":13,"tag":50,"props":299,"children":300},{"style":120},[301],{"type":18,"value":198},{"type":13,"tag":50,"props":303,"children":304},{"style":82},[305],{"type":18,"value":306},"Result",{"type":13,"tag":50,"props":308,"children":309},{"style":57},[310],{"type":18,"value":311},";\n",{"type":13,"tag":313,"props":314,"children":315},"ul",{},[316,327,353],{"type":13,"tag":317,"props":318,"children":319},"li",{},[320,325],{"type":13,"tag":46,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":85},{"type":18,"value":326}," is a handle to a local device object that was used to\ncreate the given render pass.",{"type":13,"tag":317,"props":328,"children":329},{},[330,336,338,342,344,351],{"type":13,"tag":46,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":335},"renderPass",{"type":18,"value":337}," is a handle to a render pass object describing the\nenvironment in which the pipeline will be used.\nThe pipeline ",{"type":13,"tag":21,"props":339,"children":341},{"type":340},"must",[],{"type":18,"value":343}," only be used with a render pass instance compatible\nwith the one provided.\nSee ",{"type":13,"tag":345,"props":346,"children":348},"a",{"href":347},"/chapters/renderpass#renderpass-compatibility",[349],{"type":18,"value":350},"Render Pass Compatibility",{"type":18,"value":352}," for more\ninformation.",{"type":13,"tag":317,"props":354,"children":355},{},[356,362,364,370],{"type":13,"tag":46,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":361},"pMaxWorkgroupSize",{"type":18,"value":363}," is a pointer to a ",{"type":13,"tag":345,"props":365,"children":367},{"href":366},"/man/VkExtent2D",[368],{"type":18,"value":369},"VkExtent2D",{"type":18,"value":371}," structure.",{"type":13,"tag":373,"props":374,"children":376},"validity-group",{"name":375},"Valid Usage (Implicit)",[377,405,429,453],{"type":13,"tag":378,"props":379,"children":381},"validity-field",{"name":380},"VUID-vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI-device-parameter",[382],{"type":13,"tag":14,"props":383,"children":384},{},[385,390,392,395,397,403],{"type":13,"tag":46,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":85},{"type":18,"value":391}," ",{"type":13,"tag":21,"props":393,"children":394},{"type":340},[],{"type":18,"value":396}," be a valid ",{"type":13,"tag":345,"props":398,"children":400},{"href":399},"/man/VkDevice",[401],{"type":18,"value":402},"VkDevice",{"type":18,"value":404}," handle",{"type":13,"tag":378,"props":406,"children":408},{"name":407},"VUID-vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI-renderpass-parameter",[409],{"type":13,"tag":14,"props":410,"children":411},{},[412,417,418,421,422,428],{"type":13,"tag":46,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":104},{"type":18,"value":391},{"type":13,"tag":21,"props":419,"children":420},{"type":340},[],{"type":18,"value":396},{"type":13,"tag":345,"props":423,"children":425},{"href":424},"/man/VkRenderPass",[426],{"type":18,"value":427},"VkRenderPass",{"type":18,"value":404},{"type":13,"tag":378,"props":430,"children":432},{"name":431},"VUID-vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI-pMaxWorkgroupSize-parameter",[433],{"type":13,"tag":14,"props":434,"children":435},{},[436,441,442,445,447,451],{"type":13,"tag":46,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":361},{"type":18,"value":391},{"type":13,"tag":21,"props":443,"children":444},{"type":340},[],{"type":18,"value":446}," be a valid pointer to ",{"type":13,"tag":345,"props":448,"children":449},{"href":366},[450],{"type":18,"value":369},{"type":18,"value":452}," structures",{"type":13,"tag":378,"props":454,"children":456},{"name":455},"VUID-vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI-renderpass-parent",[457],{"type":13,"tag":14,"props":458,"children":459},{},[460,465,466,469,471],{"type":13,"tag":46,"props":461,"children":463},{"className":462},[],[464],{"type":18,"value":104},{"type":18,"value":391},{"type":13,"tag":21,"props":467,"children":468},{"type":340},[],{"type":18,"value":470}," have been created, allocated, or retrieved from ",{"type":13,"tag":46,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":85},{"type":13,"tag":477,"props":478,"children":479},"style",{},[480],{"type":18,"value":481},"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":43,"searchDepth":73,"depth":73,"links":483},[],"markdown",1725732617843]