[{"data":1,"prerenderedAt":709},["ShallowReactive",2],{"uheohO7pq8":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":708,"_id":4},"VkPhysicalDevice8BitStorageFeatures","Structure describing features supported by VK_KHR_8bit_storage","VK_VERSION_1_2","structs",[],{"type":10,"children":11,"toc":706},"root",[12,28,325,330,395,400,608,670,700],{"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/VkPhysicalDevice8BitStorageFeatures",[25],{"type":18,"value":4},{"type":18,"value":27}," structure 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 VkPhysicalDevice8BitStorageFeatures {\n VkStructureType sType;\n void* pNext;\n VkBool32 storageBuffer8BitAccess;\n VkBool32 uniformAndStorageBuffer8BitAccess;\n VkBool32 storagePushConstant8;\n} VkPhysicalDevice8BitStorageFeatures;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,77,91,100,109,118],{"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}," VkPhysicalDevice8BitStorageFeatures {\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 storageBuffer8BitAccess;\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 uniformAndStorageBuffer8BitAccess;\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 storagePushConstant8;\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},"} VkPhysicalDevice8BitStorageFeatures;\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 PhysicalDevice8BitStorageFeatures {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n storage_buffer8_bit_access: vk::Bool32, // 8-bit integer variables supported in StorageBuffer\n uniform_and_storage_buffer8_bit_access: vk::Bool32, // 8-bit integer variables supported in StorageBuffer and Uniform\n storage_push_constant8: vk::Bool32, // 8-bit integer variables supported in PushConstant\n}\n","Rust","rs",[134],{"type":13,"tag":42,"props":135,"children":136},{"__ignoreMap":39},[137,160,193,215,251,284,317],{"type":13,"tag":46,"props":138,"children":139},{"class":48,"line":49},[140,145,149,155],{"type":13,"tag":46,"props":141,"children":142},{"style":53},[143],{"type":18,"value":144},"pub",{"type":13,"tag":46,"props":146,"children":147},{"style":53},[148],{"type":18,"value":61},{"type":13,"tag":46,"props":150,"children":152},{"style":151},"--shiki-default:#953800;--shiki-dark:#FFA657",[153],{"type":18,"value":154}," PhysicalDevice8BitStorageFeatures",{"type":13,"tag":46,"props":156,"children":157},{"style":64},[158],{"type":18,"value":159}," {\n",{"type":13,"tag":46,"props":161,"children":162},{"class":48,"line":70},[163,168,173,178,183,188],{"type":13,"tag":46,"props":164,"children":165},{"style":64},[166],{"type":18,"value":167}," s_type",{"type":13,"tag":46,"props":169,"children":170},{"style":53},[171],{"type":18,"value":172},":",{"type":13,"tag":46,"props":174,"children":175},{"style":151},[176],{"type":18,"value":177}," vk",{"type":13,"tag":46,"props":179,"children":180},{"style":53},[181],{"type":18,"value":182},"::",{"type":13,"tag":46,"props":184,"children":185},{"style":151},[186],{"type":18,"value":187},"StructureType",{"type":13,"tag":46,"props":189,"children":190},{"style":64},[191],{"type":18,"value":192},",\n",{"type":13,"tag":46,"props":194,"children":195},{"class":48,"line":79},[196,201,205,210],{"type":13,"tag":46,"props":197,"children":198},{"style":64},[199],{"type":18,"value":200}," p_next",{"type":13,"tag":46,"props":202,"children":203},{"style":53},[204],{"type":18,"value":172},{"type":13,"tag":46,"props":206,"children":207},{"style":53},[208],{"type":18,"value":209}," *mut",{"type":13,"tag":46,"props":211,"children":212},{"style":64},[213],{"type":18,"value":214}," c_void,\n",{"type":13,"tag":46,"props":216,"children":217},{"class":48,"line":93},[218,223,227,231,235,240,245],{"type":13,"tag":46,"props":219,"children":220},{"style":64},[221],{"type":18,"value":222}," storage_buffer8_bit_access",{"type":13,"tag":46,"props":224,"children":225},{"style":53},[226],{"type":18,"value":172},{"type":13,"tag":46,"props":228,"children":229},{"style":151},[230],{"type":18,"value":177},{"type":13,"tag":46,"props":232,"children":233},{"style":53},[234],{"type":18,"value":182},{"type":13,"tag":46,"props":236,"children":237},{"style":151},[238],{"type":18,"value":239},"Bool32",{"type":13,"tag":46,"props":241,"children":242},{"style":64},[243],{"type":18,"value":244},", ",{"type":13,"tag":46,"props":246,"children":248},{"style":247},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[249],{"type":18,"value":250},"// 8-bit integer variables supported in StorageBuffer\n",{"type":13,"tag":46,"props":252,"children":253},{"class":48,"line":102},[254,259,263,267,271,275,279],{"type":13,"tag":46,"props":255,"children":256},{"style":64},[257],{"type":18,"value":258}," uniform_and_storage_buffer8_bit_access",{"type":13,"tag":46,"props":260,"children":261},{"style":53},[262],{"type":18,"value":172},{"type":13,"tag":46,"props":264,"children":265},{"style":151},[266],{"type":18,"value":177},{"type":13,"tag":46,"props":268,"children":269},{"style":53},[270],{"type":18,"value":182},{"type":13,"tag":46,"props":272,"children":273},{"style":151},[274],{"type":18,"value":239},{"type":13,"tag":46,"props":276,"children":277},{"style":64},[278],{"type":18,"value":244},{"type":13,"tag":46,"props":280,"children":281},{"style":247},[282],{"type":18,"value":283},"// 8-bit integer variables supported in StorageBuffer and Uniform\n",{"type":13,"tag":46,"props":285,"children":286},{"class":48,"line":111},[287,292,296,300,304,308,312],{"type":13,"tag":46,"props":288,"children":289},{"style":64},[290],{"type":18,"value":291}," storage_push_constant8",{"type":13,"tag":46,"props":293,"children":294},{"style":53},[295],{"type":18,"value":172},{"type":13,"tag":46,"props":297,"children":298},{"style":151},[299],{"type":18,"value":177},{"type":13,"tag":46,"props":301,"children":302},{"style":53},[303],{"type":18,"value":182},{"type":13,"tag":46,"props":305,"children":306},{"style":151},[307],{"type":18,"value":239},{"type":13,"tag":46,"props":309,"children":310},{"style":64},[311],{"type":18,"value":244},{"type":13,"tag":46,"props":313,"children":314},{"style":247},[315],{"type":18,"value":316},"// 8-bit integer variables supported in PushConstant\n",{"type":13,"tag":46,"props":318,"children":319},{"class":48,"line":120},[320],{"type":13,"tag":46,"props":321,"children":322},{"style":64},[323],{"type":18,"value":324},"}\n",{"type":13,"tag":14,"props":326,"children":327},{},[328],{"type":18,"value":329},"or the equivalent",{"type":13,"tag":29,"props":331,"children":332},{},[333,352],{"type":13,"tag":33,"props":334,"children":336},{"className":35,"code":335,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDevice8BitStorageFeatures VkPhysicalDevice8BitStorageFeaturesKHR;\n",[337],{"type":13,"tag":42,"props":338,"children":339},{"__ignoreMap":39},[340],{"type":13,"tag":46,"props":341,"children":342},{"class":48,"line":49},[343,347],{"type":13,"tag":46,"props":344,"children":345},{"style":53},[346],{"type":18,"value":56},{"type":13,"tag":46,"props":348,"children":349},{"style":64},[350],{"type":18,"value":351}," VkPhysicalDevice8BitStorageFeatures VkPhysicalDevice8BitStorageFeaturesKHR;\n",{"type":13,"tag":33,"props":353,"children":355},{"className":129,"code":354,"filename":131,"language":132,"meta":39,"style":39},"type PhysicalDevice8BitStorageFeaturesKHR = vk::PhysicalDevice8BitStorageFeatures;\n",[356],{"type":13,"tag":42,"props":357,"children":358},{"__ignoreMap":39},[359],{"type":13,"tag":46,"props":360,"children":361},{"class":48,"line":49},[362,367,372,377,381,385,390],{"type":13,"tag":46,"props":363,"children":364},{"style":53},[365],{"type":18,"value":366},"type",{"type":13,"tag":46,"props":368,"children":369},{"style":151},[370],{"type":18,"value":371}," PhysicalDevice8BitStorageFeaturesKHR",{"type":13,"tag":46,"props":373,"children":374},{"style":53},[375],{"type":18,"value":376}," =",{"type":13,"tag":46,"props":378,"children":379},{"style":151},[380],{"type":18,"value":177},{"type":13,"tag":46,"props":382,"children":383},{"style":53},[384],{"type":18,"value":182},{"type":13,"tag":46,"props":386,"children":387},{"style":151},[388],{"type":18,"value":389},"PhysicalDevice8BitStorageFeatures",{"type":13,"tag":46,"props":391,"children":392},{"style":64},[393],{"type":18,"value":394},";\n",{"type":13,"tag":14,"props":396,"children":397},{},[398],{"type":18,"value":399},"This structure describes the following features:",{"type":13,"tag":401,"props":402,"children":403},"ul",{},[404,424,443,518,566],{"type":13,"tag":405,"props":406,"children":407},"li",{},[408,414,416,422],{"type":13,"tag":42,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":413},"sType",{"type":18,"value":415}," is a ",{"type":13,"tag":21,"props":417,"children":419},{"href":418},"/man/VkStructureType",[420],{"type":18,"value":421},"VkStructureType",{"type":18,"value":423}," value identifying this structure.",{"type":13,"tag":405,"props":425,"children":426},{},[427,433,435,441],{"type":13,"tag":42,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":432},"pNext",{"type":18,"value":434}," is ",{"type":13,"tag":42,"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":405,"props":444,"children":445},{},[446,451,453,459,461,467,468,474,476,482,484,490,492,497,499,503,505,508,510,516],{"type":13,"tag":447,"props":448,"children":450},"anchor",{"id":449},"features-storageBuffer8BitAccess",[],{"type":18,"value":452}," ",{"type":13,"tag":42,"props":454,"children":456},{"className":455},[],[457],{"type":18,"value":458},"storageBuffer8BitAccess",{"type":18,"value":460}," indicates whether objects in the\n",{"type":13,"tag":42,"props":462,"children":464},{"className":463},[],[465],{"type":18,"value":466},"StorageBuffer",{"type":18,"value":192},{"type":13,"tag":42,"props":469,"children":471},{"className":470},[],[472],{"type":18,"value":473},"ShaderRecordBufferKHR",{"type":18,"value":475},",\nor ",{"type":13,"tag":42,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":481},"PhysicalStorageBuffer",{"type":18,"value":483},"\nstorage class with the ",{"type":13,"tag":42,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"Block",{"type":18,"value":491}," decoration ",{"type":13,"tag":493,"props":494,"children":496},"normative",{"type":495},"can",[],{"type":18,"value":498}," have 8-bit integer\nmembers.\nIf this feature is not enabled, 8-bit integer members ",{"type":13,"tag":493,"props":500,"children":502},{"type":501},"must",[],{"type":18,"value":504}," not be used\nin such objects.\nThis also indicates whether shader modules ",{"type":13,"tag":493,"props":506,"children":507},{"type":495},[],{"type":18,"value":509}," declare the\n",{"type":13,"tag":42,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":515},"StorageBuffer8BitAccess",{"type":18,"value":517}," capability.",{"type":13,"tag":405,"props":519,"children":520},{},[521,525,531,532,538,540,545,546,549,551,554,555,558,559,565],{"type":13,"tag":447,"props":522,"children":524},{"id":523},"features-uniformAndStorageBuffer8BitAccess",[],{"type":13,"tag":42,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":530},"uniformAndStorageBuffer8BitAccess",{"type":18,"value":460},{"type":13,"tag":42,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":537},"Uniform",{"type":18,"value":539}," storage class with the ",{"type":13,"tag":42,"props":541,"children":543},{"className":542},[],[544],{"type":18,"value":489},{"type":18,"value":491},{"type":13,"tag":493,"props":547,"children":548},{"type":495},[],{"type":18,"value":550}," have\n8-bit integer members.\nIf this feature is not enabled, 8-bit integer members ",{"type":13,"tag":493,"props":552,"children":553},{"type":501},[],{"type":18,"value":504},{"type":13,"tag":493,"props":556,"children":557},{"type":495},[],{"type":18,"value":509},{"type":13,"tag":42,"props":560,"children":562},{"className":561},[],[563],{"type":18,"value":564},"UniformAndStorageBuffer8BitAccess",{"type":18,"value":517},{"type":13,"tag":405,"props":567,"children":568},{},[569,573,579,580,586,588,591,593,596,597,600,601,607],{"type":13,"tag":447,"props":570,"children":572},{"id":571},"features-storagePushConstant8",[],{"type":13,"tag":42,"props":574,"children":576},{"className":575},[],[577],{"type":18,"value":578},"storagePushConstant8",{"type":18,"value":460},{"type":13,"tag":42,"props":581,"children":583},{"className":582},[],[584],{"type":18,"value":585},"PushConstant",{"type":18,"value":587}," storage class ",{"type":13,"tag":493,"props":589,"children":590},{"type":495},[],{"type":18,"value":592}," have 8-bit integer members.\nIf this feature is not enabled, 8-bit integer members ",{"type":13,"tag":493,"props":594,"children":595},{"type":501},[],{"type":18,"value":504},{"type":13,"tag":493,"props":598,"children":599},{"type":495},[],{"type":18,"value":509},{"type":13,"tag":42,"props":602,"children":604},{"className":603},[],[605],{"type":18,"value":606},"StoragePushConstant8",{"type":18,"value":517},{"type":13,"tag":14,"props":609,"children":610},{},[611,613,618,620,625,627,633,635,641,643,648,650,653,655,660,662,668],{"type":18,"value":612},"If the ",{"type":13,"tag":42,"props":614,"children":616},{"className":615},[],[617],{"type":18,"value":4},{"type":18,"value":619}," structure is included in the ",{"type":13,"tag":42,"props":621,"children":623},{"className":622},[],[624],{"type":18,"value":432},{"type":18,"value":626}," chain of the\n",{"type":13,"tag":21,"props":628,"children":630},{"href":629},"/man/VkPhysicalDeviceFeatures2",[631],{"type":18,"value":632},"VkPhysicalDeviceFeatures2",{"type":18,"value":634}," structure passed to\n",{"type":13,"tag":21,"props":636,"children":638},{"href":637},"/man/vkGetPhysicalDeviceFeatures2",[639],{"type":18,"value":640},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":642},", it is filled in to indicate whether each\ncorresponding feature is supported.\n",{"type":13,"tag":42,"props":644,"children":646},{"className":645},[],[647],{"type":18,"value":4},{"type":18,"value":649}," ",{"type":13,"tag":493,"props":651,"children":652},{"type":495},[],{"type":18,"value":654}," also be used in the ",{"type":13,"tag":42,"props":656,"children":658},{"className":657},[],[659],{"type":18,"value":432},{"type":18,"value":661}," chain of\n",{"type":13,"tag":21,"props":663,"children":665},{"href":664},"/man/VkDeviceCreateInfo",[666],{"type":18,"value":667},"VkDeviceCreateInfo",{"type":18,"value":669}," to selectively enable these features.",{"type":13,"tag":671,"props":672,"children":674},"validity-group",{"name":673},"Valid Usage (Implicit)",[675],{"type":13,"tag":676,"props":677,"children":679},"validity-field",{"name":678},"VUID-VkPhysicalDevice8BitStorageFeatures-sType-sType",[680],{"type":13,"tag":14,"props":681,"children":682},{},[683,688,689,692,694],{"type":13,"tag":42,"props":684,"children":686},{"className":685},[],[687],{"type":18,"value":413},{"type":18,"value":649},{"type":13,"tag":493,"props":690,"children":691},{"type":501},[],{"type":18,"value":693}," be ",{"type":13,"tag":42,"props":695,"children":697},{"className":696},[],[698],{"type":18,"value":699},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES",{"type":13,"tag":701,"props":702,"children":703},"style",{},[704],{"type":18,"value":705},"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":707},[],"markdown",1725732565487]