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