[{"data":1,"prerenderedAt":493},["ShallowReactive",2],{"p4cD1W9ZjO":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":492,"_id":4},"VkValidationFlagsEXT","Specify validation checks to disable for a Vulkan instance","VK_EXT_validation_flags","structs",[],{"type":10,"children":11,"toc":490},"root",[12,45,324,396,484],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,35,37,43],{"type":18,"value":19},"text","When creating a Vulkan instance for which you wish to disable validation\nchecks, add a ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkValidationFlagsEXT",[25],{"type":18,"value":4},{"type":18,"value":27}," structure to the ",{"type":13,"tag":29,"props":30,"children":32},"code",{"className":31},[],[33],{"type":18,"value":34},"pNext",{"type":18,"value":36}," chain\nof the ",{"type":13,"tag":21,"props":38,"children":40},{"href":39},"/man/VkInstanceCreateInfo",[41],{"type":18,"value":42},"VkInstanceCreateInfo",{"type":18,"value":44}," structure, specifying the checks to be\ndisabled.",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,158],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkValidationFlagsEXT {\n VkStructureType sType;\n const void* pNext;\n uint32_t disabledValidationCheckCount;\n const VkValidationCheckEXT* pDisabledValidationChecks;\n} VkValidationFlagsEXT;\n","C","c","",[58],{"type":13,"tag":29,"props":59,"children":60},{"__ignoreMap":56},[61,84,93,112,126,149],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," struct",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkValidationFlagsEXT {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VkStructureType sType;\n",{"type":13,"tag":62,"props":94,"children":96},{"class":64,"line":95},3,[97,102,107],{"type":13,"tag":62,"props":98,"children":99},{"style":69},[100],{"type":18,"value":101}," const",{"type":13,"tag":62,"props":103,"children":104},{"style":69},[105],{"type":18,"value":106}," void*",{"type":13,"tag":62,"props":108,"children":109},{"style":80},[110],{"type":18,"value":111}," pNext;\n",{"type":13,"tag":62,"props":113,"children":115},{"class":64,"line":114},4,[116,121],{"type":13,"tag":62,"props":117,"children":118},{"style":69},[119],{"type":18,"value":120}," uint32_t",{"type":13,"tag":62,"props":122,"children":123},{"style":80},[124],{"type":18,"value":125}," disabledValidationCheckCount;\n",{"type":13,"tag":62,"props":127,"children":129},{"class":64,"line":128},5,[130,134,139,144],{"type":13,"tag":62,"props":131,"children":132},{"style":69},[133],{"type":18,"value":101},{"type":13,"tag":62,"props":135,"children":136},{"style":80},[137],{"type":18,"value":138}," VkValidationCheckEXT",{"type":13,"tag":62,"props":140,"children":141},{"style":69},[142],{"type":18,"value":143},"*",{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148}," pDisabledValidationChecks;\n",{"type":13,"tag":62,"props":150,"children":152},{"class":64,"line":151},6,[153],{"type":13,"tag":62,"props":154,"children":155},{"style":80},[156],{"type":18,"value":157},"} VkValidationFlagsEXT;\n",{"type":13,"tag":50,"props":159,"children":164},{"className":160,"code":161,"filename":162,"language":163,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ValidationFlagsEXT {\n s_type: vk::StructureType, // Must be VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT\n p_next: *const c_void,\n disabled_validation_check_count: u32, // Number of validation checks to disable\n p_disabled_validation_checks: *const vk::ValidationCheckEXT, // Validation checks to disable\n}\n","Rust","rs",[165],{"type":13,"tag":29,"props":166,"children":167},{"__ignoreMap":56},[168,191,230,252,278,316],{"type":13,"tag":62,"props":169,"children":170},{"class":64,"line":65},[171,176,180,186],{"type":13,"tag":62,"props":172,"children":173},{"style":69},[174],{"type":18,"value":175},"pub",{"type":13,"tag":62,"props":177,"children":178},{"style":69},[179],{"type":18,"value":77},{"type":13,"tag":62,"props":181,"children":183},{"style":182},"--shiki-default:#953800;--shiki-dark:#FFA657",[184],{"type":18,"value":185}," ValidationFlagsEXT",{"type":13,"tag":62,"props":187,"children":188},{"style":80},[189],{"type":18,"value":190}," {\n",{"type":13,"tag":62,"props":192,"children":193},{"class":64,"line":86},[194,199,204,209,214,219,224],{"type":13,"tag":62,"props":195,"children":196},{"style":80},[197],{"type":18,"value":198}," s_type",{"type":13,"tag":62,"props":200,"children":201},{"style":69},[202],{"type":18,"value":203},":",{"type":13,"tag":62,"props":205,"children":206},{"style":182},[207],{"type":18,"value":208}," vk",{"type":13,"tag":62,"props":210,"children":211},{"style":69},[212],{"type":18,"value":213},"::",{"type":13,"tag":62,"props":215,"children":216},{"style":182},[217],{"type":18,"value":218},"StructureType",{"type":13,"tag":62,"props":220,"children":221},{"style":80},[222],{"type":18,"value":223},", ",{"type":13,"tag":62,"props":225,"children":227},{"style":226},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[228],{"type":18,"value":229},"// Must be VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT\n",{"type":13,"tag":62,"props":231,"children":232},{"class":64,"line":95},[233,238,242,247],{"type":13,"tag":62,"props":234,"children":235},{"style":80},[236],{"type":18,"value":237}," p_next",{"type":13,"tag":62,"props":239,"children":240},{"style":69},[241],{"type":18,"value":203},{"type":13,"tag":62,"props":243,"children":244},{"style":69},[245],{"type":18,"value":246}," *const",{"type":13,"tag":62,"props":248,"children":249},{"style":80},[250],{"type":18,"value":251}," c_void,\n",{"type":13,"tag":62,"props":253,"children":254},{"class":64,"line":114},[255,260,264,269,273],{"type":13,"tag":62,"props":256,"children":257},{"style":80},[258],{"type":18,"value":259}," disabled_validation_check_count",{"type":13,"tag":62,"props":261,"children":262},{"style":69},[263],{"type":18,"value":203},{"type":13,"tag":62,"props":265,"children":266},{"style":182},[267],{"type":18,"value":268}," u32",{"type":13,"tag":62,"props":270,"children":271},{"style":80},[272],{"type":18,"value":223},{"type":13,"tag":62,"props":274,"children":275},{"style":226},[276],{"type":18,"value":277},"// Number of validation checks to disable\n",{"type":13,"tag":62,"props":279,"children":280},{"class":64,"line":128},[281,286,290,294,298,302,307,311],{"type":13,"tag":62,"props":282,"children":283},{"style":80},[284],{"type":18,"value":285}," p_disabled_validation_checks",{"type":13,"tag":62,"props":287,"children":288},{"style":69},[289],{"type":18,"value":203},{"type":13,"tag":62,"props":291,"children":292},{"style":69},[293],{"type":18,"value":246},{"type":13,"tag":62,"props":295,"children":296},{"style":182},[297],{"type":18,"value":208},{"type":13,"tag":62,"props":299,"children":300},{"style":69},[301],{"type":18,"value":213},{"type":13,"tag":62,"props":303,"children":304},{"style":182},[305],{"type":18,"value":306},"ValidationCheckEXT",{"type":13,"tag":62,"props":308,"children":309},{"style":80},[310],{"type":18,"value":223},{"type":13,"tag":62,"props":312,"children":313},{"style":226},[314],{"type":18,"value":315},"// Validation checks to disable\n",{"type":13,"tag":62,"props":317,"children":318},{"class":64,"line":151},[319],{"type":13,"tag":62,"props":320,"children":321},{"style":80},[322],{"type":18,"value":323},"}\n",{"type":13,"tag":325,"props":326,"children":327},"ul",{},[328,348,366,377],{"type":13,"tag":329,"props":330,"children":331},"li",{},[332,338,340,346],{"type":13,"tag":29,"props":333,"children":335},{"className":334},[],[336],{"type":18,"value":337},"sType",{"type":18,"value":339}," is a ",{"type":13,"tag":21,"props":341,"children":343},{"href":342},"/man/VkStructureType",[344],{"type":18,"value":345},"VkStructureType",{"type":18,"value":347}," value identifying this structure.",{"type":13,"tag":329,"props":349,"children":350},{},[351,356,358,364],{"type":13,"tag":29,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":34},{"type":18,"value":357}," is ",{"type":13,"tag":29,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":363},"NULL",{"type":18,"value":365}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":329,"props":367,"children":368},{},[369,375],{"type":13,"tag":29,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":374},"disabledValidationCheckCount",{"type":18,"value":376}," is the number of checks to disable.",{"type":13,"tag":329,"props":378,"children":379},{},[380,386,388,394],{"type":13,"tag":29,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":385},"pDisabledValidationChecks",{"type":18,"value":387}," is a pointer to an array of\n",{"type":13,"tag":21,"props":389,"children":391},{"href":390},"/man/VkValidationCheckEXT",[392],{"type":18,"value":393},"VkValidationCheckEXT",{"type":18,"value":395}," values specifying the validation checks to be\ndisabled.",{"type":13,"tag":397,"props":398,"children":400},"validity-group",{"name":399},"Valid Usage (Implicit)",[401,429,460],{"type":13,"tag":402,"props":403,"children":405},"validity-field",{"name":404},"VUID-VkValidationFlagsEXT-sType-sType",[406],{"type":13,"tag":14,"props":407,"children":408},{},[409,414,416,421,423],{"type":13,"tag":29,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":337},{"type":18,"value":415}," ",{"type":13,"tag":417,"props":418,"children":420},"normative",{"type":419},"must",[],{"type":18,"value":422}," be ",{"type":13,"tag":29,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":428},"VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT",{"type":13,"tag":402,"props":430,"children":432},{"name":431},"VUID-VkValidationFlagsEXT-pDisabledValidationChecks-parameter",[433],{"type":13,"tag":14,"props":434,"children":435},{},[436,441,442,445,447,452,454,458],{"type":13,"tag":29,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":385},{"type":18,"value":415},{"type":13,"tag":417,"props":443,"children":444},{"type":419},[],{"type":18,"value":446}," be a valid pointer to an array of ",{"type":13,"tag":29,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":374},{"type":18,"value":453}," valid ",{"type":13,"tag":21,"props":455,"children":456},{"href":390},[457],{"type":18,"value":393},{"type":18,"value":459}," values",{"type":13,"tag":402,"props":461,"children":463},{"name":462},"VUID-VkValidationFlagsEXT-disabledValidationCheckCount-arraylength",[464],{"type":13,"tag":14,"props":465,"children":466},{},[467,472,473,476,478],{"type":13,"tag":29,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":374},{"type":18,"value":415},{"type":13,"tag":417,"props":474,"children":475},{"type":419},[],{"type":18,"value":477}," be greater than ",{"type":13,"tag":29,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":483},"0",{"type":13,"tag":485,"props":486,"children":487},"style",{},[488],{"type":18,"value":489},"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":56,"searchDepth":86,"depth":86,"links":491},[],"markdown",1725732590785]