[{"data":1,"prerenderedAt":662},["ShallowReactive",2],{"$fqdTrNbjddY2Gh6Bt9l-OweJUHVpHCLDR13RZ-7q36T8":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":10,"xrefs":11,"body":12,"_type":661,"_id":4},"VkPhysicalDeviceRobustness2FeaturesKHR","Structure describing the out-of-bounds behavior for an implementation","VK_KHR_robustness2",[8,9],"VkPhysicalDeviceFeatures2","VkDeviceCreateInfo","structs",[],{"type":13,"children":14,"toc":659},"root",[15,31,310,375,380,504,587,625,653],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29],{"type":21,"value":22},"text","The ",{"type":16,"tag":24,"props":25,"children":27},"code",{"className":26},[],[28],{"type":21,"value":4},{"type":21,"value":30}," structure is defined as:",{"type":16,"tag":32,"props":33,"children":34},"code-group",{},[35,129],{"type":16,"tag":36,"props":37,"children":43},"pre",{"className":38,"code":39,"filename":40,"language":41,"meta":42,"style":42},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceRobustness2FeaturesKHR {\n VkStructureType sType;\n void* pNext;\n VkBool32 robustBufferAccess2;\n VkBool32 robustImageAccess2;\n VkBool32 nullDescriptor;\n} VkPhysicalDeviceRobustness2FeaturesKHR;\n","C","c","",[44],{"type":16,"tag":24,"props":45,"children":46},{"__ignoreMap":42},[47,70,79,93,102,111,120],{"type":16,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,64],{"type":16,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":21,"value":58},"typedef",{"type":16,"tag":48,"props":60,"children":61},{"style":55},[62],{"type":21,"value":63}," struct",{"type":16,"tag":48,"props":65,"children":67},{"style":66},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[68],{"type":21,"value":69}," VkPhysicalDeviceRobustness2FeaturesKHR {\n",{"type":16,"tag":48,"props":71,"children":73},{"class":50,"line":72},2,[74],{"type":16,"tag":48,"props":75,"children":76},{"style":66},[77],{"type":21,"value":78}," VkStructureType sType;\n",{"type":16,"tag":48,"props":80,"children":82},{"class":50,"line":81},3,[83,88],{"type":16,"tag":48,"props":84,"children":85},{"style":55},[86],{"type":21,"value":87}," void*",{"type":16,"tag":48,"props":89,"children":90},{"style":66},[91],{"type":21,"value":92}," pNext;\n",{"type":16,"tag":48,"props":94,"children":96},{"class":50,"line":95},4,[97],{"type":16,"tag":48,"props":98,"children":99},{"style":66},[100],{"type":21,"value":101}," VkBool32 robustBufferAccess2;\n",{"type":16,"tag":48,"props":103,"children":105},{"class":50,"line":104},5,[106],{"type":16,"tag":48,"props":107,"children":108},{"style":66},[109],{"type":21,"value":110}," VkBool32 robustImageAccess2;\n",{"type":16,"tag":48,"props":112,"children":114},{"class":50,"line":113},6,[115],{"type":16,"tag":48,"props":116,"children":117},{"style":66},[118],{"type":21,"value":119}," VkBool32 nullDescriptor;\n",{"type":16,"tag":48,"props":121,"children":123},{"class":50,"line":122},7,[124],{"type":16,"tag":48,"props":125,"children":126},{"style":66},[127],{"type":21,"value":128},"} VkPhysicalDeviceRobustness2FeaturesKHR;\n",{"type":16,"tag":36,"props":130,"children":135},{"className":131,"code":132,"filename":133,"language":134,"meta":42,"style":42},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceRobustness2FeaturesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n robust_buffer_access2: vk::Bool32,\n robust_image_access2: vk::Bool32,\n null_descriptor: vk::Bool32,\n}\n","Rust","rs",[136],{"type":16,"tag":24,"props":137,"children":138},{"__ignoreMap":42},[139,162,195,217,246,274,302],{"type":16,"tag":48,"props":140,"children":141},{"class":50,"line":51},[142,147,151,157],{"type":16,"tag":48,"props":143,"children":144},{"style":55},[145],{"type":21,"value":146},"pub",{"type":16,"tag":48,"props":148,"children":149},{"style":55},[150],{"type":21,"value":63},{"type":16,"tag":48,"props":152,"children":154},{"style":153},"--shiki-default:#953800;--shiki-dark:#FFA657",[155],{"type":21,"value":156}," PhysicalDeviceRobustness2FeaturesKHR",{"type":16,"tag":48,"props":158,"children":159},{"style":66},[160],{"type":21,"value":161}," {\n",{"type":16,"tag":48,"props":163,"children":164},{"class":50,"line":72},[165,170,175,180,185,190],{"type":16,"tag":48,"props":166,"children":167},{"style":66},[168],{"type":21,"value":169}," s_type",{"type":16,"tag":48,"props":171,"children":172},{"style":55},[173],{"type":21,"value":174},":",{"type":16,"tag":48,"props":176,"children":177},{"style":153},[178],{"type":21,"value":179}," vk",{"type":16,"tag":48,"props":181,"children":182},{"style":55},[183],{"type":21,"value":184},"::",{"type":16,"tag":48,"props":186,"children":187},{"style":153},[188],{"type":21,"value":189},"StructureType",{"type":16,"tag":48,"props":191,"children":192},{"style":66},[193],{"type":21,"value":194},",\n",{"type":16,"tag":48,"props":196,"children":197},{"class":50,"line":81},[198,203,207,212],{"type":16,"tag":48,"props":199,"children":200},{"style":66},[201],{"type":21,"value":202}," p_next",{"type":16,"tag":48,"props":204,"children":205},{"style":55},[206],{"type":21,"value":174},{"type":16,"tag":48,"props":208,"children":209},{"style":55},[210],{"type":21,"value":211}," *mut",{"type":16,"tag":48,"props":213,"children":214},{"style":66},[215],{"type":21,"value":216}," c_void,\n",{"type":16,"tag":48,"props":218,"children":219},{"class":50,"line":95},[220,225,229,233,237,242],{"type":16,"tag":48,"props":221,"children":222},{"style":66},[223],{"type":21,"value":224}," robust_buffer_access2",{"type":16,"tag":48,"props":226,"children":227},{"style":55},[228],{"type":21,"value":174},{"type":16,"tag":48,"props":230,"children":231},{"style":153},[232],{"type":21,"value":179},{"type":16,"tag":48,"props":234,"children":235},{"style":55},[236],{"type":21,"value":184},{"type":16,"tag":48,"props":238,"children":239},{"style":153},[240],{"type":21,"value":241},"Bool32",{"type":16,"tag":48,"props":243,"children":244},{"style":66},[245],{"type":21,"value":194},{"type":16,"tag":48,"props":247,"children":248},{"class":50,"line":104},[249,254,258,262,266,270],{"type":16,"tag":48,"props":250,"children":251},{"style":66},[252],{"type":21,"value":253}," robust_image_access2",{"type":16,"tag":48,"props":255,"children":256},{"style":55},[257],{"type":21,"value":174},{"type":16,"tag":48,"props":259,"children":260},{"style":153},[261],{"type":21,"value":179},{"type":16,"tag":48,"props":263,"children":264},{"style":55},[265],{"type":21,"value":184},{"type":16,"tag":48,"props":267,"children":268},{"style":153},[269],{"type":21,"value":241},{"type":16,"tag":48,"props":271,"children":272},{"style":66},[273],{"type":21,"value":194},{"type":16,"tag":48,"props":275,"children":276},{"class":50,"line":113},[277,282,286,290,294,298],{"type":16,"tag":48,"props":278,"children":279},{"style":66},[280],{"type":21,"value":281}," null_descriptor",{"type":16,"tag":48,"props":283,"children":284},{"style":55},[285],{"type":21,"value":174},{"type":16,"tag":48,"props":287,"children":288},{"style":153},[289],{"type":21,"value":179},{"type":16,"tag":48,"props":291,"children":292},{"style":55},[293],{"type":21,"value":184},{"type":16,"tag":48,"props":295,"children":296},{"style":153},[297],{"type":21,"value":241},{"type":16,"tag":48,"props":299,"children":300},{"style":66},[301],{"type":21,"value":194},{"type":16,"tag":48,"props":303,"children":304},{"class":50,"line":122},[305],{"type":16,"tag":48,"props":306,"children":307},{"style":66},[308],{"type":21,"value":309},"}\n",{"type":16,"tag":32,"props":311,"children":312},{},[313,332],{"type":16,"tag":36,"props":314,"children":316},{"className":38,"code":315,"filename":40,"language":41,"meta":42,"style":42},"typedef VkPhysicalDeviceRobustness2FeaturesKHR VkPhysicalDeviceRobustness2FeaturesEXT;\n",[317],{"type":16,"tag":24,"props":318,"children":319},{"__ignoreMap":42},[320],{"type":16,"tag":48,"props":321,"children":322},{"class":50,"line":51},[323,327],{"type":16,"tag":48,"props":324,"children":325},{"style":55},[326],{"type":21,"value":58},{"type":16,"tag":48,"props":328,"children":329},{"style":66},[330],{"type":21,"value":331}," VkPhysicalDeviceRobustness2FeaturesKHR VkPhysicalDeviceRobustness2FeaturesEXT;\n",{"type":16,"tag":36,"props":333,"children":335},{"className":131,"code":334,"filename":133,"language":134,"meta":42,"style":42},"type PhysicalDeviceRobustness2FeaturesEXT = vk::PhysicalDeviceRobustness2FeaturesKHR;\n",[336],{"type":16,"tag":24,"props":337,"children":338},{"__ignoreMap":42},[339],{"type":16,"tag":48,"props":340,"children":341},{"class":50,"line":51},[342,347,352,357,361,365,370],{"type":16,"tag":48,"props":343,"children":344},{"style":55},[345],{"type":21,"value":346},"type",{"type":16,"tag":48,"props":348,"children":349},{"style":153},[350],{"type":21,"value":351}," PhysicalDeviceRobustness2FeaturesEXT",{"type":16,"tag":48,"props":353,"children":354},{"style":55},[355],{"type":21,"value":356}," =",{"type":16,"tag":48,"props":358,"children":359},{"style":153},[360],{"type":21,"value":179},{"type":16,"tag":48,"props":362,"children":363},{"style":55},[364],{"type":21,"value":184},{"type":16,"tag":48,"props":366,"children":367},{"style":153},[368],{"type":21,"value":369},"PhysicalDeviceRobustness2FeaturesKHR",{"type":16,"tag":48,"props":371,"children":372},{"style":66},[373],{"type":21,"value":374},";\n",{"type":16,"tag":17,"props":376,"children":377},{},[378],{"type":21,"value":379},"This structure describes the following features:",{"type":16,"tag":381,"props":382,"children":383},"ul",{},[384,405,424,450,473],{"type":16,"tag":385,"props":386,"children":387},"li",{},[388,394,396,403],{"type":16,"tag":24,"props":389,"children":391},{"className":390},[],[392],{"type":21,"value":393},"sType",{"type":21,"value":395}," is a ",{"type":16,"tag":397,"props":398,"children":400},"a",{"href":399},"/man/VkStructureType",[401],{"type":21,"value":402},"VkStructureType",{"type":21,"value":404}," value identifying this structure.",{"type":16,"tag":385,"props":406,"children":407},{},[408,414,416,422],{"type":16,"tag":24,"props":409,"children":411},{"className":410},[],[412],{"type":21,"value":413},"pNext",{"type":21,"value":415}," is ",{"type":16,"tag":24,"props":417,"children":419},{"className":418},[],[420],{"type":21,"value":421},"NULL",{"type":21,"value":423}," or a pointer to a structure extending this\nstructure.",{"type":16,"tag":385,"props":425,"children":426},{},[427,432,434,440,442,448],{"type":16,"tag":428,"props":429,"children":431},"anchor",{"id":430},"features-robustBufferAccess2",[],{"type":21,"value":433}," ",{"type":16,"tag":24,"props":435,"children":437},{"className":436},[],[438],{"type":21,"value":439},"robustBufferAccess2",{"type":21,"value":441}," enables\n",{"type":16,"tag":397,"props":443,"children":445},{"href":444},"/chapters/shaders#shaders-robust-buffer-access2",[446],{"type":21,"value":447},"Robust Buffer Access 2",{"type":21,"value":449}," guarantees for shader buffer accesses.",{"type":16,"tag":385,"props":451,"children":452},{},[453,457,458,464,465,471],{"type":16,"tag":428,"props":454,"children":456},{"id":455},"features-robustImageAccess2",[],{"type":21,"value":433},{"type":16,"tag":24,"props":459,"children":461},{"className":460},[],[462],{"type":21,"value":463},"robustImageAccess2",{"type":21,"value":441},{"type":16,"tag":397,"props":466,"children":468},{"href":467},"/chapters/shaders#shaders-robust-image-access2",[469],{"type":21,"value":470},"Robust Image Access 2",{"type":21,"value":472}," guarantees for shader image accesses.",{"type":16,"tag":385,"props":474,"children":475},{},[476,480,481,487,489,494,496,502],{"type":16,"tag":428,"props":477,"children":479},{"id":478},"features-nullDescriptor",[],{"type":21,"value":433},{"type":16,"tag":24,"props":482,"children":484},{"className":483},[],[485],{"type":21,"value":486},"nullDescriptor",{"type":21,"value":488}," indicates\nwhether descriptors ",{"type":16,"tag":490,"props":491,"children":493},"normative",{"type":492},"can",[],{"type":21,"value":495}," be written with a ",{"type":16,"tag":397,"props":497,"children":499},{"href":498},"/man/VK_NULL_HANDLE",[500],{"type":21,"value":501},"VK_NULL_HANDLE",{"type":21,"value":503}," resource\nor view, which are considered valid to access and act as if the\ndescriptor were bound to nothing.",{"type":16,"tag":17,"props":505,"children":506},{},[507,509,514,516,521,523,528,530,536,538,544,546,551,553,557,559,565,567,572,574,579,581,585],{"type":21,"value":508},"If the ",{"type":16,"tag":24,"props":510,"children":512},{"className":511},[],[513],{"type":21,"value":4},{"type":21,"value":515}," structure is included in the ",{"type":16,"tag":24,"props":517,"children":519},{"className":518},[],[520],{"type":21,"value":413},{"type":21,"value":522}," chain of the\n",{"type":16,"tag":397,"props":524,"children":526},{"href":525},"/man/VkPhysicalDeviceFeatures2",[527],{"type":21,"value":8},{"type":21,"value":529}," structure passed to\n",{"type":16,"tag":397,"props":531,"children":533},{"href":532},"/man/vkGetPhysicalDeviceFeatures2",[534],{"type":21,"value":535},"vkGetPhysicalDeviceFeatures2",{"type":21,"value":537},", it is filled in to indicate whether each\ncorresponding feature is supported.\nIf the application wishes to use a ",{"type":16,"tag":397,"props":539,"children":541},{"href":540},"/man/VkDevice",[542],{"type":21,"value":543},"VkDevice",{"type":21,"value":545}," with any features\ndescribed by ",{"type":16,"tag":24,"props":547,"children":549},{"className":548},[],[550],{"type":21,"value":4},{"type":21,"value":552},", it ",{"type":16,"tag":490,"props":554,"children":556},{"type":555},"must",[],{"type":21,"value":558}," add an instance of the structure,\nwith the desired feature members set to ",{"type":16,"tag":24,"props":560,"children":562},{"className":561},[],[563],{"type":21,"value":564},"VK_TRUE",{"type":21,"value":566},", to the ",{"type":16,"tag":24,"props":568,"children":570},{"className":569},[],[571],{"type":21,"value":413},{"type":21,"value":573},"\nchain of ",{"type":16,"tag":397,"props":575,"children":577},{"href":576},"/man/VkDeviceCreateInfo",[578],{"type":21,"value":9},{"type":21,"value":580}," when creating the ",{"type":16,"tag":397,"props":582,"children":583},{"href":540},[584],{"type":21,"value":543},{"type":21,"value":586},".",{"type":16,"tag":588,"props":589,"children":591},"validity-group",{"name":590},"Valid Usage",[592],{"type":16,"tag":593,"props":594,"children":596},"validity-field",{"name":595},"VUID-VkPhysicalDeviceRobustness2FeaturesKHR-robustBufferAccess2-04000",[597],{"type":16,"tag":17,"props":598,"children":599},{},[600,602,607,609,619,620,623],{"type":21,"value":601},"If ",{"type":16,"tag":24,"props":603,"children":605},{"className":604},[],[606],{"type":21,"value":439},{"type":21,"value":608}," is enabled then\n",{"type":16,"tag":397,"props":610,"children":612},{"href":611},"/man/VkPhysicalDeviceFeatures#features-robustBufferAccess",[613],{"type":16,"tag":24,"props":614,"children":616},{"className":615},[],[617],{"type":21,"value":618},"robustBufferAccess",{"type":21,"value":433},{"type":16,"tag":490,"props":621,"children":622},{"type":555},[],{"type":21,"value":624}," also be\nenabled",{"type":16,"tag":588,"props":626,"children":628},{"name":627},"Valid Usage (Implicit)",[629],{"type":16,"tag":593,"props":630,"children":632},{"name":631},"VUID-VkPhysicalDeviceRobustness2FeaturesKHR-sType-sType",[633],{"type":16,"tag":17,"props":634,"children":635},{},[636,641,642,645,647],{"type":16,"tag":24,"props":637,"children":639},{"className":638},[],[640],{"type":21,"value":393},{"type":21,"value":433},{"type":16,"tag":490,"props":643,"children":644},{"type":555},[],{"type":21,"value":646}," be ",{"type":16,"tag":24,"props":648,"children":650},{"className":649},[],[651],{"type":21,"value":652},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_KHR",{"type":16,"tag":654,"props":655,"children":656},"style",{},[657],{"type":21,"value":658},"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":42,"searchDepth":72,"depth":72,"links":660},[],"markdown",1773054767048]