[{"data":1,"prerenderedAt":803},["ShallowReactive",2],{"N3YDa1RuDg":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":802,"_id":4},"VkPhysicalDevice16BitStorageFeatures","Structure describing features supported by VK_KHR_16bit_storage","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":800},"root",[12,28,367,372,437,442,702,764,794],{"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},"a",{"href":23},"/man/VkPhysicalDevice16BitStorageFeatures",[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,136],{"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 VkPhysicalDevice16BitStorageFeatures {\n VkStructureType sType;\n void* pNext;\n VkBool32 storageBuffer16BitAccess;\n VkBool32 uniformAndStorageBuffer16BitAccess;\n VkBool32 storagePushConstant16;\n VkBool32 storageInputOutput16;\n} VkPhysicalDevice16BitStorageFeatures;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,77,91,100,109,118,127],{"type":13,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,62],{"type":13,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":18,"value":56},"typedef",{"type":13,"tag":46,"props":58,"children":59},{"style":53},[60],{"type":18,"value":61}," struct",{"type":13,"tag":46,"props":63,"children":65},{"style":64},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[66],{"type":18,"value":67}," VkPhysicalDevice16BitStorageFeatures {\n",{"type":13,"tag":46,"props":69,"children":71},{"class":48,"line":70},2,[72],{"type":13,"tag":46,"props":73,"children":74},{"style":64},[75],{"type":18,"value":76}," VkStructureType sType;\n",{"type":13,"tag":46,"props":78,"children":80},{"class":48,"line":79},3,[81,86],{"type":13,"tag":46,"props":82,"children":83},{"style":53},[84],{"type":18,"value":85}," void*",{"type":13,"tag":46,"props":87,"children":88},{"style":64},[89],{"type":18,"value":90}," pNext;\n",{"type":13,"tag":46,"props":92,"children":94},{"class":48,"line":93},4,[95],{"type":13,"tag":46,"props":96,"children":97},{"style":64},[98],{"type":18,"value":99}," VkBool32 storageBuffer16BitAccess;\n",{"type":13,"tag":46,"props":101,"children":103},{"class":48,"line":102},5,[104],{"type":13,"tag":46,"props":105,"children":106},{"style":64},[107],{"type":18,"value":108}," VkBool32 uniformAndStorageBuffer16BitAccess;\n",{"type":13,"tag":46,"props":110,"children":112},{"class":48,"line":111},6,[113],{"type":13,"tag":46,"props":114,"children":115},{"style":64},[116],{"type":18,"value":117}," VkBool32 storagePushConstant16;\n",{"type":13,"tag":46,"props":119,"children":121},{"class":48,"line":120},7,[122],{"type":13,"tag":46,"props":123,"children":124},{"style":64},[125],{"type":18,"value":126}," VkBool32 storageInputOutput16;\n",{"type":13,"tag":46,"props":128,"children":130},{"class":48,"line":129},8,[131],{"type":13,"tag":46,"props":132,"children":133},{"style":64},[134],{"type":18,"value":135},"} VkPhysicalDevice16BitStorageFeatures;\n",{"type":13,"tag":33,"props":137,"children":142},{"className":138,"code":139,"filename":140,"language":141,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDevice16BitStorageFeatures {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n storage_buffer16_bit_access: vk::Bool32, // 16-bit integer/floating-point variables supported in BufferBlock\n uniform_and_storage_buffer16_bit_access: vk::Bool32, // 16-bit integer/floating-point variables supported in BufferBlock and Block\n storage_push_constant16: vk::Bool32, // 16-bit integer/floating-point variables supported in PushConstant\n storage_input_output16: vk::Bool32, // 16-bit integer/floating-point variables supported in shader inputs and outputs\n}\n","Rust","rs",[143],{"type":13,"tag":42,"props":144,"children":145},{"__ignoreMap":39},[146,169,202,224,260,293,326,359],{"type":13,"tag":46,"props":147,"children":148},{"class":48,"line":49},[149,154,158,164],{"type":13,"tag":46,"props":150,"children":151},{"style":53},[152],{"type":18,"value":153},"pub",{"type":13,"tag":46,"props":155,"children":156},{"style":53},[157],{"type":18,"value":61},{"type":13,"tag":46,"props":159,"children":161},{"style":160},"--shiki-default:#953800;--shiki-dark:#FFA657",[162],{"type":18,"value":163}," PhysicalDevice16BitStorageFeatures",{"type":13,"tag":46,"props":165,"children":166},{"style":64},[167],{"type":18,"value":168}," {\n",{"type":13,"tag":46,"props":170,"children":171},{"class":48,"line":70},[172,177,182,187,192,197],{"type":13,"tag":46,"props":173,"children":174},{"style":64},[175],{"type":18,"value":176}," s_type",{"type":13,"tag":46,"props":178,"children":179},{"style":53},[180],{"type":18,"value":181},":",{"type":13,"tag":46,"props":183,"children":184},{"style":160},[185],{"type":18,"value":186}," vk",{"type":13,"tag":46,"props":188,"children":189},{"style":53},[190],{"type":18,"value":191},"::",{"type":13,"tag":46,"props":193,"children":194},{"style":160},[195],{"type":18,"value":196},"StructureType",{"type":13,"tag":46,"props":198,"children":199},{"style":64},[200],{"type":18,"value":201},",\n",{"type":13,"tag":46,"props":203,"children":204},{"class":48,"line":79},[205,210,214,219],{"type":13,"tag":46,"props":206,"children":207},{"style":64},[208],{"type":18,"value":209}," p_next",{"type":13,"tag":46,"props":211,"children":212},{"style":53},[213],{"type":18,"value":181},{"type":13,"tag":46,"props":215,"children":216},{"style":53},[217],{"type":18,"value":218}," *mut",{"type":13,"tag":46,"props":220,"children":221},{"style":64},[222],{"type":18,"value":223}," c_void,\n",{"type":13,"tag":46,"props":225,"children":226},{"class":48,"line":93},[227,232,236,240,244,249,254],{"type":13,"tag":46,"props":228,"children":229},{"style":64},[230],{"type":18,"value":231}," storage_buffer16_bit_access",{"type":13,"tag":46,"props":233,"children":234},{"style":53},[235],{"type":18,"value":181},{"type":13,"tag":46,"props":237,"children":238},{"style":160},[239],{"type":18,"value":186},{"type":13,"tag":46,"props":241,"children":242},{"style":53},[243],{"type":18,"value":191},{"type":13,"tag":46,"props":245,"children":246},{"style":160},[247],{"type":18,"value":248},"Bool32",{"type":13,"tag":46,"props":250,"children":251},{"style":64},[252],{"type":18,"value":253},", ",{"type":13,"tag":46,"props":255,"children":257},{"style":256},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[258],{"type":18,"value":259},"// 16-bit integer/floating-point variables supported in BufferBlock\n",{"type":13,"tag":46,"props":261,"children":262},{"class":48,"line":102},[263,268,272,276,280,284,288],{"type":13,"tag":46,"props":264,"children":265},{"style":64},[266],{"type":18,"value":267}," uniform_and_storage_buffer16_bit_access",{"type":13,"tag":46,"props":269,"children":270},{"style":53},[271],{"type":18,"value":181},{"type":13,"tag":46,"props":273,"children":274},{"style":160},[275],{"type":18,"value":186},{"type":13,"tag":46,"props":277,"children":278},{"style":53},[279],{"type":18,"value":191},{"type":13,"tag":46,"props":281,"children":282},{"style":160},[283],{"type":18,"value":248},{"type":13,"tag":46,"props":285,"children":286},{"style":64},[287],{"type":18,"value":253},{"type":13,"tag":46,"props":289,"children":290},{"style":256},[291],{"type":18,"value":292},"// 16-bit integer/floating-point variables supported in BufferBlock and Block\n",{"type":13,"tag":46,"props":294,"children":295},{"class":48,"line":111},[296,301,305,309,313,317,321],{"type":13,"tag":46,"props":297,"children":298},{"style":64},[299],{"type":18,"value":300}," storage_push_constant16",{"type":13,"tag":46,"props":302,"children":303},{"style":53},[304],{"type":18,"value":181},{"type":13,"tag":46,"props":306,"children":307},{"style":160},[308],{"type":18,"value":186},{"type":13,"tag":46,"props":310,"children":311},{"style":53},[312],{"type":18,"value":191},{"type":13,"tag":46,"props":314,"children":315},{"style":160},[316],{"type":18,"value":248},{"type":13,"tag":46,"props":318,"children":319},{"style":64},[320],{"type":18,"value":253},{"type":13,"tag":46,"props":322,"children":323},{"style":256},[324],{"type":18,"value":325},"// 16-bit integer/floating-point variables supported in PushConstant\n",{"type":13,"tag":46,"props":327,"children":328},{"class":48,"line":120},[329,334,338,342,346,350,354],{"type":13,"tag":46,"props":330,"children":331},{"style":64},[332],{"type":18,"value":333}," storage_input_output16",{"type":13,"tag":46,"props":335,"children":336},{"style":53},[337],{"type":18,"value":181},{"type":13,"tag":46,"props":339,"children":340},{"style":160},[341],{"type":18,"value":186},{"type":13,"tag":46,"props":343,"children":344},{"style":53},[345],{"type":18,"value":191},{"type":13,"tag":46,"props":347,"children":348},{"style":160},[349],{"type":18,"value":248},{"type":13,"tag":46,"props":351,"children":352},{"style":64},[353],{"type":18,"value":253},{"type":13,"tag":46,"props":355,"children":356},{"style":256},[357],{"type":18,"value":358},"// 16-bit integer/floating-point variables supported in shader inputs and outputs\n",{"type":13,"tag":46,"props":360,"children":361},{"class":48,"line":129},[362],{"type":13,"tag":46,"props":363,"children":364},{"style":64},[365],{"type":18,"value":366},"}\n",{"type":13,"tag":14,"props":368,"children":369},{},[370],{"type":18,"value":371},"or the equivalent",{"type":13,"tag":29,"props":373,"children":374},{},[375,394],{"type":13,"tag":33,"props":376,"children":378},{"className":35,"code":377,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDevice16BitStorageFeatures VkPhysicalDevice16BitStorageFeaturesKHR;\n",[379],{"type":13,"tag":42,"props":380,"children":381},{"__ignoreMap":39},[382],{"type":13,"tag":46,"props":383,"children":384},{"class":48,"line":49},[385,389],{"type":13,"tag":46,"props":386,"children":387},{"style":53},[388],{"type":18,"value":56},{"type":13,"tag":46,"props":390,"children":391},{"style":64},[392],{"type":18,"value":393}," VkPhysicalDevice16BitStorageFeatures VkPhysicalDevice16BitStorageFeaturesKHR;\n",{"type":13,"tag":33,"props":395,"children":397},{"className":138,"code":396,"filename":140,"language":141,"meta":39,"style":39},"type PhysicalDevice16BitStorageFeaturesKHR = vk::PhysicalDevice16BitStorageFeatures;\n",[398],{"type":13,"tag":42,"props":399,"children":400},{"__ignoreMap":39},[401],{"type":13,"tag":46,"props":402,"children":403},{"class":48,"line":49},[404,409,414,419,423,427,432],{"type":13,"tag":46,"props":405,"children":406},{"style":53},[407],{"type":18,"value":408},"type",{"type":13,"tag":46,"props":410,"children":411},{"style":160},[412],{"type":18,"value":413}," PhysicalDevice16BitStorageFeaturesKHR",{"type":13,"tag":46,"props":415,"children":416},{"style":53},[417],{"type":18,"value":418}," =",{"type":13,"tag":46,"props":420,"children":421},{"style":160},[422],{"type":18,"value":186},{"type":13,"tag":46,"props":424,"children":425},{"style":53},[426],{"type":18,"value":191},{"type":13,"tag":46,"props":428,"children":429},{"style":160},[430],{"type":18,"value":431},"PhysicalDevice16BitStorageFeatures",{"type":13,"tag":46,"props":433,"children":434},{"style":64},[435],{"type":18,"value":436},";\n",{"type":13,"tag":14,"props":438,"children":439},{},[440],{"type":18,"value":441},"This structure describes the following features:",{"type":13,"tag":443,"props":444,"children":445},"ul",{},[446,466,485,560,609,651],{"type":13,"tag":447,"props":448,"children":449},"li",{},[450,456,458,464],{"type":13,"tag":42,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":455},"sType",{"type":18,"value":457}," is a ",{"type":13,"tag":21,"props":459,"children":461},{"href":460},"/man/VkStructureType",[462],{"type":18,"value":463},"VkStructureType",{"type":18,"value":465}," value identifying this structure.",{"type":13,"tag":447,"props":467,"children":468},{},[469,475,477,483],{"type":13,"tag":42,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":474},"pNext",{"type":18,"value":476}," is ",{"type":13,"tag":42,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":482},"NULL",{"type":18,"value":484}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":447,"props":486,"children":487},{},[488,493,495,501,503,509,510,516,518,524,526,532,534,539,541,545,547,550,552,558],{"type":13,"tag":489,"props":490,"children":492},"anchor",{"id":491},"features-storageBuffer16BitAccess",[],{"type":18,"value":494}," ",{"type":13,"tag":42,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":500},"storageBuffer16BitAccess",{"type":18,"value":502}," specifies whether objects in the\n",{"type":13,"tag":42,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":508},"StorageBuffer",{"type":18,"value":201},{"type":13,"tag":42,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":515},"ShaderRecordBufferKHR",{"type":18,"value":517},",\nor ",{"type":13,"tag":42,"props":519,"children":521},{"className":520},[],[522],{"type":18,"value":523},"PhysicalStorageBuffer",{"type":18,"value":525},"\nstorage class with the ",{"type":13,"tag":42,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":531},"Block",{"type":18,"value":533}," decoration ",{"type":13,"tag":535,"props":536,"children":538},"normative",{"type":537},"can",[],{"type":18,"value":540}," have 16-bit integer\nand 16-bit floating-point members.\nIf this feature is not enabled, 16-bit integer or 16-bit floating-point\nmembers ",{"type":13,"tag":535,"props":542,"children":544},{"type":543},"must",[],{"type":18,"value":546}," not be used in such objects.\nThis also specifies whether shader modules ",{"type":13,"tag":535,"props":548,"children":549},{"type":537},[],{"type":18,"value":551}," declare the\n",{"type":13,"tag":42,"props":553,"children":555},{"className":554},[],[556],{"type":18,"value":557},"StorageBuffer16BitAccess",{"type":18,"value":559}," capability.",{"type":13,"tag":447,"props":561,"children":562},{},[563,567,573,575,581,583,588,589,592,594,597,598,601,602,608],{"type":13,"tag":489,"props":564,"children":566},{"id":565},"features-uniformAndStorageBuffer16BitAccess",[],{"type":13,"tag":42,"props":568,"children":570},{"className":569},[],[571],{"type":18,"value":572},"uniformAndStorageBuffer16BitAccess",{"type":18,"value":574}," specifies whether objects in\nthe ",{"type":13,"tag":42,"props":576,"children":578},{"className":577},[],[579],{"type":18,"value":580},"Uniform",{"type":18,"value":582}," storage class with the ",{"type":13,"tag":42,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":531},{"type":18,"value":533},{"type":13,"tag":535,"props":590,"children":591},{"type":537},[],{"type":18,"value":593}," have\n16-bit integer and 16-bit floating-point members.\nIf this feature is not enabled, 16-bit integer or 16-bit floating-point\nmembers ",{"type":13,"tag":535,"props":595,"children":596},{"type":543},[],{"type":18,"value":546},{"type":13,"tag":535,"props":599,"children":600},{"type":537},[],{"type":18,"value":551},{"type":13,"tag":42,"props":603,"children":605},{"className":604},[],[606],{"type":18,"value":607},"UniformAndStorageBuffer16BitAccess",{"type":18,"value":559},{"type":13,"tag":447,"props":610,"children":611},{},[612,616,622,623,629,631,634,636,639,640,643,644,650],{"type":13,"tag":489,"props":613,"children":615},{"id":614},"features-storagePushConstant16",[],{"type":13,"tag":42,"props":617,"children":619},{"className":618},[],[620],{"type":18,"value":621},"storagePushConstant16",{"type":18,"value":502},{"type":13,"tag":42,"props":624,"children":626},{"className":625},[],[627],{"type":18,"value":628},"PushConstant",{"type":18,"value":630}," storage class ",{"type":13,"tag":535,"props":632,"children":633},{"type":537},[],{"type":18,"value":635}," have 16-bit integer and 16-bit\nfloating-point members.\nIf this feature is not enabled, 16-bit integer or floating-point members\n",{"type":13,"tag":535,"props":637,"children":638},{"type":543},[],{"type":18,"value":546},{"type":13,"tag":535,"props":641,"children":642},{"type":537},[],{"type":18,"value":551},{"type":13,"tag":42,"props":645,"children":647},{"className":646},[],[648],{"type":18,"value":649},"StoragePushConstant16",{"type":18,"value":559},{"type":13,"tag":447,"props":652,"children":653},{},[654,658,664,666,672,674,680,682,685,687,690,691,694,695,701],{"type":13,"tag":489,"props":655,"children":657},{"id":656},"features-storageInputOutput16",[],{"type":13,"tag":42,"props":659,"children":661},{"className":660},[],[662],{"type":18,"value":663},"storageInputOutput16",{"type":18,"value":665}," specifies whether objects in the ",{"type":13,"tag":42,"props":667,"children":669},{"className":668},[],[670],{"type":18,"value":671},"Input",{"type":18,"value":673},"\nand ",{"type":13,"tag":42,"props":675,"children":677},{"className":676},[],[678],{"type":18,"value":679},"Output",{"type":18,"value":681}," storage classes ",{"type":13,"tag":535,"props":683,"children":684},{"type":537},[],{"type":18,"value":686}," have 16-bit integer and 16-bit\nfloating-point members.\nIf this feature is not enabled, 16-bit integer or 16-bit floating-point\nmembers ",{"type":13,"tag":535,"props":688,"children":689},{"type":543},[],{"type":18,"value":546},{"type":13,"tag":535,"props":692,"children":693},{"type":537},[],{"type":18,"value":551},{"type":13,"tag":42,"props":696,"children":698},{"className":697},[],[699],{"type":18,"value":700},"StorageInputOutput16",{"type":18,"value":559},{"type":13,"tag":14,"props":703,"children":704},{},[705,707,712,714,719,721,727,729,735,737,742,744,747,749,754,756,762],{"type":18,"value":706},"If the ",{"type":13,"tag":42,"props":708,"children":710},{"className":709},[],[711],{"type":18,"value":4},{"type":18,"value":713}," structure is included in the ",{"type":13,"tag":42,"props":715,"children":717},{"className":716},[],[718],{"type":18,"value":474},{"type":18,"value":720}," chain of the\n",{"type":13,"tag":21,"props":722,"children":724},{"href":723},"/man/VkPhysicalDeviceFeatures2",[725],{"type":18,"value":726},"VkPhysicalDeviceFeatures2",{"type":18,"value":728}," structure passed to\n",{"type":13,"tag":21,"props":730,"children":732},{"href":731},"/man/vkGetPhysicalDeviceFeatures2",[733],{"type":18,"value":734},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":736},", it is filled in to indicate whether each\ncorresponding feature is supported.\n",{"type":13,"tag":42,"props":738,"children":740},{"className":739},[],[741],{"type":18,"value":4},{"type":18,"value":743}," ",{"type":13,"tag":535,"props":745,"children":746},{"type":537},[],{"type":18,"value":748}," also be used in the ",{"type":13,"tag":42,"props":750,"children":752},{"className":751},[],[753],{"type":18,"value":474},{"type":18,"value":755}," chain of\n",{"type":13,"tag":21,"props":757,"children":759},{"href":758},"/man/VkDeviceCreateInfo",[760],{"type":18,"value":761},"VkDeviceCreateInfo",{"type":18,"value":763}," to selectively enable these features.",{"type":13,"tag":765,"props":766,"children":768},"validity-group",{"name":767},"Valid Usage (Implicit)",[769],{"type":13,"tag":770,"props":771,"children":773},"validity-field",{"name":772},"VUID-VkPhysicalDevice16BitStorageFeatures-sType-sType",[774],{"type":13,"tag":14,"props":775,"children":776},{},[777,782,783,786,788],{"type":13,"tag":42,"props":778,"children":780},{"className":779},[],[781],{"type":18,"value":455},{"type":18,"value":743},{"type":13,"tag":535,"props":784,"children":785},{"type":543},[],{"type":18,"value":787}," be ",{"type":13,"tag":42,"props":789,"children":791},{"className":790},[],[792],{"type":18,"value":793},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES",{"type":13,"tag":795,"props":796,"children":797},"style",{},[798],{"type":18,"value":799},"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":70,"depth":70,"links":801},[],"markdown",1725732565334]