[{"data":1,"prerenderedAt":2311},["ShallowReactive",2],{"IDQpscQm2c":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":2310,"_id":4},"VkResult","Vulkan command return codes","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":2308},"root",[12,20,35,48,1426,2118,2159,2175,2219,2240,2260,2282,2302],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","While the core Vulkan API is not designed to capture incorrect usage, some\ncircumstances still require return codes.\nCommands in Vulkan return their status via return codes that are in one of\ntwo categories:",{"type":13,"tag":21,"props":22,"children":23},"ul",{},[24,30],{"type":13,"tag":25,"props":26,"children":27},"li",{},[28],{"type":18,"value":29},"Successful completion codes are returned when a command needs to\ncommunicate success or status information.\nAll successful completion codes are non-negative values.",{"type":13,"tag":25,"props":31,"children":32},{},[33],{"type":18,"value":34},"Runtime error codes are returned when a command needs to communicate a\nfailure that could only be detected at runtime.\nAll runtime error codes are negative values.",{"type":13,"tag":14,"props":36,"children":37},{},[38,40,46],{"type":18,"value":39},"All return codes in Vulkan are reported via ",{"type":13,"tag":41,"props":42,"children":44},"a",{"href":43},"/man/VkResult",[45],{"type":18,"value":4},{"type":18,"value":47}," return values.\nThe possible codes are:",{"type":13,"tag":49,"props":50,"children":51},"code-group",{},[52,599],{"type":13,"tag":53,"props":54,"children":60},"pre",{"className":55,"code":56,"filename":57,"language":58,"meta":59,"style":59},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkResult {\n // Return codes (positive values),\n VK_SUCCESS = 0,\n VK_NOT_READY = 1,\n VK_TIMEOUT = 2,\n VK_EVENT_SET = 3,\n VK_EVENT_RESET = 4,\n VK_INCOMPLETE = 5,\n // Error codes (negative values),\n VK_ERROR_OUT_OF_HOST_MEMORY = -1,\n VK_ERROR_OUT_OF_DEVICE_MEMORY = -2,\n VK_ERROR_INITIALIZATION_FAILED = -3,\n VK_ERROR_DEVICE_LOST = -4,\n VK_ERROR_MEMORY_MAP_FAILED = -5,\n VK_ERROR_LAYER_NOT_PRESENT = -6,\n VK_ERROR_EXTENSION_NOT_PRESENT = -7,\n VK_ERROR_FEATURE_NOT_PRESENT = -8,\n VK_ERROR_INCOMPATIBLE_DRIVER = -9,\n VK_ERROR_TOO_MANY_OBJECTS = -10,\n VK_ERROR_FORMAT_NOT_SUPPORTED = -11,\n VK_ERROR_FRAGMENTED_POOL = -12,\n VK_ERROR_UNKNOWN = -13,\n ,\n} VkResult;\n","C","c","",[61],{"type":13,"tag":62,"props":63,"children":64},"code",{"__ignoreMap":59},[65,88,98,123,145,167,189,211,233,242,269,295,321,347,373,399,425,451,477,503,529,555,581,590],{"type":13,"tag":66,"props":67,"children":70},"span",{"class":68,"line":69},"line",1,[71,77,82],{"type":13,"tag":66,"props":72,"children":74},{"style":73},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[75],{"type":18,"value":76},"typedef",{"type":13,"tag":66,"props":78,"children":79},{"style":73},[80],{"type":18,"value":81}," enum",{"type":13,"tag":66,"props":83,"children":85},{"style":84},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[86],{"type":18,"value":87}," VkResult {\n",{"type":13,"tag":66,"props":89,"children":91},{"class":68,"line":90},2,[92],{"type":13,"tag":66,"props":93,"children":95},{"style":94},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[96],{"type":18,"value":97}," // Return codes (positive values),\n",{"type":13,"tag":66,"props":99,"children":101},{"class":68,"line":100},3,[102,107,112,118],{"type":13,"tag":66,"props":103,"children":104},{"style":84},[105],{"type":18,"value":106}," VK_SUCCESS ",{"type":13,"tag":66,"props":108,"children":109},{"style":73},[110],{"type":18,"value":111},"=",{"type":13,"tag":66,"props":113,"children":115},{"style":114},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[116],{"type":18,"value":117}," 0",{"type":13,"tag":66,"props":119,"children":120},{"style":84},[121],{"type":18,"value":122},",\n",{"type":13,"tag":66,"props":124,"children":126},{"class":68,"line":125},4,[127,132,136,141],{"type":13,"tag":66,"props":128,"children":129},{"style":84},[130],{"type":18,"value":131}," VK_NOT_READY ",{"type":13,"tag":66,"props":133,"children":134},{"style":73},[135],{"type":18,"value":111},{"type":13,"tag":66,"props":137,"children":138},{"style":114},[139],{"type":18,"value":140}," 1",{"type":13,"tag":66,"props":142,"children":143},{"style":84},[144],{"type":18,"value":122},{"type":13,"tag":66,"props":146,"children":148},{"class":68,"line":147},5,[149,154,158,163],{"type":13,"tag":66,"props":150,"children":151},{"style":84},[152],{"type":18,"value":153}," VK_TIMEOUT ",{"type":13,"tag":66,"props":155,"children":156},{"style":73},[157],{"type":18,"value":111},{"type":13,"tag":66,"props":159,"children":160},{"style":114},[161],{"type":18,"value":162}," 2",{"type":13,"tag":66,"props":164,"children":165},{"style":84},[166],{"type":18,"value":122},{"type":13,"tag":66,"props":168,"children":170},{"class":68,"line":169},6,[171,176,180,185],{"type":13,"tag":66,"props":172,"children":173},{"style":84},[174],{"type":18,"value":175}," VK_EVENT_SET ",{"type":13,"tag":66,"props":177,"children":178},{"style":73},[179],{"type":18,"value":111},{"type":13,"tag":66,"props":181,"children":182},{"style":114},[183],{"type":18,"value":184}," 3",{"type":13,"tag":66,"props":186,"children":187},{"style":84},[188],{"type":18,"value":122},{"type":13,"tag":66,"props":190,"children":192},{"class":68,"line":191},7,[193,198,202,207],{"type":13,"tag":66,"props":194,"children":195},{"style":84},[196],{"type":18,"value":197}," VK_EVENT_RESET ",{"type":13,"tag":66,"props":199,"children":200},{"style":73},[201],{"type":18,"value":111},{"type":13,"tag":66,"props":203,"children":204},{"style":114},[205],{"type":18,"value":206}," 4",{"type":13,"tag":66,"props":208,"children":209},{"style":84},[210],{"type":18,"value":122},{"type":13,"tag":66,"props":212,"children":214},{"class":68,"line":213},8,[215,220,224,229],{"type":13,"tag":66,"props":216,"children":217},{"style":84},[218],{"type":18,"value":219}," VK_INCOMPLETE ",{"type":13,"tag":66,"props":221,"children":222},{"style":73},[223],{"type":18,"value":111},{"type":13,"tag":66,"props":225,"children":226},{"style":114},[227],{"type":18,"value":228}," 5",{"type":13,"tag":66,"props":230,"children":231},{"style":84},[232],{"type":18,"value":122},{"type":13,"tag":66,"props":234,"children":236},{"class":68,"line":235},9,[237],{"type":13,"tag":66,"props":238,"children":239},{"style":94},[240],{"type":18,"value":241}," // Error codes (negative values),\n",{"type":13,"tag":66,"props":243,"children":245},{"class":68,"line":244},10,[246,251,255,260,265],{"type":13,"tag":66,"props":247,"children":248},{"style":84},[249],{"type":18,"value":250}," VK_ERROR_OUT_OF_HOST_MEMORY ",{"type":13,"tag":66,"props":252,"children":253},{"style":73},[254],{"type":18,"value":111},{"type":13,"tag":66,"props":256,"children":257},{"style":73},[258],{"type":18,"value":259}," -",{"type":13,"tag":66,"props":261,"children":262},{"style":114},[263],{"type":18,"value":264},"1",{"type":13,"tag":66,"props":266,"children":267},{"style":84},[268],{"type":18,"value":122},{"type":13,"tag":66,"props":270,"children":272},{"class":68,"line":271},11,[273,278,282,286,291],{"type":13,"tag":66,"props":274,"children":275},{"style":84},[276],{"type":18,"value":277}," VK_ERROR_OUT_OF_DEVICE_MEMORY ",{"type":13,"tag":66,"props":279,"children":280},{"style":73},[281],{"type":18,"value":111},{"type":13,"tag":66,"props":283,"children":284},{"style":73},[285],{"type":18,"value":259},{"type":13,"tag":66,"props":287,"children":288},{"style":114},[289],{"type":18,"value":290},"2",{"type":13,"tag":66,"props":292,"children":293},{"style":84},[294],{"type":18,"value":122},{"type":13,"tag":66,"props":296,"children":298},{"class":68,"line":297},12,[299,304,308,312,317],{"type":13,"tag":66,"props":300,"children":301},{"style":84},[302],{"type":18,"value":303}," VK_ERROR_INITIALIZATION_FAILED ",{"type":13,"tag":66,"props":305,"children":306},{"style":73},[307],{"type":18,"value":111},{"type":13,"tag":66,"props":309,"children":310},{"style":73},[311],{"type":18,"value":259},{"type":13,"tag":66,"props":313,"children":314},{"style":114},[315],{"type":18,"value":316},"3",{"type":13,"tag":66,"props":318,"children":319},{"style":84},[320],{"type":18,"value":122},{"type":13,"tag":66,"props":322,"children":324},{"class":68,"line":323},13,[325,330,334,338,343],{"type":13,"tag":66,"props":326,"children":327},{"style":84},[328],{"type":18,"value":329}," VK_ERROR_DEVICE_LOST ",{"type":13,"tag":66,"props":331,"children":332},{"style":73},[333],{"type":18,"value":111},{"type":13,"tag":66,"props":335,"children":336},{"style":73},[337],{"type":18,"value":259},{"type":13,"tag":66,"props":339,"children":340},{"style":114},[341],{"type":18,"value":342},"4",{"type":13,"tag":66,"props":344,"children":345},{"style":84},[346],{"type":18,"value":122},{"type":13,"tag":66,"props":348,"children":350},{"class":68,"line":349},14,[351,356,360,364,369],{"type":13,"tag":66,"props":352,"children":353},{"style":84},[354],{"type":18,"value":355}," VK_ERROR_MEMORY_MAP_FAILED ",{"type":13,"tag":66,"props":357,"children":358},{"style":73},[359],{"type":18,"value":111},{"type":13,"tag":66,"props":361,"children":362},{"style":73},[363],{"type":18,"value":259},{"type":13,"tag":66,"props":365,"children":366},{"style":114},[367],{"type":18,"value":368},"5",{"type":13,"tag":66,"props":370,"children":371},{"style":84},[372],{"type":18,"value":122},{"type":13,"tag":66,"props":374,"children":376},{"class":68,"line":375},15,[377,382,386,390,395],{"type":13,"tag":66,"props":378,"children":379},{"style":84},[380],{"type":18,"value":381}," VK_ERROR_LAYER_NOT_PRESENT ",{"type":13,"tag":66,"props":383,"children":384},{"style":73},[385],{"type":18,"value":111},{"type":13,"tag":66,"props":387,"children":388},{"style":73},[389],{"type":18,"value":259},{"type":13,"tag":66,"props":391,"children":392},{"style":114},[393],{"type":18,"value":394},"6",{"type":13,"tag":66,"props":396,"children":397},{"style":84},[398],{"type":18,"value":122},{"type":13,"tag":66,"props":400,"children":402},{"class":68,"line":401},16,[403,408,412,416,421],{"type":13,"tag":66,"props":404,"children":405},{"style":84},[406],{"type":18,"value":407}," VK_ERROR_EXTENSION_NOT_PRESENT ",{"type":13,"tag":66,"props":409,"children":410},{"style":73},[411],{"type":18,"value":111},{"type":13,"tag":66,"props":413,"children":414},{"style":73},[415],{"type":18,"value":259},{"type":13,"tag":66,"props":417,"children":418},{"style":114},[419],{"type":18,"value":420},"7",{"type":13,"tag":66,"props":422,"children":423},{"style":84},[424],{"type":18,"value":122},{"type":13,"tag":66,"props":426,"children":428},{"class":68,"line":427},17,[429,434,438,442,447],{"type":13,"tag":66,"props":430,"children":431},{"style":84},[432],{"type":18,"value":433}," VK_ERROR_FEATURE_NOT_PRESENT ",{"type":13,"tag":66,"props":435,"children":436},{"style":73},[437],{"type":18,"value":111},{"type":13,"tag":66,"props":439,"children":440},{"style":73},[441],{"type":18,"value":259},{"type":13,"tag":66,"props":443,"children":444},{"style":114},[445],{"type":18,"value":446},"8",{"type":13,"tag":66,"props":448,"children":449},{"style":84},[450],{"type":18,"value":122},{"type":13,"tag":66,"props":452,"children":454},{"class":68,"line":453},18,[455,460,464,468,473],{"type":13,"tag":66,"props":456,"children":457},{"style":84},[458],{"type":18,"value":459}," VK_ERROR_INCOMPATIBLE_DRIVER ",{"type":13,"tag":66,"props":461,"children":462},{"style":73},[463],{"type":18,"value":111},{"type":13,"tag":66,"props":465,"children":466},{"style":73},[467],{"type":18,"value":259},{"type":13,"tag":66,"props":469,"children":470},{"style":114},[471],{"type":18,"value":472},"9",{"type":13,"tag":66,"props":474,"children":475},{"style":84},[476],{"type":18,"value":122},{"type":13,"tag":66,"props":478,"children":480},{"class":68,"line":479},19,[481,486,490,494,499],{"type":13,"tag":66,"props":482,"children":483},{"style":84},[484],{"type":18,"value":485}," VK_ERROR_TOO_MANY_OBJECTS ",{"type":13,"tag":66,"props":487,"children":488},{"style":73},[489],{"type":18,"value":111},{"type":13,"tag":66,"props":491,"children":492},{"style":73},[493],{"type":18,"value":259},{"type":13,"tag":66,"props":495,"children":496},{"style":114},[497],{"type":18,"value":498},"10",{"type":13,"tag":66,"props":500,"children":501},{"style":84},[502],{"type":18,"value":122},{"type":13,"tag":66,"props":504,"children":506},{"class":68,"line":505},20,[507,512,516,520,525],{"type":13,"tag":66,"props":508,"children":509},{"style":84},[510],{"type":18,"value":511}," VK_ERROR_FORMAT_NOT_SUPPORTED ",{"type":13,"tag":66,"props":513,"children":514},{"style":73},[515],{"type":18,"value":111},{"type":13,"tag":66,"props":517,"children":518},{"style":73},[519],{"type":18,"value":259},{"type":13,"tag":66,"props":521,"children":522},{"style":114},[523],{"type":18,"value":524},"11",{"type":13,"tag":66,"props":526,"children":527},{"style":84},[528],{"type":18,"value":122},{"type":13,"tag":66,"props":530,"children":532},{"class":68,"line":531},21,[533,538,542,546,551],{"type":13,"tag":66,"props":534,"children":535},{"style":84},[536],{"type":18,"value":537}," VK_ERROR_FRAGMENTED_POOL ",{"type":13,"tag":66,"props":539,"children":540},{"style":73},[541],{"type":18,"value":111},{"type":13,"tag":66,"props":543,"children":544},{"style":73},[545],{"type":18,"value":259},{"type":13,"tag":66,"props":547,"children":548},{"style":114},[549],{"type":18,"value":550},"12",{"type":13,"tag":66,"props":552,"children":553},{"style":84},[554],{"type":18,"value":122},{"type":13,"tag":66,"props":556,"children":558},{"class":68,"line":557},22,[559,564,568,572,577],{"type":13,"tag":66,"props":560,"children":561},{"style":84},[562],{"type":18,"value":563}," VK_ERROR_UNKNOWN ",{"type":13,"tag":66,"props":565,"children":566},{"style":73},[567],{"type":18,"value":111},{"type":13,"tag":66,"props":569,"children":570},{"style":73},[571],{"type":18,"value":259},{"type":13,"tag":66,"props":573,"children":574},{"style":114},[575],{"type":18,"value":576},"13",{"type":13,"tag":66,"props":578,"children":579},{"style":84},[580],{"type":18,"value":122},{"type":13,"tag":66,"props":582,"children":584},{"class":68,"line":583},23,[585],{"type":13,"tag":66,"props":586,"children":587},{"style":84},[588],{"type":18,"value":589}," ,\n",{"type":13,"tag":66,"props":591,"children":593},{"class":68,"line":592},24,[594],{"type":13,"tag":66,"props":595,"children":596},{"style":84},[597],{"type":18,"value":598},"} VkResult;\n",{"type":13,"tag":53,"props":600,"children":605},{"className":601,"code":602,"filename":603,"language":604,"meta":59,"style":59},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct Result(u32);\nimpl Result {\n // Return codes (positive values)\n pub const SUCCESS: Self = 0;\n pub const NOT_READY: Self = 1;\n pub const TIMEOUT: Self = 2;\n pub const EVENT_SET: Self = 3;\n pub const EVENT_RESET: Self = 4;\n pub const INCOMPLETE: Self = 5;\n // Error codes (negative values)\n pub const ERROR_OUT_OF_HOST_MEMORY: Self = -1;\n pub const ERROR_OUT_OF_DEVICE_MEMORY: Self = -2;\n pub const ERROR_INITIALIZATION_FAILED: Self = -3;\n pub const ERROR_DEVICE_LOST: Self = -4;\n pub const ERROR_MEMORY_MAP_FAILED: Self = -5;\n pub const ERROR_LAYER_NOT_PRESENT: Self = -6;\n pub const ERROR_EXTENSION_NOT_PRESENT: Self = -7;\n pub const ERROR_FEATURE_NOT_PRESENT: Self = -8;\n pub const ERROR_INCOMPATIBLE_DRIVER: Self = -9;\n pub const ERROR_TOO_MANY_OBJECTS: Self = -10;\n pub const ERROR_FORMAT_NOT_SUPPORTED: Self = -11;\n pub const ERROR_FRAGMENTED_POOL: Self = -12;\n pub const ERROR_UNKNOWN: Self = -13;\n}\n","Rust","rs",[606],{"type":13,"tag":62,"props":607,"children":608},{"__ignoreMap":59},[609,643,660,668,710,746,782,818,854,890,898,938,978,1018,1058,1098,1138,1178,1218,1258,1298,1338,1378,1418],{"type":13,"tag":66,"props":610,"children":611},{"class":68,"line":69},[612,617,622,628,633,638],{"type":13,"tag":66,"props":613,"children":614},{"style":73},[615],{"type":18,"value":616},"pub",{"type":13,"tag":66,"props":618,"children":619},{"style":73},[620],{"type":18,"value":621}," struct",{"type":13,"tag":66,"props":623,"children":625},{"style":624},"--shiki-default:#953800;--shiki-dark:#FFA657",[626],{"type":18,"value":627}," Result",{"type":13,"tag":66,"props":629,"children":630},{"style":84},[631],{"type":18,"value":632},"(",{"type":13,"tag":66,"props":634,"children":635},{"style":624},[636],{"type":18,"value":637},"u32",{"type":13,"tag":66,"props":639,"children":640},{"style":84},[641],{"type":18,"value":642},");\n",{"type":13,"tag":66,"props":644,"children":645},{"class":68,"line":90},[646,651,655],{"type":13,"tag":66,"props":647,"children":648},{"style":73},[649],{"type":18,"value":650},"impl",{"type":13,"tag":66,"props":652,"children":653},{"style":624},[654],{"type":18,"value":627},{"type":13,"tag":66,"props":656,"children":657},{"style":84},[658],{"type":18,"value":659}," {\n",{"type":13,"tag":66,"props":661,"children":662},{"class":68,"line":100},[663],{"type":13,"tag":66,"props":664,"children":665},{"style":94},[666],{"type":18,"value":667}," // Return codes (positive values)\n",{"type":13,"tag":66,"props":669,"children":670},{"class":68,"line":125},[671,676,681,686,691,696,701,705],{"type":13,"tag":66,"props":672,"children":673},{"style":73},[674],{"type":18,"value":675}," pub",{"type":13,"tag":66,"props":677,"children":678},{"style":73},[679],{"type":18,"value":680}," const",{"type":13,"tag":66,"props":682,"children":683},{"style":114},[684],{"type":18,"value":685}," SUCCESS",{"type":13,"tag":66,"props":687,"children":688},{"style":73},[689],{"type":18,"value":690},":",{"type":13,"tag":66,"props":692,"children":693},{"style":114},[694],{"type":18,"value":695}," Self",{"type":13,"tag":66,"props":697,"children":698},{"style":73},[699],{"type":18,"value":700}," =",{"type":13,"tag":66,"props":702,"children":703},{"style":114},[704],{"type":18,"value":117},{"type":13,"tag":66,"props":706,"children":707},{"style":84},[708],{"type":18,"value":709},";\n",{"type":13,"tag":66,"props":711,"children":712},{"class":68,"line":147},[713,717,721,726,730,734,738,742],{"type":13,"tag":66,"props":714,"children":715},{"style":73},[716],{"type":18,"value":675},{"type":13,"tag":66,"props":718,"children":719},{"style":73},[720],{"type":18,"value":680},{"type":13,"tag":66,"props":722,"children":723},{"style":114},[724],{"type":18,"value":725}," NOT_READY",{"type":13,"tag":66,"props":727,"children":728},{"style":73},[729],{"type":18,"value":690},{"type":13,"tag":66,"props":731,"children":732},{"style":114},[733],{"type":18,"value":695},{"type":13,"tag":66,"props":735,"children":736},{"style":73},[737],{"type":18,"value":700},{"type":13,"tag":66,"props":739,"children":740},{"style":114},[741],{"type":18,"value":140},{"type":13,"tag":66,"props":743,"children":744},{"style":84},[745],{"type":18,"value":709},{"type":13,"tag":66,"props":747,"children":748},{"class":68,"line":169},[749,753,757,762,766,770,774,778],{"type":13,"tag":66,"props":750,"children":751},{"style":73},[752],{"type":18,"value":675},{"type":13,"tag":66,"props":754,"children":755},{"style":73},[756],{"type":18,"value":680},{"type":13,"tag":66,"props":758,"children":759},{"style":114},[760],{"type":18,"value":761}," TIMEOUT",{"type":13,"tag":66,"props":763,"children":764},{"style":73},[765],{"type":18,"value":690},{"type":13,"tag":66,"props":767,"children":768},{"style":114},[769],{"type":18,"value":695},{"type":13,"tag":66,"props":771,"children":772},{"style":73},[773],{"type":18,"value":700},{"type":13,"tag":66,"props":775,"children":776},{"style":114},[777],{"type":18,"value":162},{"type":13,"tag":66,"props":779,"children":780},{"style":84},[781],{"type":18,"value":709},{"type":13,"tag":66,"props":783,"children":784},{"class":68,"line":191},[785,789,793,798,802,806,810,814],{"type":13,"tag":66,"props":786,"children":787},{"style":73},[788],{"type":18,"value":675},{"type":13,"tag":66,"props":790,"children":791},{"style":73},[792],{"type":18,"value":680},{"type":13,"tag":66,"props":794,"children":795},{"style":114},[796],{"type":18,"value":797}," EVENT_SET",{"type":13,"tag":66,"props":799,"children":800},{"style":73},[801],{"type":18,"value":690},{"type":13,"tag":66,"props":803,"children":804},{"style":114},[805],{"type":18,"value":695},{"type":13,"tag":66,"props":807,"children":808},{"style":73},[809],{"type":18,"value":700},{"type":13,"tag":66,"props":811,"children":812},{"style":114},[813],{"type":18,"value":184},{"type":13,"tag":66,"props":815,"children":816},{"style":84},[817],{"type":18,"value":709},{"type":13,"tag":66,"props":819,"children":820},{"class":68,"line":213},[821,825,829,834,838,842,846,850],{"type":13,"tag":66,"props":822,"children":823},{"style":73},[824],{"type":18,"value":675},{"type":13,"tag":66,"props":826,"children":827},{"style":73},[828],{"type":18,"value":680},{"type":13,"tag":66,"props":830,"children":831},{"style":114},[832],{"type":18,"value":833}," EVENT_RESET",{"type":13,"tag":66,"props":835,"children":836},{"style":73},[837],{"type":18,"value":690},{"type":13,"tag":66,"props":839,"children":840},{"style":114},[841],{"type":18,"value":695},{"type":13,"tag":66,"props":843,"children":844},{"style":73},[845],{"type":18,"value":700},{"type":13,"tag":66,"props":847,"children":848},{"style":114},[849],{"type":18,"value":206},{"type":13,"tag":66,"props":851,"children":852},{"style":84},[853],{"type":18,"value":709},{"type":13,"tag":66,"props":855,"children":856},{"class":68,"line":235},[857,861,865,870,874,878,882,886],{"type":13,"tag":66,"props":858,"children":859},{"style":73},[860],{"type":18,"value":675},{"type":13,"tag":66,"props":862,"children":863},{"style":73},[864],{"type":18,"value":680},{"type":13,"tag":66,"props":866,"children":867},{"style":114},[868],{"type":18,"value":869}," INCOMPLETE",{"type":13,"tag":66,"props":871,"children":872},{"style":73},[873],{"type":18,"value":690},{"type":13,"tag":66,"props":875,"children":876},{"style":114},[877],{"type":18,"value":695},{"type":13,"tag":66,"props":879,"children":880},{"style":73},[881],{"type":18,"value":700},{"type":13,"tag":66,"props":883,"children":884},{"style":114},[885],{"type":18,"value":228},{"type":13,"tag":66,"props":887,"children":888},{"style":84},[889],{"type":18,"value":709},{"type":13,"tag":66,"props":891,"children":892},{"class":68,"line":244},[893],{"type":13,"tag":66,"props":894,"children":895},{"style":94},[896],{"type":18,"value":897}," // Error codes (negative values)\n",{"type":13,"tag":66,"props":899,"children":900},{"class":68,"line":271},[901,905,909,914,918,922,926,930,934],{"type":13,"tag":66,"props":902,"children":903},{"style":73},[904],{"type":18,"value":675},{"type":13,"tag":66,"props":906,"children":907},{"style":73},[908],{"type":18,"value":680},{"type":13,"tag":66,"props":910,"children":911},{"style":114},[912],{"type":18,"value":913}," ERROR_OUT_OF_HOST_MEMORY",{"type":13,"tag":66,"props":915,"children":916},{"style":73},[917],{"type":18,"value":690},{"type":13,"tag":66,"props":919,"children":920},{"style":114},[921],{"type":18,"value":695},{"type":13,"tag":66,"props":923,"children":924},{"style":73},[925],{"type":18,"value":700},{"type":13,"tag":66,"props":927,"children":928},{"style":73},[929],{"type":18,"value":259},{"type":13,"tag":66,"props":931,"children":932},{"style":114},[933],{"type":18,"value":264},{"type":13,"tag":66,"props":935,"children":936},{"style":84},[937],{"type":18,"value":709},{"type":13,"tag":66,"props":939,"children":940},{"class":68,"line":297},[941,945,949,954,958,962,966,970,974],{"type":13,"tag":66,"props":942,"children":943},{"style":73},[944],{"type":18,"value":675},{"type":13,"tag":66,"props":946,"children":947},{"style":73},[948],{"type":18,"value":680},{"type":13,"tag":66,"props":950,"children":951},{"style":114},[952],{"type":18,"value":953}," ERROR_OUT_OF_DEVICE_MEMORY",{"type":13,"tag":66,"props":955,"children":956},{"style":73},[957],{"type":18,"value":690},{"type":13,"tag":66,"props":959,"children":960},{"style":114},[961],{"type":18,"value":695},{"type":13,"tag":66,"props":963,"children":964},{"style":73},[965],{"type":18,"value":700},{"type":13,"tag":66,"props":967,"children":968},{"style":73},[969],{"type":18,"value":259},{"type":13,"tag":66,"props":971,"children":972},{"style":114},[973],{"type":18,"value":290},{"type":13,"tag":66,"props":975,"children":976},{"style":84},[977],{"type":18,"value":709},{"type":13,"tag":66,"props":979,"children":980},{"class":68,"line":323},[981,985,989,994,998,1002,1006,1010,1014],{"type":13,"tag":66,"props":982,"children":983},{"style":73},[984],{"type":18,"value":675},{"type":13,"tag":66,"props":986,"children":987},{"style":73},[988],{"type":18,"value":680},{"type":13,"tag":66,"props":990,"children":991},{"style":114},[992],{"type":18,"value":993}," ERROR_INITIALIZATION_FAILED",{"type":13,"tag":66,"props":995,"children":996},{"style":73},[997],{"type":18,"value":690},{"type":13,"tag":66,"props":999,"children":1000},{"style":114},[1001],{"type":18,"value":695},{"type":13,"tag":66,"props":1003,"children":1004},{"style":73},[1005],{"type":18,"value":700},{"type":13,"tag":66,"props":1007,"children":1008},{"style":73},[1009],{"type":18,"value":259},{"type":13,"tag":66,"props":1011,"children":1012},{"style":114},[1013],{"type":18,"value":316},{"type":13,"tag":66,"props":1015,"children":1016},{"style":84},[1017],{"type":18,"value":709},{"type":13,"tag":66,"props":1019,"children":1020},{"class":68,"line":349},[1021,1025,1029,1034,1038,1042,1046,1050,1054],{"type":13,"tag":66,"props":1022,"children":1023},{"style":73},[1024],{"type":18,"value":675},{"type":13,"tag":66,"props":1026,"children":1027},{"style":73},[1028],{"type":18,"value":680},{"type":13,"tag":66,"props":1030,"children":1031},{"style":114},[1032],{"type":18,"value":1033}," ERROR_DEVICE_LOST",{"type":13,"tag":66,"props":1035,"children":1036},{"style":73},[1037],{"type":18,"value":690},{"type":13,"tag":66,"props":1039,"children":1040},{"style":114},[1041],{"type":18,"value":695},{"type":13,"tag":66,"props":1043,"children":1044},{"style":73},[1045],{"type":18,"value":700},{"type":13,"tag":66,"props":1047,"children":1048},{"style":73},[1049],{"type":18,"value":259},{"type":13,"tag":66,"props":1051,"children":1052},{"style":114},[1053],{"type":18,"value":342},{"type":13,"tag":66,"props":1055,"children":1056},{"style":84},[1057],{"type":18,"value":709},{"type":13,"tag":66,"props":1059,"children":1060},{"class":68,"line":375},[1061,1065,1069,1074,1078,1082,1086,1090,1094],{"type":13,"tag":66,"props":1062,"children":1063},{"style":73},[1064],{"type":18,"value":675},{"type":13,"tag":66,"props":1066,"children":1067},{"style":73},[1068],{"type":18,"value":680},{"type":13,"tag":66,"props":1070,"children":1071},{"style":114},[1072],{"type":18,"value":1073}," ERROR_MEMORY_MAP_FAILED",{"type":13,"tag":66,"props":1075,"children":1076},{"style":73},[1077],{"type":18,"value":690},{"type":13,"tag":66,"props":1079,"children":1080},{"style":114},[1081],{"type":18,"value":695},{"type":13,"tag":66,"props":1083,"children":1084},{"style":73},[1085],{"type":18,"value":700},{"type":13,"tag":66,"props":1087,"children":1088},{"style":73},[1089],{"type":18,"value":259},{"type":13,"tag":66,"props":1091,"children":1092},{"style":114},[1093],{"type":18,"value":368},{"type":13,"tag":66,"props":1095,"children":1096},{"style":84},[1097],{"type":18,"value":709},{"type":13,"tag":66,"props":1099,"children":1100},{"class":68,"line":401},[1101,1105,1109,1114,1118,1122,1126,1130,1134],{"type":13,"tag":66,"props":1102,"children":1103},{"style":73},[1104],{"type":18,"value":675},{"type":13,"tag":66,"props":1106,"children":1107},{"style":73},[1108],{"type":18,"value":680},{"type":13,"tag":66,"props":1110,"children":1111},{"style":114},[1112],{"type":18,"value":1113}," ERROR_LAYER_NOT_PRESENT",{"type":13,"tag":66,"props":1115,"children":1116},{"style":73},[1117],{"type":18,"value":690},{"type":13,"tag":66,"props":1119,"children":1120},{"style":114},[1121],{"type":18,"value":695},{"type":13,"tag":66,"props":1123,"children":1124},{"style":73},[1125],{"type":18,"value":700},{"type":13,"tag":66,"props":1127,"children":1128},{"style":73},[1129],{"type":18,"value":259},{"type":13,"tag":66,"props":1131,"children":1132},{"style":114},[1133],{"type":18,"value":394},{"type":13,"tag":66,"props":1135,"children":1136},{"style":84},[1137],{"type":18,"value":709},{"type":13,"tag":66,"props":1139,"children":1140},{"class":68,"line":427},[1141,1145,1149,1154,1158,1162,1166,1170,1174],{"type":13,"tag":66,"props":1142,"children":1143},{"style":73},[1144],{"type":18,"value":675},{"type":13,"tag":66,"props":1146,"children":1147},{"style":73},[1148],{"type":18,"value":680},{"type":13,"tag":66,"props":1150,"children":1151},{"style":114},[1152],{"type":18,"value":1153}," ERROR_EXTENSION_NOT_PRESENT",{"type":13,"tag":66,"props":1155,"children":1156},{"style":73},[1157],{"type":18,"value":690},{"type":13,"tag":66,"props":1159,"children":1160},{"style":114},[1161],{"type":18,"value":695},{"type":13,"tag":66,"props":1163,"children":1164},{"style":73},[1165],{"type":18,"value":700},{"type":13,"tag":66,"props":1167,"children":1168},{"style":73},[1169],{"type":18,"value":259},{"type":13,"tag":66,"props":1171,"children":1172},{"style":114},[1173],{"type":18,"value":420},{"type":13,"tag":66,"props":1175,"children":1176},{"style":84},[1177],{"type":18,"value":709},{"type":13,"tag":66,"props":1179,"children":1180},{"class":68,"line":453},[1181,1185,1189,1194,1198,1202,1206,1210,1214],{"type":13,"tag":66,"props":1182,"children":1183},{"style":73},[1184],{"type":18,"value":675},{"type":13,"tag":66,"props":1186,"children":1187},{"style":73},[1188],{"type":18,"value":680},{"type":13,"tag":66,"props":1190,"children":1191},{"style":114},[1192],{"type":18,"value":1193}," ERROR_FEATURE_NOT_PRESENT",{"type":13,"tag":66,"props":1195,"children":1196},{"style":73},[1197],{"type":18,"value":690},{"type":13,"tag":66,"props":1199,"children":1200},{"style":114},[1201],{"type":18,"value":695},{"type":13,"tag":66,"props":1203,"children":1204},{"style":73},[1205],{"type":18,"value":700},{"type":13,"tag":66,"props":1207,"children":1208},{"style":73},[1209],{"type":18,"value":259},{"type":13,"tag":66,"props":1211,"children":1212},{"style":114},[1213],{"type":18,"value":446},{"type":13,"tag":66,"props":1215,"children":1216},{"style":84},[1217],{"type":18,"value":709},{"type":13,"tag":66,"props":1219,"children":1220},{"class":68,"line":479},[1221,1225,1229,1234,1238,1242,1246,1250,1254],{"type":13,"tag":66,"props":1222,"children":1223},{"style":73},[1224],{"type":18,"value":675},{"type":13,"tag":66,"props":1226,"children":1227},{"style":73},[1228],{"type":18,"value":680},{"type":13,"tag":66,"props":1230,"children":1231},{"style":114},[1232],{"type":18,"value":1233}," ERROR_INCOMPATIBLE_DRIVER",{"type":13,"tag":66,"props":1235,"children":1236},{"style":73},[1237],{"type":18,"value":690},{"type":13,"tag":66,"props":1239,"children":1240},{"style":114},[1241],{"type":18,"value":695},{"type":13,"tag":66,"props":1243,"children":1244},{"style":73},[1245],{"type":18,"value":700},{"type":13,"tag":66,"props":1247,"children":1248},{"style":73},[1249],{"type":18,"value":259},{"type":13,"tag":66,"props":1251,"children":1252},{"style":114},[1253],{"type":18,"value":472},{"type":13,"tag":66,"props":1255,"children":1256},{"style":84},[1257],{"type":18,"value":709},{"type":13,"tag":66,"props":1259,"children":1260},{"class":68,"line":505},[1261,1265,1269,1274,1278,1282,1286,1290,1294],{"type":13,"tag":66,"props":1262,"children":1263},{"style":73},[1264],{"type":18,"value":675},{"type":13,"tag":66,"props":1266,"children":1267},{"style":73},[1268],{"type":18,"value":680},{"type":13,"tag":66,"props":1270,"children":1271},{"style":114},[1272],{"type":18,"value":1273}," ERROR_TOO_MANY_OBJECTS",{"type":13,"tag":66,"props":1275,"children":1276},{"style":73},[1277],{"type":18,"value":690},{"type":13,"tag":66,"props":1279,"children":1280},{"style":114},[1281],{"type":18,"value":695},{"type":13,"tag":66,"props":1283,"children":1284},{"style":73},[1285],{"type":18,"value":700},{"type":13,"tag":66,"props":1287,"children":1288},{"style":73},[1289],{"type":18,"value":259},{"type":13,"tag":66,"props":1291,"children":1292},{"style":114},[1293],{"type":18,"value":498},{"type":13,"tag":66,"props":1295,"children":1296},{"style":84},[1297],{"type":18,"value":709},{"type":13,"tag":66,"props":1299,"children":1300},{"class":68,"line":531},[1301,1305,1309,1314,1318,1322,1326,1330,1334],{"type":13,"tag":66,"props":1302,"children":1303},{"style":73},[1304],{"type":18,"value":675},{"type":13,"tag":66,"props":1306,"children":1307},{"style":73},[1308],{"type":18,"value":680},{"type":13,"tag":66,"props":1310,"children":1311},{"style":114},[1312],{"type":18,"value":1313}," ERROR_FORMAT_NOT_SUPPORTED",{"type":13,"tag":66,"props":1315,"children":1316},{"style":73},[1317],{"type":18,"value":690},{"type":13,"tag":66,"props":1319,"children":1320},{"style":114},[1321],{"type":18,"value":695},{"type":13,"tag":66,"props":1323,"children":1324},{"style":73},[1325],{"type":18,"value":700},{"type":13,"tag":66,"props":1327,"children":1328},{"style":73},[1329],{"type":18,"value":259},{"type":13,"tag":66,"props":1331,"children":1332},{"style":114},[1333],{"type":18,"value":524},{"type":13,"tag":66,"props":1335,"children":1336},{"style":84},[1337],{"type":18,"value":709},{"type":13,"tag":66,"props":1339,"children":1340},{"class":68,"line":557},[1341,1345,1349,1354,1358,1362,1366,1370,1374],{"type":13,"tag":66,"props":1342,"children":1343},{"style":73},[1344],{"type":18,"value":675},{"type":13,"tag":66,"props":1346,"children":1347},{"style":73},[1348],{"type":18,"value":680},{"type":13,"tag":66,"props":1350,"children":1351},{"style":114},[1352],{"type":18,"value":1353}," ERROR_FRAGMENTED_POOL",{"type":13,"tag":66,"props":1355,"children":1356},{"style":73},[1357],{"type":18,"value":690},{"type":13,"tag":66,"props":1359,"children":1360},{"style":114},[1361],{"type":18,"value":695},{"type":13,"tag":66,"props":1363,"children":1364},{"style":73},[1365],{"type":18,"value":700},{"type":13,"tag":66,"props":1367,"children":1368},{"style":73},[1369],{"type":18,"value":259},{"type":13,"tag":66,"props":1371,"children":1372},{"style":114},[1373],{"type":18,"value":550},{"type":13,"tag":66,"props":1375,"children":1376},{"style":84},[1377],{"type":18,"value":709},{"type":13,"tag":66,"props":1379,"children":1380},{"class":68,"line":583},[1381,1385,1389,1394,1398,1402,1406,1410,1414],{"type":13,"tag":66,"props":1382,"children":1383},{"style":73},[1384],{"type":18,"value":675},{"type":13,"tag":66,"props":1386,"children":1387},{"style":73},[1388],{"type":18,"value":680},{"type":13,"tag":66,"props":1390,"children":1391},{"style":114},[1392],{"type":18,"value":1393}," ERROR_UNKNOWN",{"type":13,"tag":66,"props":1395,"children":1396},{"style":73},[1397],{"type":18,"value":690},{"type":13,"tag":66,"props":1399,"children":1400},{"style":114},[1401],{"type":18,"value":695},{"type":13,"tag":66,"props":1403,"children":1404},{"style":73},[1405],{"type":18,"value":700},{"type":13,"tag":66,"props":1407,"children":1408},{"style":73},[1409],{"type":18,"value":259},{"type":13,"tag":66,"props":1411,"children":1412},{"style":114},[1413],{"type":18,"value":576},{"type":13,"tag":66,"props":1415,"children":1416},{"style":84},[1417],{"type":18,"value":709},{"type":13,"tag":66,"props":1419,"children":1420},{"class":68,"line":592},[1421],{"type":13,"tag":66,"props":1422,"children":1423},{"style":84},[1424],{"type":18,"value":1425},"}\n",{"type":13,"tag":21,"props":1427,"children":1428},{},[1429,1440,1451,1462,1473,1484,1495,1513,1524,1535,1546,1557,1568,1579,1615,1626,1637,1648,1665,1676,1687,1698,1709,1720,1731,1742,1773,1784,1795,1811,1822,1841,1868,1879,1890,1901,1912,1937,1948,1964,1983,1994,2021,2038,2055,2066,2077,2096,2107],{"type":13,"tag":25,"props":1430,"children":1431},{},[1432,1438],{"type":13,"tag":62,"props":1433,"children":1435},{"className":1434},[],[1436],{"type":18,"value":1437},"VK_SUCCESS",{"type":18,"value":1439}," Command successfully completed",{"type":13,"tag":25,"props":1441,"children":1442},{},[1443,1449],{"type":13,"tag":62,"props":1444,"children":1446},{"className":1445},[],[1447],{"type":18,"value":1448},"VK_NOT_READY",{"type":18,"value":1450}," A fence or query has not yet completed",{"type":13,"tag":25,"props":1452,"children":1453},{},[1454,1460],{"type":13,"tag":62,"props":1455,"children":1457},{"className":1456},[],[1458],{"type":18,"value":1459},"VK_TIMEOUT",{"type":18,"value":1461}," A wait operation has not completed in the specified\ntime",{"type":13,"tag":25,"props":1463,"children":1464},{},[1465,1471],{"type":13,"tag":62,"props":1466,"children":1468},{"className":1467},[],[1469],{"type":18,"value":1470},"VK_EVENT_SET",{"type":18,"value":1472}," An event is signaled",{"type":13,"tag":25,"props":1474,"children":1475},{},[1476,1482],{"type":13,"tag":62,"props":1477,"children":1479},{"className":1478},[],[1480],{"type":18,"value":1481},"VK_EVENT_RESET",{"type":18,"value":1483}," An event is unsignaled",{"type":13,"tag":25,"props":1485,"children":1486},{},[1487,1493],{"type":13,"tag":62,"props":1488,"children":1490},{"className":1489},[],[1491],{"type":18,"value":1492},"VK_INCOMPLETE",{"type":18,"value":1494}," A return array was too small for the result",{"type":13,"tag":25,"props":1496,"children":1497},{},[1498,1504,1506,1511],{"type":13,"tag":62,"props":1499,"children":1501},{"className":1500},[],[1502],{"type":18,"value":1503},"VK_SUBOPTIMAL_KHR",{"type":18,"value":1505}," A swapchain no longer matches the surface\nproperties exactly, but ",{"type":13,"tag":1507,"props":1508,"children":1510},"normative",{"type":1509},"can",[],{"type":18,"value":1512}," still be used to present to the surface\nsuccessfully.",{"type":13,"tag":25,"props":1514,"children":1515},{},[1516,1522],{"type":13,"tag":62,"props":1517,"children":1519},{"className":1518},[],[1520],{"type":18,"value":1521},"VK_THREAD_IDLE_KHR",{"type":18,"value":1523}," A deferred operation is not complete but there\nis currently no work for this thread to do at the time of this call.",{"type":13,"tag":25,"props":1525,"children":1526},{},[1527,1533],{"type":13,"tag":62,"props":1528,"children":1530},{"className":1529},[],[1531],{"type":18,"value":1532},"VK_THREAD_DONE_KHR",{"type":18,"value":1534}," A deferred operation is not complete but there\nis no work remaining to assign to additional threads.",{"type":13,"tag":25,"props":1536,"children":1537},{},[1538,1544],{"type":13,"tag":62,"props":1539,"children":1541},{"className":1540},[],[1542],{"type":18,"value":1543},"VK_OPERATION_DEFERRED_KHR",{"type":18,"value":1545}," A deferred operation was requested and\nat least some of the work was deferred.",{"type":13,"tag":25,"props":1547,"children":1548},{},[1549,1555],{"type":13,"tag":62,"props":1550,"children":1552},{"className":1551},[],[1553],{"type":18,"value":1554},"VK_OPERATION_NOT_DEFERRED_KHR",{"type":18,"value":1556}," A deferred operation was requested\nand no operations were deferred.",{"type":13,"tag":25,"props":1558,"children":1559},{},[1560,1566],{"type":13,"tag":62,"props":1561,"children":1563},{"className":1562},[],[1564],{"type":18,"value":1565},"VK_PIPELINE_COMPILE_REQUIRED",{"type":18,"value":1567}," A requested pipeline creation would\nhave required compilation, but the application requested compilation to\nnot be performed.",{"type":13,"tag":25,"props":1569,"children":1570},{},[1571,1577],{"type":13,"tag":62,"props":1572,"children":1574},{"className":1573},[],[1575],{"type":18,"value":1576},"VK_PIPELINE_BINARY_MISSING_KHR",{"type":18,"value":1578}," The application attempted to create\na pipeline binary by querying an internal cache, but the internal cache\nentry did not exist.",{"type":13,"tag":25,"props":1580,"children":1581},{},[1582,1588,1590],{"type":13,"tag":62,"props":1583,"children":1585},{"className":1584},[],[1586],{"type":18,"value":1587},"VK_INCOMPATIBLE_SHADER_BINARY_EXT",{"type":18,"value":1589}," The provided binary shader code\nis not compatible with this device.",{"type":13,"tag":1591,"props":1592,"children":1593},"note",{},[1594],{"type":13,"tag":14,"props":1595,"children":1596},{},[1597,1599,1605,1607,1613],{"type":18,"value":1598},"In the initial version of the ",{"type":13,"tag":41,"props":1600,"children":1602},{"href":1601},"/extensions/VK_EXT_shader_object",[1603],{"type":18,"value":1604},"VK_EXT_shader_object",{"type":18,"value":1606}," extension, this\nreturn code was named ",{"type":13,"tag":62,"props":1608,"children":1610},{"className":1609},[],[1611],{"type":18,"value":1612},"VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT",{"type":18,"value":1614}," and\nimproperly described as an error code.\nThe name has been changed, but the old name is retained as an alias for\ncompatibility with old code.",{"type":13,"tag":25,"props":1616,"children":1617},{},[1618,1624],{"type":13,"tag":62,"props":1619,"children":1621},{"className":1620},[],[1622],{"type":18,"value":1623},"VK_ERROR_OUT_OF_HOST_MEMORY",{"type":18,"value":1625}," A host memory allocation has failed.",{"type":13,"tag":25,"props":1627,"children":1628},{},[1629,1635],{"type":13,"tag":62,"props":1630,"children":1632},{"className":1631},[],[1633],{"type":18,"value":1634},"VK_ERROR_OUT_OF_DEVICE_MEMORY",{"type":18,"value":1636}," A device memory allocation has\nfailed.",{"type":13,"tag":25,"props":1638,"children":1639},{},[1640,1646],{"type":13,"tag":62,"props":1641,"children":1643},{"className":1642},[],[1644],{"type":18,"value":1645},"VK_ERROR_INITIALIZATION_FAILED",{"type":18,"value":1647}," Initialization of an object could\nnot be completed for implementation-specific reasons.",{"type":13,"tag":25,"props":1649,"children":1650},{},[1651,1657,1659],{"type":13,"tag":62,"props":1652,"children":1654},{"className":1653},[],[1655],{"type":18,"value":1656},"VK_ERROR_DEVICE_LOST",{"type":18,"value":1658}," The logical or physical device has been lost.\nSee ",{"type":13,"tag":41,"props":1660,"children":1662},{"href":1661},"/chapters/devsandqueues#devsandqueues-lost-device",[1663],{"type":18,"value":1664},"Lost Device",{"type":13,"tag":25,"props":1666,"children":1667},{},[1668,1674],{"type":13,"tag":62,"props":1669,"children":1671},{"className":1670},[],[1672],{"type":18,"value":1673},"VK_ERROR_MEMORY_MAP_FAILED",{"type":18,"value":1675}," Mapping of a memory object has failed.",{"type":13,"tag":25,"props":1677,"children":1678},{},[1679,1685],{"type":13,"tag":62,"props":1680,"children":1682},{"className":1681},[],[1683],{"type":18,"value":1684},"VK_ERROR_LAYER_NOT_PRESENT",{"type":18,"value":1686}," A requested layer is not present or\ncould not be loaded.",{"type":13,"tag":25,"props":1688,"children":1689},{},[1690,1696],{"type":13,"tag":62,"props":1691,"children":1693},{"className":1692},[],[1694],{"type":18,"value":1695},"VK_ERROR_EXTENSION_NOT_PRESENT",{"type":18,"value":1697}," A requested extension is not\nsupported.",{"type":13,"tag":25,"props":1699,"children":1700},{},[1701,1707],{"type":13,"tag":62,"props":1702,"children":1704},{"className":1703},[],[1705],{"type":18,"value":1706},"VK_ERROR_FEATURE_NOT_PRESENT",{"type":18,"value":1708}," A requested feature is not supported.",{"type":13,"tag":25,"props":1710,"children":1711},{},[1712,1718],{"type":13,"tag":62,"props":1713,"children":1715},{"className":1714},[],[1716],{"type":18,"value":1717},"VK_ERROR_INCOMPATIBLE_DRIVER",{"type":18,"value":1719}," The requested version of Vulkan is\nnot supported by the driver or is otherwise incompatible for\nimplementation-specific reasons.",{"type":13,"tag":25,"props":1721,"children":1722},{},[1723,1729],{"type":13,"tag":62,"props":1724,"children":1726},{"className":1725},[],[1727],{"type":18,"value":1728},"VK_ERROR_TOO_MANY_OBJECTS",{"type":18,"value":1730}," Too many objects of the type have\nalready been created.",{"type":13,"tag":25,"props":1732,"children":1733},{},[1734,1740],{"type":13,"tag":62,"props":1735,"children":1737},{"className":1736},[],[1738],{"type":18,"value":1739},"VK_ERROR_FORMAT_NOT_SUPPORTED",{"type":18,"value":1741}," A requested format is not supported\non this device.",{"type":13,"tag":25,"props":1743,"children":1744},{},[1745,1751,1753,1757,1759,1763,1765,1771],{"type":13,"tag":62,"props":1746,"children":1748},{"className":1747},[],[1749],{"type":18,"value":1750},"VK_ERROR_FRAGMENTED_POOL",{"type":18,"value":1752}," A pool allocation has failed due to\nfragmentation of the pool’s memory.\nThis ",{"type":13,"tag":1507,"props":1754,"children":1756},{"type":1755},"must",[],{"type":18,"value":1758}," only be returned if no attempt to allocate host or device\nmemory was made to accommodate the new allocation.\nThis ",{"type":13,"tag":1507,"props":1760,"children":1762},{"type":1761},"should",[],{"type":18,"value":1764}," be returned in preference to\n",{"type":13,"tag":62,"props":1766,"children":1768},{"className":1767},[],[1769],{"type":18,"value":1770},"VK_ERROR_OUT_OF_POOL_MEMORY",{"type":18,"value":1772},", but only if the implementation is\ncertain that the pool allocation failure was due to fragmentation.",{"type":13,"tag":25,"props":1774,"children":1775},{},[1776,1782],{"type":13,"tag":62,"props":1777,"children":1779},{"className":1778},[],[1780],{"type":18,"value":1781},"VK_ERROR_SURFACE_LOST_KHR",{"type":18,"value":1783}," A surface is no longer available.",{"type":13,"tag":25,"props":1785,"children":1786},{},[1787,1793],{"type":13,"tag":62,"props":1788,"children":1790},{"className":1789},[],[1791],{"type":18,"value":1792},"VK_ERROR_NATIVE_WINDOW_IN_USE_KHR",{"type":18,"value":1794}," The requested window is already\nin use by Vulkan or another API in a manner which prevents it from being\nused again.",{"type":13,"tag":25,"props":1796,"children":1797},{},[1798,1804,1806,1809],{"type":13,"tag":62,"props":1799,"children":1801},{"className":1800},[],[1802],{"type":18,"value":1803},"VK_ERROR_OUT_OF_DATE_KHR",{"type":18,"value":1805}," A surface has changed in such a way that\nit is no longer compatible with the swapchain, and further presentation\nrequests using the swapchain will fail.\nApplications ",{"type":13,"tag":1507,"props":1807,"children":1808},{"type":1755},[],{"type":18,"value":1810}," query the new surface properties and recreate their\nswapchain if they wish to continue presenting to the surface.",{"type":13,"tag":25,"props":1812,"children":1813},{},[1814,1820],{"type":13,"tag":62,"props":1815,"children":1817},{"className":1816},[],[1818],{"type":18,"value":1819},"VK_ERROR_INCOMPATIBLE_DISPLAY_KHR",{"type":18,"value":1821}," The display used by a swapchain\ndoes not use the same presentable image layout, or is incompatible in a\nway that prevents sharing an image.",{"type":13,"tag":25,"props":1823,"children":1824},{},[1825,1831,1833,1839],{"type":13,"tag":62,"props":1826,"children":1828},{"className":1827},[],[1829],{"type":18,"value":1830},"VK_ERROR_INVALID_SHADER_NV",{"type":18,"value":1832}," One or more shaders failed to compile\nor link.\nMore details are reported back to the application via\n",{"type":13,"tag":41,"props":1834,"children":1836},{"href":1835},"/extensions/VK_EXT_debug_report",[1837],{"type":18,"value":1838},"VK_EXT_debug_report",{"type":18,"value":1840}," if enabled.",{"type":13,"tag":25,"props":1842,"children":1843},{},[1844,1849,1851,1854,1856,1861,1863,1866],{"type":13,"tag":62,"props":1845,"children":1847},{"className":1846},[],[1848],{"type":18,"value":1770},{"type":18,"value":1850}," A pool memory allocation has failed.\nThis ",{"type":13,"tag":1507,"props":1852,"children":1853},{"type":1755},[],{"type":18,"value":1855}," only be returned if no attempt to allocate host or device\nmemory was made to accommodate the new allocation.\nIf the failure was definitely due to fragmentation of the pool,\n",{"type":13,"tag":62,"props":1857,"children":1859},{"className":1858},[],[1860],{"type":18,"value":1750},{"type":18,"value":1862}," ",{"type":13,"tag":1507,"props":1864,"children":1865},{"type":1761},[],{"type":18,"value":1867}," be returned instead.",{"type":13,"tag":25,"props":1869,"children":1870},{},[1871,1877],{"type":13,"tag":62,"props":1872,"children":1874},{"className":1873},[],[1875],{"type":18,"value":1876},"VK_ERROR_INVALID_EXTERNAL_HANDLE",{"type":18,"value":1878}," An external handle is not a valid\nhandle of the specified type.",{"type":13,"tag":25,"props":1880,"children":1881},{},[1882,1888],{"type":13,"tag":62,"props":1883,"children":1885},{"className":1884},[],[1886],{"type":18,"value":1887},"VK_ERROR_FRAGMENTATION",{"type":18,"value":1889}," A descriptor pool creation has failed due\nto fragmentation.",{"type":13,"tag":25,"props":1891,"children":1892},{},[1893,1899],{"type":13,"tag":62,"props":1894,"children":1896},{"className":1895},[],[1897],{"type":18,"value":1898},"VK_ERROR_INVALID_DEVICE_ADDRESS_EXT",{"type":18,"value":1900}," A buffer creation failed\nbecause the requested address is not available.",{"type":13,"tag":25,"props":1902,"children":1903},{},[1904,1910],{"type":13,"tag":62,"props":1905,"children":1907},{"className":1906},[],[1908],{"type":18,"value":1909},"VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS",{"type":18,"value":1911}," A buffer creation\nor memory allocation\nfailed because the requested address is not available.\nA shader group handle assignment failed because the requested shader\ngroup handle information is no longer valid.",{"type":13,"tag":25,"props":1913,"children":1914},{},[1915,1921,1923,1929,1931,1935],{"type":13,"tag":62,"props":1916,"children":1918},{"className":1917},[],[1919],{"type":18,"value":1920},"VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT",{"type":18,"value":1922}," An operation on a\nswapchain created with\n",{"type":13,"tag":62,"props":1924,"children":1926},{"className":1925},[],[1927],{"type":18,"value":1928},"VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT",{"type":18,"value":1930}," failed as it\ndid not have exclusive full-screen access.\nThis ",{"type":13,"tag":1507,"props":1932,"children":1934},{"type":1933},"may",[],{"type":18,"value":1936}," occur due to implementation-dependent reasons, outside of the\napplication’s control.",{"type":13,"tag":25,"props":1938,"children":1939},{},[1940,1946],{"type":13,"tag":62,"props":1941,"children":1943},{"className":1942},[],[1944],{"type":18,"value":1945},"VK_ERROR_VALIDATION_FAILED_EXT",{"type":18,"value":1947},"\nA command failed because invalid usage was detected by the\nimplementation or a validation-layer.",{"type":13,"tag":25,"props":1949,"children":1950},{},[1951,1957,1959,1962],{"type":13,"tag":62,"props":1952,"children":1954},{"className":1953},[],[1955],{"type":18,"value":1956},"VK_ERROR_COMPRESSION_EXHAUSTED_EXT",{"type":18,"value":1958}," An image creation failed\nbecause internal resources required for compression are exhausted.\nThis ",{"type":13,"tag":1507,"props":1960,"children":1961},{"type":1755},[],{"type":18,"value":1963}," only be returned when fixed-rate compression is requested.",{"type":13,"tag":25,"props":1965,"children":1966},{},[1967,1973,1975,1981],{"type":13,"tag":62,"props":1968,"children":1970},{"className":1969},[],[1971],{"type":18,"value":1972},"VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR",{"type":18,"value":1974}," The requested\n",{"type":13,"tag":41,"props":1976,"children":1978},{"href":1977},"/man/VkImageUsageFlags",[1979],{"type":18,"value":1980},"VkImageUsageFlags",{"type":18,"value":1982}," are not supported.",{"type":13,"tag":25,"props":1984,"children":1985},{},[1986,1992],{"type":13,"tag":62,"props":1987,"children":1989},{"className":1988},[],[1990],{"type":18,"value":1991},"VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR",{"type":18,"value":1993}," The requested\nvideo picture layout is not supported.",{"type":13,"tag":25,"props":1995,"children":1996},{},[1997,2003,2005,2011,2013,2019],{"type":13,"tag":62,"props":1998,"children":2000},{"className":1999},[],[2001],{"type":18,"value":2002},"VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR",{"type":18,"value":2004}," A video profile\noperation specified via\n",{"type":13,"tag":41,"props":2006,"children":2008},{"href":2007},"/man/VkVideoProfileInfoKHR",[2009],{"type":18,"value":2010},"VkVideoProfileInfoKHR",{"type":18,"value":2012},"::",{"type":13,"tag":62,"props":2014,"children":2016},{"className":2015},[],[2017],{"type":18,"value":2018},"videoCodecOperation",{"type":18,"value":2020}," is not supported.",{"type":13,"tag":25,"props":2022,"children":2023},{},[2024,2030,2032,2036],{"type":13,"tag":62,"props":2025,"children":2027},{"className":2026},[],[2028],{"type":18,"value":2029},"VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR",{"type":18,"value":2031}," Format parameters\nin a requested ",{"type":13,"tag":41,"props":2033,"children":2034},{"href":2007},[2035],{"type":18,"value":2010},{"type":18,"value":2037}," chain are not supported.",{"type":13,"tag":25,"props":2039,"children":2040},{},[2041,2047,2049,2053],{"type":13,"tag":62,"props":2042,"children":2044},{"className":2043},[],[2045],{"type":18,"value":2046},"VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR",{"type":18,"value":2048}," Codec-specific\nparameters in a requested ",{"type":13,"tag":41,"props":2050,"children":2051},{"href":2007},[2052],{"type":18,"value":2010},{"type":18,"value":2054}," chain are not\nsupported.",{"type":13,"tag":25,"props":2056,"children":2057},{},[2058,2064],{"type":13,"tag":62,"props":2059,"children":2061},{"className":2060},[],[2062],{"type":18,"value":2063},"VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR",{"type":18,"value":2065}," The specified video\nStd header version is not supported.",{"type":13,"tag":25,"props":2067,"children":2068},{},[2069,2075],{"type":13,"tag":62,"props":2070,"children":2072},{"className":2071},[],[2073],{"type":18,"value":2074},"VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR",{"type":18,"value":2076}," The specified Video Std\nparameters do not adhere to the syntactic or semantic requirements of\nthe used video compression standard, or values derived from parameters\naccording to the rules defined by the used video compression standard do\nnot adhere to the capabilities of the video compression standard or the\nimplementation.",{"type":13,"tag":25,"props":2078,"children":2079},{},[2080,2086,2088,2094],{"type":13,"tag":62,"props":2081,"children":2083},{"className":2082},[],[2084],{"type":18,"value":2085},"VK_ERROR_NOT_PERMITTED_KHR",{"type":18,"value":2087}," The driver implementation has denied a\nrequest to acquire a priority above the default priority\n(",{"type":13,"tag":62,"props":2089,"children":2091},{"className":2090},[],[2092],{"type":18,"value":2093},"VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT",{"type":18,"value":2095},") because the application does\nnot have sufficient privileges.",{"type":13,"tag":25,"props":2097,"children":2098},{},[2099,2105],{"type":13,"tag":62,"props":2100,"children":2102},{"className":2101},[],[2103],{"type":18,"value":2104},"VK_ERROR_NOT_ENOUGH_SPACE_KHR",{"type":18,"value":2106}," The application did not provide\nenough space to return all the required data.",{"type":13,"tag":25,"props":2108,"children":2109},{},[2110,2116],{"type":13,"tag":62,"props":2111,"children":2113},{"className":2112},[],[2114],{"type":18,"value":2115},"VK_ERROR_UNKNOWN",{"type":18,"value":2117}," An unknown error has occurred; either the\napplication has provided invalid input, or an implementation failure has\noccurred.",{"type":13,"tag":14,"props":2119,"children":2120},{},[2121,2123,2129,2131,2137,2139,2144,2146,2151,2152,2157],{"type":18,"value":2122},"If a command returns a runtime error, unless otherwise specified any output\nparameters will have undefined: contents, except that if the output\nparameter is a structure with ",{"type":13,"tag":62,"props":2124,"children":2126},{"className":2125},[],[2127],{"type":18,"value":2128},"sType",{"type":18,"value":2130}," and ",{"type":13,"tag":62,"props":2132,"children":2134},{"className":2133},[],[2135],{"type":18,"value":2136},"pNext",{"type":18,"value":2138}," fields, those\nfields will be unmodified.\nAny structures chained from ",{"type":13,"tag":62,"props":2140,"children":2142},{"className":2141},[],[2143],{"type":18,"value":2136},{"type":18,"value":2145}," will also have undefined: contents,\nexcept that ",{"type":13,"tag":62,"props":2147,"children":2149},{"className":2148},[],[2150],{"type":18,"value":2128},{"type":18,"value":2130},{"type":13,"tag":62,"props":2153,"children":2155},{"className":2154},[],[2156],{"type":18,"value":2136},{"type":18,"value":2158}," will be unmodified.",{"type":13,"tag":14,"props":2160,"children":2161},{},[2162,2168,2170,2173],{"type":13,"tag":62,"props":2163,"children":2165},{"className":2164},[],[2166],{"type":18,"value":2167},"VK_ERROR_OUT_OF_*_MEMORY",{"type":18,"value":2169}," errors do not modify any currently existing\nVulkan objects.\nObjects that have already been successfully created ",{"type":13,"tag":1507,"props":2171,"children":2172},{"type":1509},[],{"type":18,"value":2174}," still be used by\nthe application.",{"type":13,"tag":1591,"props":2176,"children":2177},{},[2178],{"type":13,"tag":14,"props":2179,"children":2180},{},[2181,2183,2189,2191,2197,2199,2205,2207,2212,2214,2217],{"type":18,"value":2182},"As a general rule, ",{"type":13,"tag":62,"props":2184,"children":2186},{"className":2185},[],[2187],{"type":18,"value":2188},"Free",{"type":18,"value":2190},", ",{"type":13,"tag":62,"props":2192,"children":2194},{"className":2193},[],[2195],{"type":18,"value":2196},"Release",{"type":18,"value":2198},", and ",{"type":13,"tag":62,"props":2200,"children":2202},{"className":2201},[],[2203],{"type":18,"value":2204},"Reset",{"type":18,"value":2206}," commands do\nnot return ",{"type":13,"tag":62,"props":2208,"children":2210},{"className":2209},[],[2211],{"type":18,"value":1623},{"type":18,"value":2213},", while any other command with a\nreturn code ",{"type":13,"tag":1507,"props":2215,"children":2216},{"type":1933},[],{"type":18,"value":2218}," return it.\nAny exceptions from this rule are described for those commands.",{"type":13,"tag":14,"props":2220,"children":2221},{},[2222,2227,2229,2232,2234,2238],{"type":13,"tag":62,"props":2223,"children":2225},{"className":2224},[],[2226],{"type":18,"value":2115},{"type":18,"value":2228}," will be returned by an implementation when an\nunexpected error occurs that cannot be attributed to valid behavior of the\napplication and implementation.\nUnder these conditions, it ",{"type":13,"tag":1507,"props":2230,"children":2231},{"type":1933},[],{"type":18,"value":2233}," be returned from any command returning a\n",{"type":13,"tag":41,"props":2235,"children":2236},{"href":43},[2237],{"type":18,"value":4},{"type":18,"value":2239},".",{"type":13,"tag":1591,"props":2241,"children":2242},{},[2243],{"type":13,"tag":14,"props":2244,"children":2245},{},[2246,2251,2253,2258],{"type":13,"tag":62,"props":2247,"children":2249},{"className":2248},[],[2250],{"type":18,"value":2115},{"type":18,"value":2252}," is not expected to ever be returned if the\napplication behavior is valid, and if the implementation is bug-free.\nIf ",{"type":13,"tag":62,"props":2254,"children":2256},{"className":2255},[],[2257],{"type":18,"value":2115},{"type":18,"value":2259}," is received, the application should be checked\nagainst the latest validation layers to verify correct behavior as much as\npossible.\nIf no issues are identified it could be an implementation issue, and the\nimplementor should be contacted for support.",{"type":13,"tag":14,"props":2261,"children":2262},{},[2263,2265,2269,2270,2273,2275,2280],{"type":18,"value":2264},"Any command returning a ",{"type":13,"tag":41,"props":2266,"children":2267},{"href":43},[2268],{"type":18,"value":4},{"type":18,"value":1862},{"type":13,"tag":1507,"props":2271,"children":2272},{"type":1933},[],{"type":18,"value":2274}," return\n",{"type":13,"tag":62,"props":2276,"children":2278},{"className":2277},[],[2279],{"type":18,"value":1945},{"type":18,"value":2281},"\nif a violation of valid usage is detected, even though commands do not\nexplicitly list this as a possible return code.",{"type":13,"tag":14,"props":2283,"children":2284},{},[2285,2287,2293,2295,2301],{"type":18,"value":2286},"Performance-critical commands generally do not have return codes.\nIf a runtime error occurs in such commands, the implementation will defer\nreporting the error until a specified point.\nFor commands that record into command buffers (",{"type":13,"tag":62,"props":2288,"children":2290},{"className":2289},[],[2291],{"type":18,"value":2292},"vkCmd*",{"type":18,"value":2294},") runtime errors\nare reported by ",{"type":13,"tag":62,"props":2296,"children":2298},{"className":2297},[],[2299],{"type":18,"value":2300},"vkEndCommandBuffer",{"type":18,"value":2239},{"type":13,"tag":2303,"props":2304,"children":2305},"style",{},[2306],{"type":18,"value":2307},"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":59,"searchDepth":90,"depth":90,"links":2309},[],"markdown",1729612478147]